POST api/LtDocumentPosts

Request Information

URI Parameters

None.

Body Parameters

LtDocumentPost
NameDescriptionTypeAdditional information
PostId

integer

None.

DocumentId

globally unique identifier

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PostId": 1,
  "DocumentId": "64b15bdd-bc2c-44e8-8545-dfaf1f05d149",
  "LastChanged": "2026-08-18T15:16:16.7824721+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <DocumentId>64b15bdd-bc2c-44e8-8545-dfaf1f05d149</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-08-18T15:16:16.7824721+00:00</LastChanged>
  <PostId>1</PostId>
</LtDocumentPost>

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

Response Information

Resource Description

LtDocumentPost
NameDescriptionTypeAdditional information
PostId

integer

None.

DocumentId

globally unique identifier

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PostId": 1,
  "DocumentId": "34ff9ac9-371a-43ca-ba1d-f592241a8a75",
  "LastChanged": "2026-08-18T15:16:16.7824721+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <DocumentId>34ff9ac9-371a-43ca-ba1d-f592241a8a75</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-08-18T15:16:16.7824721+00:00</LastChanged>
  <PostId>1</PostId>
</LtDocumentPost>