GET api/Company/{index}/{rows}/{field}/{order}?id={id}

Returns a company by the company Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The the id of the company

integer

Required

index

string

None.

rows

string

None.

field

string

None.

order

string

None.

Body Parameters

None.

Response Information

Resource Description

Company
NameDescriptionTypeAdditional information
Name

string

None.

TopLevelName

string

None.

Id

integer

None.

LastUpdatedTimestamp

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "TopLevelName": "sample string 2",
  "Id": 3,
  "LastUpdatedTimestamp": "2018-11-21T14:05:23.9441203+00:00"
}

text/xml

Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models.ViewModels">
  <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">3</Id>
  <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-21T14:05:23.9441203+00:00</LastUpdatedTimestamp>
  <Name>sample string 1</Name>
  <TopLevelName>sample string 2</TopLevelName>
</Company>