POST api/Place/GetListOfficePeaByCode
Request Information
URI Parameters
None.
Body Parameters
RequestProvCodeAndAmpCodeName | Description | Type | Additional information |
---|---|---|---|
ProvCode | string |
None. |
|
AmpCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProvCode": "sample string 1", "AmpCode": "sample string 2" }
application/xml, text/xml
Sample:
<PlaceModels.RequestProvCodeAndAmpCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PlaceModels"> <AmpCode>sample string 2</AmpCode> <ProvCode>sample string 1</ProvCode> </PlaceModels.RequestProvCodeAndAmpCode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfOfficePeaByCodeModelName | Description | Type | Additional information |
---|---|---|---|
Data | OfficePeaByCodeModel |
None. |
|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "OfficeName": "sample string 1", "Address": "sample string 2", "Telephone": "sample string 3", "Geometry": { "X": "sample string 1", "Y": "sample string 2" } }, "Status": true, "ErrorMessage": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<ResultModelOfPlaceModels.OfficePeaByCodeModelb1Dtgrts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PlaceModels"> <d2p1:Address>sample string 2</d2p1:Address> <d2p1:Geometry> <d2p1:X>sample string 1</d2p1:X> <d2p1:Y>sample string 2</d2p1:Y> </d2p1:Geometry> <d2p1:OfficeName>sample string 1</d2p1:OfficeName> <d2p1:Telephone>sample string 3</d2p1:Telephone> </Data> <ErrorMessage>sample string 2</ErrorMessage> <Message>sample string 3</Message> <Status>true</Status> </ResultModelOfPlaceModels.OfficePeaByCodeModelb1Dtgrts>