POST v1/SystemSettings/MailClassList

Request Information

URI Parameters

None.

Body Parameters

MailClassRequest
NameDescriptionTypeAdditional information
MailClassID

integer

None.

Name

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

Collection of MailClassResponse
NameDescriptionTypeAdditional information
MailClassID

integer

None.

Name

string

None.

Active

boolean

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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