POST api/employmentType/addEmploymentType/{orgKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgKey

integer

Required

Body Parameters

EmploymentTypes
NameDescriptionTypeAdditional information
EmploymentTypeKey

integer

None.

EmploymentTypeName

string

None.

EmploymentTypeDescription

string

None.

EmployeeEmploymentCount

integer

None.

StatusKey

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "employmentTypeKey": 1,
  "employmentTypeName": "sample string 2",
  "employmentTypeDescription": "sample string 3",
  "employeeEmploymentCount": 4,
  "statusKey": 64
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PageViewModel
NameDescriptionTypeAdditional information
StatusCode

integer

None.

StatusMessage

string

None.

TotalCount

integer

None.

ModelObject

Object

None.

CurrentDateTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "statusMessage": "sample string 2",
  "totalCount": 3,
  "modelObject": {},
  "currentDateTime": "2026-01-29T20:40:46.6580422+00:00"
}