POST slleadscategories/Create

Request Information

URI Parameters

None.

Body Parameters

SalesLeadCategoryEntity
NameDescriptionTypeAdditional information
LeadCategoryId

integer

None.

LeadCategory

string

None.

TenantName

string

None.

ParentLeadCategory

string

None.

TenantId

integer

None.

ParentId

integer

None.

NewClient

boolean

None.

NewAddress

boolean

None.

ReconAddress

boolean

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "LeadCategoryId": 1,
  "LeadCategory": "sample string 2",
  "TenantName": "sample string 3",
  "ParentLeadCategory": "sample string 4",
  "TenantId": 5,
  "ParentId": 6,
  "NewClient": true,
  "NewAddress": true,
  "ReconAddress": true,
  "Active": true
}

text/html

Sample:
{"LeadCategoryId":1,"LeadCategory":"sample string 2","TenantName":"sample string 3","ParentLeadCategory":"sample string 4","TenantId":5,"ParentId":6,"NewClient":true,"NewAddress":true,"ReconAddress":true,"Active":true}

application/xml, text/xml

Sample:
<SalesLeadCategoryEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Sales">
  <Active>true</Active>
  <LeadCategory>sample string 2</LeadCategory>
  <LeadCategoryId>1</LeadCategoryId>
  <NewAddress>true</NewAddress>
  <NewClient>true</NewClient>
  <ParentId>6</ParentId>
  <ParentLeadCategory>sample string 4</ParentLeadCategory>
  <ReconAddress>true</ReconAddress>
  <TenantId>5</TenantId>
  <TenantName>sample string 3</TenantName>
</SalesLeadCategoryEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.