POST api/EmployeeType/Post

Request Information

URI Parameters

None.

Body Parameters

EmployeeTypeData
NameDescriptionTypeAdditional information
EmployeeTypeId

integer

None.

Description

string

None.

AllowReportsTo

boolean

None.

WorkersCompCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeTypeId": 1,
  "Description": "sample string 2",
  "AllowReportsTo": true,
  "WorkersCompCode": "sample string 4"
}

application/xml, text/xml

Sample:
<EmployeeTypeData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.MPI.Business.Entities">
  <AllowReportsTo>true</AllowReportsTo>
  <Description>sample string 2</Description>
  <EmployeeTypeId>1</EmployeeTypeId>
  <WorkersCompCode>sample string 4</WorkersCompCode>
</EmployeeTypeData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.