PUT api/v1/Agents/{AgentID}/Networks/{id}

Update a AgentNetwork

Request Information

Parameters

NameDescriptionAdditional information
agentNetworkDTO

Define this parameter in the request body.

AgentID

Define this parameter in the request URI.

id

Define this parameter in the request URI.

Request body formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "TheID": 1,
  "Network": {
    "Code": "sample string 2",
    "Name": "sample string 2 - sample string 3"
  },
  "RefNumber": "sample string 3",
  "ValidFrom": "2025-04-24T12:41:19.8638033Z",
  "ValidTo": "2025-04-24T12:41:19.8638033Z"
}

application/xml, text/xml

Sample:
<AgentNetworkDTO>
  <TheID>1</TheID>
  <Network>
    <Code>sample string 2</Code>
    <Name>sample string 2 - sample string 3</Name>
  </Network>
  <RefNumber>sample string 3</RefNumber>
  <ValidFrom>2025-04-24T12:41:19.8638033+00:00</ValidFrom>
  <ValidTo>2025-04-24T12:41:19.8638033+00:00</ValidTo>
</AgentNetworkDTO>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "TheID": 1,
  "Network": {
    "Code": "sample string 2",
    "Name": "sample string 2 - sample string 3"
  },
  "RefNumber": "sample string 3",
  "ValidFrom": "2025-04-24T12:41:19.8794284Z",
  "ValidTo": "2025-04-24T12:41:19.8794284Z"
}

application/xml, text/xml

Sample:
<AgentNetworkDTO>
  <TheID>1</TheID>
  <Network>
    <Code>sample string 2</Code>
    <Name>sample string 2 - sample string 3</Name>
  </Network>
  <RefNumber>sample string 3</RefNumber>
  <ValidFrom>2025-04-24T12:41:19.8794284+00:00</ValidFrom>
  <ValidTo>2025-04-24T12:41:19.8794284+00:00</ValidTo>
</AgentNetworkDTO>