POST api/progression/lettings/{id}/createtenantrole?groupId={groupId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

groupId

integer

Required

Body Parameters

CreateTenantRoleDataContract
NameDescriptionTypeAdditional information
DateTime

date

None.

NegotiatorIds

Collection of integer

None.

TenancyType

EnumDataContract

None.

NoticePeriodType

EnumDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "DateTime": "2018-11-14T23:58:45.5147081Z",
  "NegotiatorIds": [
    1,
    2
  ],
  "TenancyType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "NoticePeriodType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  }
}

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 'CreateTenantRoleDataContract'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1