POST api/Place/GetPaymentPlace

Request Information

URI Parameters

None.

Body Parameters

RequestPaymentPlaceModel
NameDescriptionTypeAdditional information
Userid

string

None.

Lat

string

None.

Long

string

None.

ProvCode

string

None.

AmpCode

string

None.

Distance

decimal number

None.

IsOffice

boolean

None.

IsPeaShop

boolean

None.

IsBank

boolean

None.

IsAgent

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Userid": "sample string 1",
  "Lat": "sample string 2",
  "Long": "sample string 3",
  "ProvCode": "sample string 4",
  "AmpCode": "sample string 5",
  "Distance": 6.1,
  "IsOffice": true,
  "IsPeaShop": true,
  "IsBank": true,
  "IsAgent": true
}

application/xml, text/xml

Sample:
<PlaceModels.RequestPaymentPlaceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PlaceModels">
  <AmpCode>sample string 5</AmpCode>
  <Distance>6.1</Distance>
  <IsAgent>true</IsAgent>
  <IsBank>true</IsBank>
  <IsOffice>true</IsOffice>
  <IsPeaShop>true</IsPeaShop>
  <Lat>sample string 2</Lat>
  <Long>sample string 3</Long>
  <ProvCode>sample string 4</ProvCode>
  <Userid>sample string 1</Userid>
</PlaceModels.RequestPaymentPlaceModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfOfficePeaByCodeViewModel
NameDescriptionTypeAdditional information
Data

OfficePeaByCodeViewModel

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",
    "Symbol": "sample string 4",
    "PeaMobileType": "sample string 5",
    "Distance": "sample string 6",
    "DistanceNum": 7.1,
    "Lat": "sample string 8",
    "Long": "sample string 9"
  },
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfPlaceModels.OfficePeaByCodeViewModelb1Dtgrts 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:Distance>sample string 6</d2p1:Distance>
    <d2p1:DistanceNum>7.1</d2p1:DistanceNum>
    <d2p1:Lat>sample string 8</d2p1:Lat>
    <d2p1:Long>sample string 9</d2p1:Long>
    <d2p1:OfficeName>sample string 1</d2p1:OfficeName>
    <d2p1:PeaMobileType>sample string 5</d2p1:PeaMobileType>
    <d2p1:Symbol>sample string 4</d2p1:Symbol>
    <d2p1:Telephone>sample string 3</d2p1:Telephone>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfPlaceModels.OfficePeaByCodeViewModelb1Dtgrts>