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": "063cc840-ea36-4b69-a77a-683d1703dbf7",
  "LastChanged": "2025-08-14T03:12:15.0582633+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>063cc840-ea36-4b69-a77a-683d1703dbf7</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:12:15.0582633+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": "6d6c0e76-5d81-4b37-871b-6025caadb37c",
  "LastChanged": "2025-08-14T03:12:15.0582633+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>6d6c0e76-5d81-4b37-871b-6025caadb37c</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:12:15.0582633+00:00</LastChanged>
  <PostId>1</PostId>
</LtDocumentPost>