GET v1/ProductionJobs/{id}

Get a Production Job.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ProductionJob
NameDescriptionTypeAdditional information
Id

A unique Job ID.

integer

None.

CreatedDate

Created date time.

date

None.

ModifiedDate

Last modified date time.

date

None.

DueDate

Due Date

date

None.

CompletedDate

Completed Date

date

None.

CreatedBy

Created by User ID.

integer

None.

CompletedBy

Completed by User ID.

integer

None.

IsApproved

Is Approved (default: true)

boolean

None.

BranchId

Branch ID

integer

None.

ProjectName

Project Name

string

None.

ProductionNotes

Production Notes.

string

None.

Reference

The unique Job reference.

string

Max length: 20

Source

The source

string

None.

TotalCost

Product Total

decimal number

None.

Products

Production Job Products.

Collection of ProductionJobProduct

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 99,
  "createdDate": "2019-05-22T13:19:49.4007723Z",
  "modifiedDate": "2019-05-22T13:19:49.4007723Z",
  "dueDate": "2019-05-29T13:19:49.4007723Z",
  "completedDate": "2019-05-22T13:19:49.4007723Z",
  "createdBy": 10,
  "completedBy": 10,
  "isApproved": false,
  "branchId": 1,
  "projectName": "Test Project",
  "productionNotes": "Test Job",
  "reference": "JOB-1",
  "source": "API",
  "totalCost": 100.0,
  "products": [
    {
      "id": 0,
      "productId": 0,
      "productOptionId": 0,
      "type": "Make",
      "sort": 0,
      "code": "TestProduct1",
      "name": "Composite Product",
      "option1": null,
      "option2": null,
      "option3": null,
      "notes": null,
      "dueDate": null,
      "standardQty": 1.0,
      "actualQty": 1.0,
      "unitCost": 100.0,
      "components": [
        {
          "id": 0,
          "productId": 0,
          "productOptionId": 0,
          "type": "Use",
          "sort": 0,
          "code": "C1",
          "name": "Component 1",
          "option1": null,
          "option2": null,
          "option3": null,
          "notes": null,
          "dueDate": null,
          "standardQty": 1.0,
          "actualQty": 1.0,
          "unitCost": 50.0
        },
        {
          "id": 0,
          "productId": 0,
          "productOptionId": 0,
          "type": "Use",
          "sort": 0,
          "code": "C2",
          "name": "Component 2",
          "option1": null,
          "option2": null,
          "option3": null,
          "notes": null,
          "dueDate": null,
          "standardQty": 1.0,
          "actualQty": 1.0,
          "unitCost": 50.0
        }
      ]
    }
  ]
}