GET api/Company/{index}/{rows}/{field}/{order}?id={id}
Returns a company by the company Id
Request Information
URI Parameters
Name | Description | Type | Additional 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
CompanyName | Description | Type | Additional 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-29T08:07:58.2782366+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-29T08:07:58.2782366+00:00</LastUpdatedTimestamp> <Name>sample string 1</Name> <TopLevelName>sample string 2</TopLevelName> </Company>