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": "5f96dbe6-f078-4ca2-a9af-5eb16771e3cf",
  "CompanyId": 2,
  "LastChanged": "2025-08-14T03:15:18.8309492+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>5f96dbe6-f078-4ca2-a9af-5eb16771e3cf</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:15:18.8309492+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": "d1e348f9-b7c0-4b43-ae4f-7eb77eec1ecb",
  "CompanyId": 2,
  "LastChanged": "2025-08-14T03:15:18.8309492+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>d1e348f9-b7c0-4b43-ae4f-7eb77eec1ecb</DocumentId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:15:18.8309492+00:00</LastChanged>
</LtDocumentCompany>