POST api/LtDocumentCompanies/PostLtDocumentCompany

Request Information

URI Parameters

None.

Body Parameters

LtDocumentCompany
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

CompanyId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentId": "1c46fccb-9d5d-4817-8ae6-9d8a2a87a3f9",
  "CompanyId": 2,
  "LastChanged": "2026-04-05T12:45:05.8048626+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CompanyId>2</CompanyId>
  <DocumentId>1c46fccb-9d5d-4817-8ae6-9d8a2a87a3f9</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-04-05T12:45:05.8048626+00:00</LastChanged>
</LtDocumentCompany>

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

Response Information

Resource Description

LtDocumentCompany
NameDescriptionTypeAdditional information
DocumentId

globally unique identifier

None.

CompanyId

integer

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DocumentId": "ee9dc07e-04ee-4afd-9a41-4f5d84bf4e22",
  "CompanyId": 2,
  "LastChanged": "2026-04-05T12:45:05.8048626+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<LtDocumentCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CompanyId>2</CompanyId>
  <DocumentId>ee9dc07e-04ee-4afd-9a41-4f5d84bf4e22</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-04-05T12:45:05.8048626+00:00</LastChanged>
</LtDocumentCompany>