PUT api/collectionsagentbuildinglinks
Update a CollectionsAgentBuildingLink
Request Information
URI Parameters
None.
Body Parameters
CollectionsAgentBuildingsLinkEditViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Id |
integer |
Required Range: inclusive between 1 and 2147483647 |
AgentId |
AgentId |
integer |
Required Range: inclusive between 1 and 2147483647 |
BuildingId |
BuildingId |
integer |
Required Range: inclusive between 1 and 2147483647 |
StartDate |
StartDate |
date |
Required |
EndDate |
EndDate |
date |
Required |
Description |
Description |
string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
{ "id": 1, "agentId": 2, "buildingId": 3, "startDate": "2025-04-03T17:55:10.5998041-04:00", "endDate": "2025-04-03T17:55:10.5998041-04:00", "description": "sample string 4" }
application/xml, text/xml
<CollectionsAgentBuildingsLinkEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <AgentId>2</AgentId> <BuildingId>3</BuildingId> <Description>sample string 4</Description> <EndDate>2025-04-03T17:55:10.5998041-04:00</EndDate> <Id>1</Id> <StartDate>2025-04-03T17:55:10.5998041-04:00</StartDate> </CollectionsAgentBuildingsLinkEditViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
CollectionsAgentBuildingsLinkEditViewModel
booleanResponse Formats
application/json, text/json
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>