POST api/VOC/GetListOfficePea
Request Information
URI Parameters
None.
Body Parameters
RequestProvinceId| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| ProvinceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"ProvinceId": "sample string 2"
}
application/xml, text/xml
Sample:
<VOCModels.RequestProvinceId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.VOCModels"> <ProvinceId>sample string 2</ProvinceId> <UserId>sample string 1</UserId> </VOCModels.RequestProvinceId>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfListOfOfficePeaView| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of OfficePeaView |
None. |
|
| Status | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"PeaCode": "sample string 1",
"PeaFullName": "sample string 2",
"PeaShortName": "sample string 3"
},
{
"PeaCode": "sample string 1",
"PeaFullName": "sample string 2",
"PeaShortName": "sample string 3"
}
],
"Status": true,
"ErrorMessage": "sample string 2",
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfVOCModels.OfficePeaViewViargZ6v 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.VOCModels">
<d2p1:VOCModels.OfficePeaView>
<d2p1:PeaCode>sample string 1</d2p1:PeaCode>
<d2p1:PeaFullName>sample string 2</d2p1:PeaFullName>
<d2p1:PeaShortName>sample string 3</d2p1:PeaShortName>
</d2p1:VOCModels.OfficePeaView>
<d2p1:VOCModels.OfficePeaView>
<d2p1:PeaCode>sample string 1</d2p1:PeaCode>
<d2p1:PeaFullName>sample string 2</d2p1:PeaFullName>
<d2p1:PeaShortName>sample string 3</d2p1:PeaShortName>
</d2p1:VOCModels.OfficePeaView>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<Message>sample string 3</Message>
<Status>true</Status>
</ResultModelOfArrayOfVOCModels.OfficePeaViewViargZ6v>