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
AssignGuarantorToTenantCommandDataContract| Name | 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
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |