PUT api/collectionsapproval/save
Request Information
URI Parameters
None.
Body Parameters
EntityApprovalRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RunFor |
Run For |
date |
Required |
| EntityId |
Entity Id |
integer |
Required |
| Stages |
Residents |
Collection of StageApprovalViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"runFor": "2025-10-29T04:44:30.4575819-04:00",
"entityId": 2,
"stages": [
{
"stageId": 1,
"residentActionExceptions": {
"1": [
1,
2
],
"2": [
1,
2
]
}
},
{
"stageId": 1,
"residentActionExceptions": {
"1": [
1,
2
],
"2": [
1,
2
]
}
}
]
}
application/xml, text/xml
Sample:
<EntityApprovalRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Host.Shared.ViewModels.Collections.Execution">
<EntityId>2</EntityId>
<RunFor>2025-10-29T04:44:30.4575819-04:00</RunFor>
<Stages>
<StageApprovalViewModel>
<ResidentActionExceptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfintArrayOfintty7Ep6D1>
<d4p1:Key>1</d4p1:Key>
<d4p1:Value>
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d4p1:Value>
</d4p1:KeyValueOfintArrayOfintty7Ep6D1>
<d4p1:KeyValueOfintArrayOfintty7Ep6D1>
<d4p1:Key>2</d4p1:Key>
<d4p1:Value>
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d4p1:Value>
</d4p1:KeyValueOfintArrayOfintty7Ep6D1>
</ResidentActionExceptions>
<StageId>1</StageId>
</StageApprovalViewModel>
<StageApprovalViewModel>
<ResidentActionExceptions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfintArrayOfintty7Ep6D1>
<d4p1:Key>1</d4p1:Key>
<d4p1:Value>
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d4p1:Value>
</d4p1:KeyValueOfintArrayOfintty7Ep6D1>
<d4p1:KeyValueOfintArrayOfintty7Ep6D1>
<d4p1:Key>2</d4p1:Key>
<d4p1:Value>
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</d4p1:Value>
</d4p1:KeyValueOfintArrayOfintty7Ep6D1>
</ResidentActionExceptions>
<StageId>1</StageId>
</StageApprovalViewModel>
</Stages>
</EntityApprovalRequestViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.