POST api/PowerOutage/GetfeaturesOfficePeaByProvCode
Request Information
URI Parameters
None.
Body Parameters
RequestProvCodeName | Description | Type | Additional information |
---|---|---|---|
ProvCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProvCode": "sample string 1" }
application/xml, text/xml
Sample:
<RequestProvCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PowerOutageModels"> <ProvCode>sample string 1</ProvCode> </RequestProvCode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ResponseGetfeaturesOfficePeaByProvCodeName | Description | Type | Additional information |
---|---|---|---|
OfficeCode | string |
None. |
|
OfficeName1 | string |
None. |
|
OfficeName2 | string |
None. |
|
ProvinceCode | string |
None. |
|
AreaCode | string |
None. |
|
X | string |
None. |
|
Y | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "OfficeCode": "sample string 1", "OfficeName1": "sample string 2", "OfficeName2": "sample string 3", "ProvinceCode": "sample string 4", "AreaCode": "sample string 5", "X": "sample string 6", "Y": "sample string 7" }, { "OfficeCode": "sample string 1", "OfficeName1": "sample string 2", "OfficeName2": "sample string 3", "ProvinceCode": "sample string 4", "AreaCode": "sample string 5", "X": "sample string 6", "Y": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfResponseGetfeaturesOfficePeaByProvCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PowerOutageModels"> <ResponseGetfeaturesOfficePeaByProvCode> <AreaCode>sample string 5</AreaCode> <OfficeCode>sample string 1</OfficeCode> <OfficeName1>sample string 2</OfficeName1> <OfficeName2>sample string 3</OfficeName2> <ProvinceCode>sample string 4</ProvinceCode> <X>sample string 6</X> <Y>sample string 7</Y> </ResponseGetfeaturesOfficePeaByProvCode> <ResponseGetfeaturesOfficePeaByProvCode> <AreaCode>sample string 5</AreaCode> <OfficeCode>sample string 1</OfficeCode> <OfficeName1>sample string 2</OfficeName1> <OfficeName2>sample string 3</OfficeName2> <ProvinceCode>sample string 4</ProvinceCode> <X>sample string 6</X> <Y>sample string 7</Y> </ResponseGetfeaturesOfficePeaByProvCode> </ArrayOfResponseGetfeaturesOfficePeaByProvCode>