POST clients/addClientSubType

Request Information

URI Parameters

None.

Body Parameters

ClientSubTypeEntity
NameDescriptionTypeAdditional information
ClientSubTypeId

integer

None.

ClientTypeId

integer

None.

ClientSubType

string

None.

SubTypeDescription

string

None.

TenantId

integer

None.

TenantName

string

None.

Active

boolean

None.

ClientTypeName

string

None.

Include

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientSubTypeId": 1,
  "ClientTypeId": 2,
  "ClientSubType": "sample string 3",
  "SubTypeDescription": "sample string 4",
  "TenantId": 5,
  "TenantName": "sample string 6",
  "Active": true,
  "ClientTypeName": "sample string 8",
  "Include": true
}

text/html

Sample:
{"ClientSubTypeId":1,"ClientTypeId":2,"ClientSubType":"sample string 3","SubTypeDescription":"sample string 4","TenantId":5,"TenantName":"sample string 6","Active":true,"ClientTypeName":"sample string 8","Include":true}

application/xml, text/xml

Sample:
<ClientSubTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Clients">
  <Active>true</Active>
  <ClientSubType>sample string 3</ClientSubType>
  <ClientSubTypeId>1</ClientSubTypeId>
  <ClientTypeId>2</ClientTypeId>
  <ClientTypeName>sample string 8</ClientTypeName>
  <Include>true</Include>
  <SubTypeDescription>sample string 4</SubTypeDescription>
  <TenantId>5</TenantId>
  <TenantName>sample string 6</TenantName>
</ClientSubTypeEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.