GET api/Companies/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CompanyName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
vendorID | string |
None. |
|
companyName | string |
Required String length: inclusive between 0 and 150 |
|
contractStatus | string |
String length: inclusive between 0 and 20 |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "vendorID": "sample string 1", "companyName": "sample string 2", "contractStatus": "sample string 3" }
application/xml, text/xml
Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMAUtilityAPI.Entity"> <ID>1</ID> <companyName>sample string 2</companyName> <contractStatus>sample string 3</contractStatus> <vendorID>sample string 1</vendorID> </Company>