POST api/setup/salarytypesdef/create

Request Information

URI Parameters

None.

Body Parameters

Collection of RecSalaryTypesDefDTOW
NameDescriptionTypeAdditional information
title

string

Required

Max length: 100

code

string

Required

Max length: 100

description

string

Required

Max length: 100

Request Formats

application/json, text/json

Sample:
[
  {
    "title": "sample string 1",
    "code": "sample string 2",
    "description": "sample string 3"
  },
  {
    "title": "sample string 1",
    "code": "sample string 2",
    "description": "sample string 3"
  }
]

application/xml, text/xml

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

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.