GET api/Job/GetJobNumbers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MyJobsModel
Name Description Type Additional information
JobId

integer

None.

JobNumber

string

None.

ProductionDate

string

None.

StatusId

byte

None.

OrderNo

integer

None.

IsXmlUpdated

boolean

None.

JobTypeId

integer

None.

DeviceId

integer

None.

DelayStatus

integer

None.

DelayType

string

None.

SaltCode

string

None.

Deadline

string

None.

Delayed

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "JobId": 1,
    "JobNumber": "sample string 2",
    "ProductionDate": "sample string 3",
    "StatusId": 64,
    "OrderNo": 1,
    "IsXmlUpdated": true,
    "JobTypeId": 6,
    "DeviceId": 1,
    "DelayStatus": 1,
    "DelayType": "sample string 7",
    "SaltCode": "sample string 8",
    "Deadline": "sample string 9",
    "Delayed": true
  },
  {
    "JobId": 1,
    "JobNumber": "sample string 2",
    "ProductionDate": "sample string 3",
    "StatusId": 64,
    "OrderNo": 1,
    "IsXmlUpdated": true,
    "JobTypeId": 6,
    "DeviceId": 1,
    "DelayStatus": 1,
    "DelayType": "sample string 7",
    "SaltCode": "sample string 8",
    "Deadline": "sample string 9",
    "Delayed": true
  }
]

text/html

Sample:
[{"JobId":1,"JobNumber":"sample string 2","ProductionDate":"sample string 3","StatusId":64,"OrderNo":1,"IsXmlUpdated":true,"JobTypeId":6,"DeviceId":1,"DelayStatus":1,"DelayType":"sample string 7","SaltCode":"sample string 8","Deadline":"sample string 9","Delayed":true},{"JobId":1,"JobNumber":"sample string 2","ProductionDate":"sample string 3","StatusId":64,"OrderNo":1,"IsXmlUpdated":true,"JobTypeId":6,"DeviceId":1,"DelayStatus":1,"DelayType":"sample string 7","SaltCode":"sample string 8","Deadline":"sample string 9","Delayed":true}]

application/xml, text/xml

Sample:
<ArrayOfMyJobsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Job">
  <MyJobsModel>
    <Deadline>sample string 9</Deadline>
    <DelayStatus>1</DelayStatus>
    <DelayType>sample string 7</DelayType>
    <Delayed>true</Delayed>
    <DeviceId>1</DeviceId>
    <IsXmlUpdated>true</IsXmlUpdated>
    <JobId>1</JobId>
    <JobNumber>sample string 2</JobNumber>
    <JobTypeId>6</JobTypeId>
    <OrderNo>1</OrderNo>
    <ProductionDate>sample string 3</ProductionDate>
    <SaltCode>sample string 8</SaltCode>
    <StatusId>64</StatusId>
  </MyJobsModel>
  <MyJobsModel>
    <Deadline>sample string 9</Deadline>
    <DelayStatus>1</DelayStatus>
    <DelayType>sample string 7</DelayType>
    <Delayed>true</Delayed>
    <DeviceId>1</DeviceId>
    <IsXmlUpdated>true</IsXmlUpdated>
    <JobId>1</JobId>
    <JobNumber>sample string 2</JobNumber>
    <JobTypeId>6</JobTypeId>
    <OrderNo>1</OrderNo>
    <ProductionDate>sample string 3</ProductionDate>
    <SaltCode>sample string 8</SaltCode>
    <StatusId>64</StatusId>
  </MyJobsModel>
</ArrayOfMyJobsModel>