POST contact/Create

Request Information

URI Parameters

None.

Body Parameters

ContactListTypeEntity
NameDescriptionTypeAdditional information
ContactListTypeId

integer

None.

ContactListType

string

None.

ObjectTypeId

integer

None.

IsSystemList

boolean

None.

IsActive

boolean

None.

TenantId

integer

None.

ObjectTypeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactListTypeId": 1,
  "ContactListType": "sample string 2",
  "ObjectTypeId": 3,
  "IsSystemList": true,
  "IsActive": true,
  "TenantId": 4,
  "ObjectTypeName": "sample string 5"
}

text/html

Sample:
{"ContactListTypeId":1,"ContactListType":"sample string 2","ObjectTypeId":3,"IsSystemList":true,"IsActive":true,"TenantId":4,"ObjectTypeName":"sample string 5"}

application/xml, text/xml

Sample:
<ContactListTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Contacts">
  <ContactListType>sample string 2</ContactListType>
  <ContactListTypeId>1</ContactListTypeId>
  <IsActive>true</IsActive>
  <IsSystemList>true</IsSystemList>
  <ObjectTypeId>3</ObjectTypeId>
  <ObjectTypeName>sample string 5</ObjectTypeName>
  <TenantId>4</TenantId>
</ContactListTypeEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.