POST api/tenancy/{id}/signdocument

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Lettings.Command.SetDocumentSignedDataContract
NameDescriptionTypeAdditional information
DocumentId

integer

None.

Context

Dezrez.Core.DataContracts.External.Api.Lettings.Command.SignDocumentType

None.

PersonId

integer

None.

Signed

boolean

None.

SignedDate

date

None.

GroupId

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

application/json, text/json

Sample:
{
  "DocumentId": 1,
  "Context": 0,
  "PersonId": 2,
  "Signed": true,
  "SignedDate": "2024-04-26T01:23:24.2325363Z",
  "GroupId": 1
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.