GET api/OnSiteLocation/GetDefaultLocation?q={q}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| q | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AsapResponseOfDefaultLocationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | DefaultLocationDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"LocationSelection": 1,
"ServiceLocation": 1,
"CompanyCode": "sample string 1"
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfDefaultLocationDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
<d2p1:LocationSelection>1</d2p1:LocationSelection>
<d2p1:ServiceLocation>1</d2p1:ServiceLocation>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfDefaultLocationDTO3NYuOdgi>