POST debtors/CreateTRNTypeDeptDesc

Request Information

URI Parameters

None.

Body Parameters

TRNTTypeDeptDescEntity
NameDescriptionTypeAdditional information
TenantId

integer

None.

DeptId

integer

None.

Description

string

None.

Enabled

boolean

None.

DepartmentName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "DeptId": 2,
  "Description": "sample string 3",
  "Enabled": true,
  "DepartmentName": "sample string 5"
}

text/html

Sample:
{"TenantId":1,"DeptId":2,"Description":"sample string 3","Enabled":true,"DepartmentName":"sample string 5"}

application/xml, text/xml

Sample:
<TRNTTypeDeptDescEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.Department">
  <DepartmentName>sample string 5</DepartmentName>
  <DeptId>2</DeptId>
  <Description>sample string 3</Description>
  <Enabled>true</Enabled>
  <TenantId>1</TenantId>
</TRNTTypeDeptDescEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.