POST api/property/{id}/specialarrangements/add

Add special arrangements for a property Processes this property API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The property id

integer

Required

Body Parameters

A collection of arrangements codes to add

Collection of PropertySpecialArrangementAddDataContract
NameDescriptionTypeAdditional information
Type

The type value.

EnumDataContract

None.

Text

The text value.

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

The response returned after the operation completes.

Collection of SpecialArrangementDataContract
NameDescriptionTypeAdditional information
Text

The text value.

string

None.

SpecialArrangementType

The special arrangement type value.

EnumDataContract

None.

ApplicableToGroupIds

The unique identifiers of the related applicable to group resources.

Collection of integer

None.

Id

The unique identifier of this resource.

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
  }
]