POST api/resources/GetCompanyDetail
Request Information
URI Parameters
None.
Body Parameters
BaseRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Language | string |
None. |
|
| IP | string |
None. |
|
| CompID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Language": "sample string 1",
"IP": "sample string 2",
"CompID": "sample string 3"
}
application/xml, text/xml
Sample:
<BaseRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel"> <CompID>sample string 3</CompID> <IP>sample string 2</IP> <Language>sample string 1</Language> </BaseRequestViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CompanyDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| CompName | string |
None. |
|
| CompAddress | string |
None. |
|
| CompAdd1 | string |
None. |
|
| CompAdd2 | string |
None. |
|
| CompAdd3 | string |
None. |
|
| CompPostCode | string |
None. |
|
| CompCountry | string |
None. |
|
| CompTel | string |
None. |
|
| CompEmail | string |
None. |
|
| CompWebSite | string |
None. |
|
| CompLogo | string |
None. |
|
| CompID | string |
None. |
|
| Lat | decimal number |
None. |
|
| Long | decimal number |
None. |
|
| TaxID | string |
None. |
|
| Slug | string |
None. |
|
| CompFax | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CompName": "sample string 1",
"CompAddress": "sample string 2",
"CompAdd1": "sample string 3",
"CompAdd2": "sample string 4",
"CompAdd3": "sample string 5",
"CompPostCode": "sample string 6",
"CompCountry": "sample string 7",
"CompTel": "sample string 8",
"CompEmail": "sample string 9",
"CompWebSite": "sample string 10",
"CompLogo": "sample string 11",
"CompID": "sample string 12",
"Lat": 1.1,
"Long": 1.1,
"TaxID": "sample string 13",
"Slug": "sample string 14",
"CompFax": "sample string 15"
}
application/xml, text/xml
Sample:
<CompanyDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel.Invoice"> <CompAdd1>sample string 3</CompAdd1> <CompAdd2>sample string 4</CompAdd2> <CompAdd3>sample string 5</CompAdd3> <CompAddress>sample string 2</CompAddress> <CompCountry>sample string 7</CompCountry> <CompEmail>sample string 9</CompEmail> <CompFax>sample string 15</CompFax> <CompID>sample string 12</CompID> <CompLogo>sample string 11</CompLogo> <CompName>sample string 1</CompName> <CompPostCode>sample string 6</CompPostCode> <CompTel>sample string 8</CompTel> <CompWebSite>sample string 10</CompWebSite> <Lat>1.1</Lat> <Long>1.1</Long> <Slug>sample string 14</Slug> <TaxID>sample string 13</TaxID> </CompanyDetail>