POST v1/SystemSettings/MailGeographyList

Return System Mail Geography List

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Mail Geography Input Request

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

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>