PUT api/collectionsbuildingpolicies
Update a CollectionsBuildingPolicy
Request Information
URI Parameters
None.
Body Parameters
CollectionsBuildingPolicyEditViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Building Policy Id |
integer |
Required Range: inclusive between 0 and 2147483647 |
Name |
Name |
string |
Required Max length: 50 |
Description |
Description |
string |
Max length: 100 |
StartDate |
StartDate |
date |
Required |
EndDate |
EndDate |
date |
Required |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "description": "sample string 3", "startDate": "2025-04-03T17:52:14.8303426-04:00", "endDate": "2025-04-03T17:52:14.8303426-04:00" }
application/xml, text/xml
Sample:
<CollectionsBuildingPolicyEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <Description>sample string 3</Description> <EndDate>2025-04-03T17:52:14.8303426-04:00</EndDate> <Id>1</Id> <Name>sample string 2</Name> <StartDate>2025-04-03T17:52:14.8303426-04:00</StartDate> </CollectionsBuildingPolicyEditViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CollectionsBuildingPolicyViewModel
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>