GET api/NTCommonOrder/GetOnsiteLocationByOrder?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfOrderOnSiteLocationDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of OrderOnSiteLocationDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "CompanyCode": "sample string 3",
      "Address1": "sample string 4",
      "Address2": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "ZipCode": "sample string 8",
      "Country": "sample string 9",
      "PhoneNumber1": "sample string 10",
      "PhoneNumber2": "sample string 11",
      "Fax": "sample string 12",
      "Email": "sample string 13",
      "ValidFlag": true,
      "WLCode": "sample string 15",
      "FullAddress": "sample string 4 sample string 5, sample string 6, sample string 7, sample string 8, sample string 9",
      "IsCOSOn": true,
      "IsOnsiteServiceOn": true,
      "OrderTypeId": 18,
      "TimeZone": 1,
      "OnSiteOrderLocationValidFlag": true,
      "OrderCategoryId": 20
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "CompanyCode": "sample string 3",
      "Address1": "sample string 4",
      "Address2": "sample string 5",
      "City": "sample string 6",
      "State": "sample string 7",
      "ZipCode": "sample string 8",
      "Country": "sample string 9",
      "PhoneNumber1": "sample string 10",
      "PhoneNumber2": "sample string 11",
      "Fax": "sample string 12",
      "Email": "sample string 13",
      "ValidFlag": true,
      "WLCode": "sample string 15",
      "FullAddress": "sample string 4 sample string 5, sample string 6, sample string 7, sample string 8, sample string 9",
      "IsCOSOn": true,
      "IsOnsiteServiceOn": true,
      "OrderTypeId": 18,
      "TimeZone": 1,
      "OnSiteOrderLocationValidFlag": true,
      "OrderCategoryId": 20
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfOrderOnSiteLocationDTOq_PWKlXmP 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.NurseTriage.Order">
    <d2p1:OrderOnSiteLocationDTO>
      <d2p1:Address1>sample string 4</d2p1:Address1>
      <d2p1:Address2>sample string 5</d2p1:Address2>
      <d2p1:City>sample string 6</d2p1:City>
      <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode>
      <d2p1:Country>sample string 9</d2p1:Country>
      <d2p1:Email>sample string 13</d2p1:Email>
      <d2p1:Fax>sample string 12</d2p1:Fax>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsCOSOn>true</d2p1:IsCOSOn>
      <d2p1:IsOnsiteServiceOn>true</d2p1:IsOnsiteServiceOn>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:OnSiteOrderLocationValidFlag>true</d2p1:OnSiteOrderLocationValidFlag>
      <d2p1:OrderCategoryId>20</d2p1:OrderCategoryId>
      <d2p1:OrderTypeId>18</d2p1:OrderTypeId>
      <d2p1:PhoneNumber1>sample string 10</d2p1:PhoneNumber1>
      <d2p1:PhoneNumber2>sample string 11</d2p1:PhoneNumber2>
      <d2p1:State>sample string 7</d2p1:State>
      <d2p1:TimeZone>1</d2p1:TimeZone>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:WLCode>sample string 15</d2p1:WLCode>
      <d2p1:ZipCode>sample string 8</d2p1:ZipCode>
    </d2p1:OrderOnSiteLocationDTO>
    <d2p1:OrderOnSiteLocationDTO>
      <d2p1:Address1>sample string 4</d2p1:Address1>
      <d2p1:Address2>sample string 5</d2p1:Address2>
      <d2p1:City>sample string 6</d2p1:City>
      <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode>
      <d2p1:Country>sample string 9</d2p1:Country>
      <d2p1:Email>sample string 13</d2p1:Email>
      <d2p1:Fax>sample string 12</d2p1:Fax>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsCOSOn>true</d2p1:IsCOSOn>
      <d2p1:IsOnsiteServiceOn>true</d2p1:IsOnsiteServiceOn>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:OnSiteOrderLocationValidFlag>true</d2p1:OnSiteOrderLocationValidFlag>
      <d2p1:OrderCategoryId>20</d2p1:OrderCategoryId>
      <d2p1:OrderTypeId>18</d2p1:OrderTypeId>
      <d2p1:PhoneNumber1>sample string 10</d2p1:PhoneNumber1>
      <d2p1:PhoneNumber2>sample string 11</d2p1:PhoneNumber2>
      <d2p1:State>sample string 7</d2p1:State>
      <d2p1:TimeZone>1</d2p1:TimeZone>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:WLCode>sample string 15</d2p1:WLCode>
      <d2p1:ZipCode>sample string 8</d2p1:ZipCode>
    </d2p1:OrderOnSiteLocationDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfOrderOnSiteLocationDTOq_PWKlXmP>