POST api/progression/lettings/assignguarantortotenant?id={id}
Assign guarantor to a tenant and vice versa
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the tenant role |
integer |
Required |
Body Parameters
The data contract
Dezrez.Core.DataContracts.External.Api.Events.Progression.Command.AssignGuarantorToTenantCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
GuarantorGroupId | integer |
None. |
|
Relationship | string |
None. |
|
TenantIds | Collection of integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "GuarantorGroupId": 1, "Relationship": "sample string 2", "TenantIds": [ 1, 2 ] }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |