POST v1/SystemSettings/PostOfficeList
Return System Post Office List
This is secure method and requires below attributes in header
Authorization: Midnight Authorize Token
Request Information
URI Parameters
None.
Body Parameters
Post Office Input Request
PostOfficeRequestName | Description | Type | Additional information |
---|---|---|---|
PostOfficeID |
Post Office ID |
integer |
None. |
Name |
Post Office Name |
string |
None. |
Active |
Post Office Active Status |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PostOfficeID": 1, "Name": "sample string 1", "Active": true }
application/xml, text/xml
Sample:
<PostOfficeRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PostOfficeID>1</PostOfficeID> <Name>sample string 1</Name> <Active>true</Active> </PostOfficeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Response Formats
application/json, text/json
Sample:
[ { "PostOfficeID": 1, "Name": "sample string 1", "Active": true }, { "PostOfficeID": 1, "Name": "sample string 1", "Active": true } ]
application/xml, text/xml
Sample:
<ArrayOfPostOfficeResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <PostOfficeResponse> <PostOfficeID>1</PostOfficeID> <Name>sample string 1</Name> <Active>true</Active> </PostOfficeResponse> <PostOfficeResponse> <PostOfficeID>1</PostOfficeID> <Name>sample string 1</Name> <Active>true</Active> </PostOfficeResponse> </ArrayOfPostOfficeResponse>