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": "a884a531-b5d4-40f5-b62f-4a8c40677ad7",
  "LastChanged": "2025-12-28T06:34:59.5670966+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>a884a531-b5d4-40f5-b62f-4a8c40677ad7</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-12-28T06:34:59.5670966+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": "5cfd1bf2-7364-494a-b828-0538a30c8fa9",
  "LastChanged": "2025-12-28T06:34:59.5670966+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>5cfd1bf2-7364-494a-b828-0538a30c8fa9</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-12-28T06:34:59.5670966+00:00</LastChanged>
  <PostId>1</PostId>
</LtDocumentPost>