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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of PropertySpecialArrangementAddDataContract
NameDescriptionTypeAdditional information
Type

EnumDataContract

None.

Text

string

None.

Request Formats

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

Response Information

Resource Description

Collection of SpecialArrangementDataContract
NameDescriptionTypeAdditional information
Text

string

None.

SpecialArrangementType

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