POST api/LtDocumentCompanies

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": "806bf000-39d8-4985-a2bd-4d06a4e557d7",
  "CompanyId": 2,
  "LastChanged": "2026-02-22T17:47:23.0573485+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>806bf000-39d8-4985-a2bd-4d06a4e557d7</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-22T17:47:23.0573485+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": "245906f7-8a59-43e9-bd5d-27e2924ed637",
  "CompanyId": 2,
  "LastChanged": "2026-02-22T17:47:23.072973+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>245906f7-8a59-43e9-bd5d-27e2924ed637</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2026-02-22T17:47:23.072973+00:00</LastChanged>
</LtDocumentCompany>