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": "755a40a4-2f33-4964-9be4-b7b03a9c4ed3",
"name": "sample string 2",
"selected": true
},
{
"id": "755a40a4-2f33-4964-9be4-b7b03a9c4ed3",
"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>755a40a4-2f33-4964-9be4-b7b03a9c4ed3</Id>
<Name>sample string 2</Name>
<Selected>true</Selected>
</CompanyLookupViewModel>
<CompanyLookupViewModel>
<Id>755a40a4-2f33-4964-9be4-b7b03a9c4ed3</Id>
<Name>sample string 2</Name>
<Selected>true</Selected>
</CompanyLookupViewModel>
</ArrayOfCompanyLookupViewModel>