POST v1/SystemSettings/ContactTypeList

Return ContactType List

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

ContactTypeList Input Request

ContactTypeListRequest
NameDescriptionTypeAdditional information
ContactTypeID

Contact Type ID

integer

None.

ContactTypeName

Contact Type Name

string

None.

Active

Contact Type Active Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactTypeID": 1,
  "ContactTypeName": "sample string 1",
  "Active": true
}

application/xml, text/xml

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

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

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactTypeID": 1,
    "ContactTypeName": "sample string 1",
    "Active": true
  },
  {
    "ContactTypeID": 1,
    "ContactTypeName": "sample string 1",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfContactTypeListResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ContactTypeListResponse>
    <ContactTypeID>1</ContactTypeID>
    <ContactTypeName>sample string 1</ContactTypeName>
    <Active>true</Active>
  </ContactTypeListResponse>
  <ContactTypeListResponse>
    <ContactTypeID>1</ContactTypeID>
    <ContactTypeName>sample string 1</ContactTypeName>
    <Active>true</Active>
  </ContactTypeListResponse>
</ArrayOfContactTypeListResponse>