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": "66d79824-c8fd-435d-9df4-d526546bf476",
  "LastChanged": "2025-08-14T03:12:08.2319351+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>66d79824-c8fd-435d-9df4-d526546bf476</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:12:08.2319351+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": "ec8ecaa4-f5af-46b0-9217-ce40244982a6",
  "LastChanged": "2025-08-14T03:12:08.2319351+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>ec8ecaa4-f5af-46b0-9217-ce40244982a6</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:12:08.2319351+00:00</LastChanged>
  <PostId>1</PostId>
</LtDocumentPost>