POST stacktypes/Add

Request Information

URI Parameters

None.

Body Parameters

StackType
NameDescriptionTypeAdditional information
StackTypeId

integer

None.

LsnStackTypeId

integer

None.

Name

string

None.

Active

boolean

None.

TenantId

integer

None.

isDefault

boolean

None.

LSNStackName

string

None.

RemoveFromLsn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StackTypeId": 1,
  "LsnStackTypeId": 2,
  "Name": "sample string 3",
  "Active": true,
  "TenantId": 5,
  "isDefault": true,
  "LSNStackName": "sample string 6",
  "RemoveFromLsn": true
}

text/html

Sample:
{"StackTypeId":1,"LsnStackTypeId":2,"Name":"sample string 3","Active":true,"TenantId":5,"isDefault":true,"LSNStackName":"sample string 6","RemoveFromLsn":true}

application/xml, text/xml

Sample:
<StackType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.StackTypes">
  <Active>true</Active>
  <LSNStackName>sample string 6</LSNStackName>
  <LsnStackTypeId>2</LsnStackTypeId>
  <Name>sample string 3</Name>
  <RemoveFromLsn>true</RemoveFromLsn>
  <StackTypeId>1</StackTypeId>
  <TenantId>5</TenantId>
  <isDefault>true</isDefault>
</StackType>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.