POST api/tenancy/endtenancy

End Tenancy. Processes this tenancy API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The end tenancy command data contract supplied with the request.

EndTenancyCommandDataContract
NameDescriptionTypeAdditional information
RoleId

The unique identifier of the related role resource.

integer

None.

EndDateTime

The end date time, expressed as a date and time.

date

None.

Note

The note value.

string

None.

NegotiatorIds

The unique identifiers of the related negotiator resources.

Collection of integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "RoleId": 1,
  "EndDateTime": "2026-07-23T08:15:14.4245441Z",
  "Note": "sample string 3",
  "NegotiatorIds": [
    1,
    2
  ]
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.