POST v1/SystemSettings/PostOfficeList

Request Information

URI Parameters

None.

Body Parameters

PostOfficeRequest
NameDescriptionTypeAdditional information
PostOfficeID

integer

None.

Name

string

None.

Active

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PostOfficeRequest'.

Response Information

Resource Description

Collection of PostOfficeResponse
NameDescriptionTypeAdditional information
PostOfficeID

integer

None.

Name

string

None.

Active

boolean

None.

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>