GET api/Company?id={id}&clearSession={clearSession}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| clearSession | boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of CompanyLookupViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Selected | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "7e2f1f5d-953f-4f83-9220-d32c91bb1e4a",
"name": "sample string 2",
"selected": true
},
{
"id": "7e2f1f5d-953f-4f83-9220-d32c91bb1e4a",
"name": "sample string 2",
"selected": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCompanyLookupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
<CompanyLookupViewModel>
<Id>7e2f1f5d-953f-4f83-9220-d32c91bb1e4a</Id>
<Name>sample string 2</Name>
<Selected>true</Selected>
</CompanyLookupViewModel>
<CompanyLookupViewModel>
<Id>7e2f1f5d-953f-4f83-9220-d32c91bb1e4a</Id>
<Name>sample string 2</Name>
<Selected>true</Selected>
</CompanyLookupViewModel>
</ArrayOfCompanyLookupViewModel>