GET api/Company/{index}/{rows}?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.

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": "2024-03-28T09:00:01.8386084+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">2024-03-28T09:00:01.8386084+00:00</LastUpdatedTimestamp>
  <Name>sample string 1</Name>
  <TopLevelName>sample string 2</TopLevelName>
</Company>