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": "46f63735-a385-478a-a314-2a0085cae07d",
  "SiteId": 2,
  "LastChanged": "2025-08-14T03:16:43.0440788+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>46f63735-a385-478a-a314-2a0085cae07d</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:16:43.0440788+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": "022d1f65-eaa8-42be-8a5e-4e836e4e0bd1",
  "SiteId": 2,
  "LastChanged": "2025-08-14T03:16:43.0440788+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>022d1f65-eaa8-42be-8a5e-4e836e4e0bd1</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:16:43.0440788+00:00</LastChanged>
  <SiteId>2</SiteId>
</LtDocumentSite>