POST api/LtDocumentCategories

Request Information

URI Parameters

None.

Body Parameters

LtDocumentCategory
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

CategoryId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentId": "4f4b4bd8-834a-4d44-9b8b-f28670c0eab2",
  "CategoryId": 2,
  "LastChanged": "2026-02-21T06:41:07.5732972+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CategoryId>2</CategoryId>
  <DocumentId>4f4b4bd8-834a-4d44-9b8b-f28670c0eab2</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-21T06:41:07.5732972+00:00</LastChanged>
</LtDocumentCategory>

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

Response Information

Resource Description

LtDocumentCategory
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

CategoryId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DocumentId": "cafb6a8a-9d59-4ba4-9a3a-5af608ce5353",
  "CategoryId": 2,
  "LastChanged": "2026-02-21T06:41:07.5888684+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CategoryId>2</CategoryId>
  <DocumentId>cafb6a8a-9d59-4ba4-9a3a-5af608ce5353</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-21T06:41:07.5888684+00:00</LastChanged>
</LtDocumentCategory>