POST api/property/{id}/specialarrangements/add
Add special arrangements for a property
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The property id |
integer |
Required |
Body Parameters
A collection of arrangements codes to add
Collection of Dezrez.Core.DataContracts.External.Api.Property.Command.AddSpecialArrangement.PropertySpecialArrangementAddDataContractName | Description | Type | Additional information |
---|---|---|---|
Type | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Text | string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
[ { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Text": "sample string 1" }, { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Text": "sample string 1" } ]
Response Information
Resource Description
Collection of Dezrez.Core.DataContracts.External.Api.SpecialArrangements.Query.SpecialArrangementDataContractName | Description | Type | Additional information |
---|---|---|---|
Text | string |
None. |
|
SpecialArrangementType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
ApplicableToGroupIds | Collection of integer |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Text": "sample string 1", "SpecialArrangementType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "ApplicableToGroupIds": [ 1, 2 ], "Id": 2 }, { "Text": "sample string 1", "SpecialArrangementType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "ApplicableToGroupIds": [ 1, 2 ], "Id": 2 } ]