POST api/setup/document-type/create

Request Information

URI Parameters

None.

Body Parameters

DocumentTypeDTOW
NameDescriptionTypeAdditional information
title

string

Required

Max length: 100

code

string

Required

Max length: 100

description

string

Required

Max length: 100

max_size

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "code": "sample string 2",
  "description": "sample string 3",
  "max_size": 4
}

application/xml, text/xml

Sample:
<DocumentTypeDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable">
  <code>sample string 2</code>
  <description>sample string 3</description>
  <max_size>4</max_size>
  <title>sample string 1</title>
</DocumentTypeDTOW>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.