POST v1/SystemSettings/MailGeographyList

Request Information

URI Parameters

None.

Body Parameters

MailGeographyRequest
NameDescriptionTypeAdditional information
MailGeographyID

integer

None.

Name

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MailGeographyID": 1,
  "Name": "sample string 1",
  "Active": true
}

application/xml, text/xml

Sample:
<MailGeographyRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <MailGeographyID>1</MailGeographyID>
  <Name>sample string 1</Name>
  <Active>true</Active>
</MailGeographyRequest>

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 'MailGeographyRequest'.

Response Information

Resource Description

Collection of MailGeographyResponse
NameDescriptionTypeAdditional information
MailGeographyID

integer

None.

Name

string

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MailGeographyID": 1,
    "Name": "sample string 1",
    "Active": true
  },
  {
    "MailGeographyID": 1,
    "Name": "sample string 1",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMailGeographyResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <MailGeographyResponse>
    <MailGeographyID>1</MailGeographyID>
    <Name>sample string 1</Name>
    <Active>true</Active>
  </MailGeographyResponse>
  <MailGeographyResponse>
    <MailGeographyID>1</MailGeographyID>
    <Name>sample string 1</Name>
    <Active>true</Active>
  </MailGeographyResponse>
</ArrayOfMailGeographyResponse>