POST api/LtDocumentPosts/PostLtDocumentPost

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": "b54e2cc1-cdd8-4f34-b0b8-5c5bd80a7318",
  "LastChanged": "2026-08-20T20:51:12.236703+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>b54e2cc1-cdd8-4f34-b0b8-5c5bd80a7318</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-08-20T20:51:12.236703+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": "63233354-b3b3-4a2b-98c4-702fc615ac1c",
  "LastChanged": "2026-08-20T20:51:12.2523101+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>63233354-b3b3-4a2b-98c4-702fc615ac1c</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-08-20T20:51:12.2523101+00:00</LastChanged>
  <PostId>1</PostId>
</LtDocumentPost>