POST api/progression/lettings/assignguarantortotenant?id={id}

Assign guarantor to a tenant and vice versa

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the tenant role

integer

Required

Body Parameters

The data contract

Dezrez.Core.DataContracts.External.Api.Events.Progression.Command.AssignGuarantorToTenantCommandDataContract
NameDescriptionTypeAdditional information
GuarantorGroupId

integer

None.

Relationship

string

None.

TenantIds

Collection of integer

None.

Request Formats

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

application/json, text/json

Sample:
{
  "GuarantorGroupId": 1,
  "Relationship": "sample string 2",
  "TenantIds": [
    1,
    2
  ]
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.