POST api/employee/GetJobCodesForRole

Request Information

URI Parameters

None.

Body Parameters

JobCodessParameters
NameDescriptionTypeAdditional information
role

string

None.

deviceID

string

None.

ticketID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "role": "sample string 1",
  "deviceID": "sample string 2",
  "ticketID": "sample string 3"
}

application/xml, text/xml

Sample:
<JobCodessParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <deviceID>sample string 2</deviceID>
  <role>sample string 1</role>
  <ticketID>sample string 3</ticketID>
</JobCodessParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of JobCodesForRole
NameDescriptionTypeAdditional information
JobCode

string

None.

ReturnMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "JobCode": "sample string 1",
    "ReturnMessage": "sample string 2"
  },
  {
    "JobCode": "sample string 1",
    "ReturnMessage": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfJobCodesForRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMXWebAPI.Models">
  <JobCodesForRole>
    <JobCode>sample string 1</JobCode>
    <ReturnMessage>sample string 2</ReturnMessage>
  </JobCodesForRole>
  <JobCodesForRole>
    <JobCode>sample string 1</JobCode>
    <ReturnMessage>sample string 2</ReturnMessage>
  </JobCodesForRole>
</ArrayOfJobCodesForRole>