POST v1/SystemSettings/JobTypeList

Return JobType List

This is secure method and requires below attributes in header

Authorization: Midnight Authorize Token

Request Information

URI Parameters

None.

Body Parameters

JobTypeList Input Request

JobTypeListRequest
NameDescriptionTypeAdditional information
JobTypeID

Job Type ID

integer

None.

JobTypeDescription

Job Type Description

string

None.

Active

Job Type Active Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "JobTypeID": 1,
  "JobTypeDescription": "sample string 1",
  "Active": true
}

application/xml, text/xml

Sample:
<JobTypeListRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <JobTypeID>1</JobTypeID>
  <JobTypeDescription>sample string 1</JobTypeDescription>
  <Active>true</Active>
</JobTypeListRequest>

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

Response Information

Response Formats

application/json, text/json

Sample:
[
  {
    "JobTypeID": 1,
    "JobTypeDescription": "sample string 1",
    "Active": true
  },
  {
    "JobTypeID": 1,
    "JobTypeDescription": "sample string 1",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfJobTypeListResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <JobTypeListResponse>
    <JobTypeID>1</JobTypeID>
    <JobTypeDescription>sample string 1</JobTypeDescription>
    <Active>true</Active>
  </JobTypeListResponse>
  <JobTypeListResponse>
    <JobTypeID>1</JobTypeID>
    <JobTypeDescription>sample string 1</JobTypeDescription>
    <Active>true</Active>
  </JobTypeListResponse>
</ArrayOfJobTypeListResponse>