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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfOnSiteWebUserDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of OnSiteWebUserDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "MiddleName": "sample string 4",
      "UserId": 5,
      "CareOnSiteLocationId": 1,
      "ValidFlag": true,
      "RoleTitle": "sample string 7",
      "FullName": "sample string 3 sample string 2",
      "CosSubService": "sample string 8",
      "COSSubServiceId": 9
    },
    {
      "Id": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "MiddleName": "sample string 4",
      "UserId": 5,
      "CareOnSiteLocationId": 1,
      "ValidFlag": true,
      "RoleTitle": "sample string 7",
      "FullName": "sample string 3 sample string 2",
      "CosSubService": "sample string 8",
      "COSSubServiceId": 9
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfOnSiteWebUserDTO3NYuOdgi 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:OnSiteWebUserDTO>
      <d2p1:COSSubServiceId>9</d2p1:COSSubServiceId>
      <d2p1:CareOnSiteLocationId>1</d2p1:CareOnSiteLocationId>
      <d2p1:CosSubService>sample string 8</d2p1:CosSubService>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LastName>sample string 2</d2p1:LastName>
      <d2p1:MiddleName>sample string 4</d2p1:MiddleName>
      <d2p1:RoleTitle>sample string 7</d2p1:RoleTitle>
      <d2p1:UserId>5</d2p1:UserId>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
    </d2p1:OnSiteWebUserDTO>
    <d2p1:OnSiteWebUserDTO>
      <d2p1:COSSubServiceId>9</d2p1:COSSubServiceId>
      <d2p1:CareOnSiteLocationId>1</d2p1:CareOnSiteLocationId>
      <d2p1:CosSubService>sample string 8</d2p1:CosSubService>
      <d2p1:FirstName>sample string 3</d2p1:FirstName>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:LastName>sample string 2</d2p1:LastName>
      <d2p1:MiddleName>sample string 4</d2p1:MiddleName>
      <d2p1:RoleTitle>sample string 7</d2p1:RoleTitle>
      <d2p1:UserId>5</d2p1:UserId>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
    </d2p1:OnSiteWebUserDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfOnSiteWebUserDTO3NYuOdgi>