GET api/Company?token={token}&companyId={companyId}
get a particular company
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| token | generated token on login |
Define this parameter in the request URI. |
| companyId | company id |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"ID": 1,
"Companyname": "sample string 2"
}
application/xml, text/xml
Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PardDriverWebService.Models"> <Companyname>sample string 2</Companyname> <ID>1</ID> </Company>