GET api/ServiceCenter/Search?ProvinceId={ProvinceId}&CityId={CityId}&ServiceCenterType={ServiceCenterType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProvinceId

integer

None.

CityId

integer

None.

ServiceCenterType

byte

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ServiceCenterModel
NameDescriptionTypeAdditional information
Id

integer

None.

ProvinceId

byte

None.

Province

string

None.

CityId

integer

None.

City

string

None.

IsServiceCenter

boolean

None.

ShopName

string

None.

Address

string

None.

Email

string

None.

PhoneNumber

string

None.

OperatingHours

string

None.

CreatedBy

string

None.

ModifiedBy

string

None.

Latitude

string

None.

Longitude

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProvinceId": 64,
    "Province": "sample string 3",
    "CityId": 4,
    "City": "sample string 5",
    "IsServiceCenter": true,
    "ShopName": "sample string 7",
    "Address": "sample string 8",
    "Email": "sample string 9",
    "PhoneNumber": "sample string 10",
    "OperatingHours": "sample string 11",
    "CreatedBy": "sample string 12",
    "ModifiedBy": "sample string 13",
    "Latitude": "sample string 14",
    "Longitude": "sample string 15"
  },
  {
    "Id": 1,
    "ProvinceId": 64,
    "Province": "sample string 3",
    "CityId": 4,
    "City": "sample string 5",
    "IsServiceCenter": true,
    "ShopName": "sample string 7",
    "Address": "sample string 8",
    "Email": "sample string 9",
    "PhoneNumber": "sample string 10",
    "OperatingHours": "sample string 11",
    "CreatedBy": "sample string 12",
    "ModifiedBy": "sample string 13",
    "Latitude": "sample string 14",
    "Longitude": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceCenterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.ServiceCenters">
  <ServiceCenterModel>
    <Address>sample string 8</Address>
    <City>sample string 5</City>
    <CityId>4</CityId>
    <CreatedBy>sample string 12</CreatedBy>
    <Email>sample string 9</Email>
    <Id>1</Id>
    <IsServiceCenter>true</IsServiceCenter>
    <Latitude>sample string 14</Latitude>
    <Longitude>sample string 15</Longitude>
    <ModifiedBy>sample string 13</ModifiedBy>
    <OperatingHours>sample string 11</OperatingHours>
    <PhoneNumber>sample string 10</PhoneNumber>
    <Province>sample string 3</Province>
    <ProvinceId>64</ProvinceId>
    <ShopName>sample string 7</ShopName>
  </ServiceCenterModel>
  <ServiceCenterModel>
    <Address>sample string 8</Address>
    <City>sample string 5</City>
    <CityId>4</CityId>
    <CreatedBy>sample string 12</CreatedBy>
    <Email>sample string 9</Email>
    <Id>1</Id>
    <IsServiceCenter>true</IsServiceCenter>
    <Latitude>sample string 14</Latitude>
    <Longitude>sample string 15</Longitude>
    <ModifiedBy>sample string 13</ModifiedBy>
    <OperatingHours>sample string 11</OperatingHours>
    <PhoneNumber>sample string 10</PhoneNumber>
    <Province>sample string 3</Province>
    <ProvinceId>64</ProvinceId>
    <ShopName>sample string 7</ShopName>
  </ServiceCenterModel>
</ArrayOfServiceCenterModel>