POST api/{programid}/Employee/EmploymentType

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

EmployeeGetEmploymentTypeParams
NameDescriptionTypeAdditional information
No

string

None.

Description

string

None.

ClassCode

string

None.

SortCriteria

string

None.

EmployeeParameters

string

None.

Request Formats

application/json, text/json

Sample:
{
  "No": "sample string 1",
  "Description": "sample string 2",
  "ClassCode": "sample string 3",
  "SortCriteria": "sample string 4",
  "EmployeeParameters": "sample string 5"
}

application/xml, text/xml

Sample:
<EmployeeGetEmploymentTypeParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Employee">
  <ClassCode>sample string 3</ClassCode>
  <Description>sample string 2</Description>
  <EmployeeParameters>sample string 5</EmployeeParameters>
  <No>sample string 1</No>
  <SortCriteria>sample string 4</SortCriteria>
</EmployeeGetEmploymentTypeParams>

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

Response Information

Resource Description

EmploymentType
NameDescriptionTypeAdditional information
No

string

None.

Description

string

None.

EmployeeClass

string

None.

Response Formats

application/json, text/json

Sample:
{
  "No": "sample string 1",
  "Description": "sample string 2",
  "EmployeeClass": "sample string 3"
}

application/xml, text/xml

Sample:
<EmploymentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses.Employee">
  <Description>sample string 2</Description>
  <EmployeeClass>sample string 3</EmployeeClass>
  <No>sample string 1</No>
</EmploymentType>