PUT api/v1/Agents/{AgentID}/Networks/{id}
Update a AgentNetwork
Request Information
Parameters
| Name | Description | Additional 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-11-04T02:19:48.484913Z",
  "ValidTo": "2025-11-04T02:19:48.484913Z"
}
        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-11-04T02:19:48.484913+00:00</ValidFrom>
  <ValidTo>2025-11-04T02:19:48.484913+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-11-04T02:19:48.484913Z",
  "ValidTo": "2025-11-04T02:19:48.484913Z"
}
        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-11-04T02:19:48.484913+00:00</ValidFrom>
  <ValidTo>2025-11-04T02:19:48.484913+00:00</ValidTo>
</AgentNetworkDTO>