PUT api/setup/employment-type/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RecEmploymentTypeDTOW
NameDescriptionTypeAdditional information
code

string

Required

Max length: 100

description

string

Required

Max length: 100

is_active

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "description": "sample string 2",
  "is_active": true
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.