GET api/CareOnsiteClinic/GetCareOnSiteLocationWorkLocation?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfOnSiteWorkLocationDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of OnSiteWorkLocationDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "WorkLocationCode": "sample string 2",
      "WorkLocationName": "sample string 3",
      "WorkLocationShortName": "sample string 4",
      "CareOnSiteLocationId": 5,
      "ValidFlag": true
    },
    {
      "Id": 1,
      "WorkLocationCode": "sample string 2",
      "WorkLocationName": "sample string 3",
      "WorkLocationShortName": "sample string 4",
      "CareOnSiteLocationId": 5,
      "ValidFlag": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfOnSiteWorkLocationDTO3NYuOdgi 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:OnSiteWorkLocationDTO>
      <d2p1:CareOnSiteLocationId>5</d2p1:CareOnSiteLocationId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:WorkLocationCode>sample string 2</d2p1:WorkLocationCode>
      <d2p1:WorkLocationName>sample string 3</d2p1:WorkLocationName>
      <d2p1:WorkLocationShortName>sample string 4</d2p1:WorkLocationShortName>
    </d2p1:OnSiteWorkLocationDTO>
    <d2p1:OnSiteWorkLocationDTO>
      <d2p1:CareOnSiteLocationId>5</d2p1:CareOnSiteLocationId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:WorkLocationCode>sample string 2</d2p1:WorkLocationCode>
      <d2p1:WorkLocationName>sample string 3</d2p1:WorkLocationName>
      <d2p1:WorkLocationShortName>sample string 4</d2p1:WorkLocationShortName>
    </d2p1:OnSiteWorkLocationDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfOnSiteWorkLocationDTO3NYuOdgi>