POST api/LtDocumentSite

Request Information

URI Parameters

None.

Body Parameters

LtDocumentSite
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

SiteId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentId": "b59413cd-4af0-4f65-b9fd-c0ba18032203",
  "SiteId": 2,
  "LastChanged": "2026-02-22T04:58:38.3494709+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <DocumentId>b59413cd-4af0-4f65-b9fd-c0ba18032203</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-22T04:58:38.3494709+00:00</LastChanged>
  <SiteId>2</SiteId>
</LtDocumentSite>

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

Response Information

Resource Description

LtDocumentSite
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

SiteId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DocumentId": "a0e01a06-d28e-4ab9-8483-c54f9f13347a",
  "SiteId": 2,
  "LastChanged": "2026-02-22T04:58:38.3494709+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <DocumentId>a0e01a06-d28e-4ab9-8483-c54f9f13347a</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-22T04:58:38.3494709+00:00</LastChanged>
  <SiteId>2</SiteId>
</LtDocumentSite>