POST v1/SystemSettings/MailSortList

Return System Mail Sort List

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

Mail Sort Input Request

MailSortRequest
NameDescriptionTypeAdditional information
MailSortId

Mail Sort Id

integer

None.

Name

Mail Sort Name

string

None.

Active

Mail Sort Active Status

boolean

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Response Formats

application/json, text/json

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

application/xml, text/xml

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