POST v1/SystemSettings/MailSortList

Request Information

URI Parameters

None.

Body Parameters

MailSortRequest
NameDescriptionTypeAdditional information
MailSortId

integer

None.

Name

string

None.

Active

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

Resource Description

Collection of MailSortResponse
NameDescriptionTypeAdditional information
MailSortId

integer

None.

Name

string

None.

Active

boolean

None.

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>