POST api/LtDocumentCategories/PostLtDocumentCategory

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": "bdf825f4-1d17-4a8d-a4bc-9280b7696813",
  "CategoryId": 2,
  "LastChanged": "2025-08-14T03:17:11.964312+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>bdf825f4-1d17-4a8d-a4bc-9280b7696813</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:17:11.964312+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": "49a0df0e-2947-4084-b8f2-f5604f93d1c6",
  "CategoryId": 2,
  "LastChanged": "2025-08-14T03:17:11.964312+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>49a0df0e-2947-4084-b8f2-f5604f93d1c6</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:17:11.964312+00:00</LastChanged>
</LtDocumentCategory>