GET api/ServiceLocationPrice/GetServiceOnSiteLocation?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfServiceOnSiteLocationDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of ServiceOnSiteLocationDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Address1": "sample string 3",
      "Address2": "sample string 4",
      "City": "sample string 5",
      "State": "sample string 6",
      "ZipCode": "sample string 7",
      "Country": "sample string 8",
      "Email": "sample string 9",
      "FullAddress": "sample string 3 sample string 4, sample string 5, sample string 6, sample string 7, sample string 8",
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:18:25.9699163-07:00",
      "DateUpdated": "2025-04-03T19:18:25.9699163-07:00",
      "UserIDCreated": 13,
      "UserIDUpdated": 14
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Address1": "sample string 3",
      "Address2": "sample string 4",
      "City": "sample string 5",
      "State": "sample string 6",
      "ZipCode": "sample string 7",
      "Country": "sample string 8",
      "Email": "sample string 9",
      "FullAddress": "sample string 3 sample string 4, sample string 5, sample string 6, sample string 7, sample string 8",
      "ValidFlag": true,
      "DateCreated": "2025-04-03T19:18:25.9699163-07:00",
      "DateUpdated": "2025-04-03T19:18:25.9699163-07:00",
      "UserIDCreated": 13,
      "UserIDUpdated": 14
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfServiceOnSiteLocationDTOiHWKYZHo 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.DTO.COSBilling">
    <d2p1:ServiceOnSiteLocationDTO>
      <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:18:25.9699163-07:00</DateCreated>
      <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:18:25.9699163-07:00</DateUpdated>
      <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDCreated>
      <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">14</UserIDUpdated>
      <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
      <d2p1:Address1>sample string 3</d2p1:Address1>
      <d2p1:Address2>sample string 4</d2p1:Address2>
      <d2p1:City>sample string 5</d2p1:City>
      <d2p1:Country>sample string 8</d2p1:Country>
      <d2p1:Email>sample string 9</d2p1:Email>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:State>sample string 6</d2p1:State>
      <d2p1:ZipCode>sample string 7</d2p1:ZipCode>
    </d2p1:ServiceOnSiteLocationDTO>
    <d2p1:ServiceOnSiteLocationDTO>
      <DateCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:18:25.9699163-07:00</DateCreated>
      <DateUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">2025-04-03T19:18:25.9699163-07:00</DateUpdated>
      <UserIDCreated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">13</UserIDCreated>
      <UserIDUpdated xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">14</UserIDUpdated>
      <ValidFlag xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">true</ValidFlag>
      <d2p1:Address1>sample string 3</d2p1:Address1>
      <d2p1:Address2>sample string 4</d2p1:Address2>
      <d2p1:City>sample string 5</d2p1:City>
      <d2p1:Country>sample string 8</d2p1:Country>
      <d2p1:Email>sample string 9</d2p1:Email>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:State>sample string 6</d2p1:State>
      <d2p1:ZipCode>sample string 7</d2p1:ZipCode>
    </d2p1:ServiceOnSiteLocationDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfServiceOnSiteLocationDTOiHWKYZHo>