PUT v1/ProductionJobs
Update a list of Production Jobs.
Request Information
URI Parameters
None.
Body Parameters
Collection of ProductionJobName | Description | Type | Additional 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. |
Company |
Company |
string |
Max length: 250 |
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. |
CustomFields |
Custom Fields |
Dictionary of string [key] and Object [value] |
None. |
Products |
Production Job Products. |
Collection of ProductionJobProduct |
None. |
Request Formats
application/json, text/json
[ { "id": 1, "createdDate": "2024-11-19T20:41:53.3908897+13:00", "modifiedDate": "2024-11-19T20:41:53.3908897+13:00", "dueDate": "2024-11-19T20:41:53.3908897+13:00", "completedDate": "2024-11-19T20:41:53.3908897+13:00", "createdBy": 2, "completedBy": 3, "isApproved": true, "branchId": 5, "company": "sample string 6", "projectName": "sample string 7", "productionNotes": "sample string 8", "reference": "sample string 9", "source": "sample string 10", "totalCost": 11.0, "customFields": { "sample string 1": {}, "sample string 3": {} }, "products": [ { "id": 1, "productId": 4, "productOptionId": 5, "type": "Undefined", "sort": 6, "code": "sample string 7", "name": "sample string 8", "option1": "sample string 9", "option2": "sample string 10", "option3": "sample string 11", "notes": "sample string 12", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 13.0, "actualQty": 14.0, "unitCost": 1.0, "components": [ { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 }, { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 } ] }, { "id": 1, "productId": 4, "productOptionId": 5, "type": "Undefined", "sort": 6, "code": "sample string 7", "name": "sample string 8", "option1": "sample string 9", "option2": "sample string 10", "option3": "sample string 11", "notes": "sample string 12", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 13.0, "actualQty": 14.0, "unitCost": 1.0, "components": [ { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 }, { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 } ] } ] }, { "id": 1, "createdDate": "2024-11-19T20:41:53.3908897+13:00", "modifiedDate": "2024-11-19T20:41:53.3908897+13:00", "dueDate": "2024-11-19T20:41:53.3908897+13:00", "completedDate": "2024-11-19T20:41:53.3908897+13:00", "createdBy": 2, "completedBy": 3, "isApproved": true, "branchId": 5, "company": "sample string 6", "projectName": "sample string 7", "productionNotes": "sample string 8", "reference": "sample string 9", "source": "sample string 10", "totalCost": 11.0, "customFields": { "sample string 1": {}, "sample string 3": {} }, "products": [ { "id": 1, "productId": 4, "productOptionId": 5, "type": "Undefined", "sort": 6, "code": "sample string 7", "name": "sample string 8", "option1": "sample string 9", "option2": "sample string 10", "option3": "sample string 11", "notes": "sample string 12", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 13.0, "actualQty": 14.0, "unitCost": 1.0, "components": [ { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 }, { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 } ] }, { "id": 1, "productId": 4, "productOptionId": 5, "type": "Undefined", "sort": 6, "code": "sample string 7", "name": "sample string 8", "option1": "sample string 9", "option2": "sample string 10", "option3": "sample string 11", "notes": "sample string 12", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 13.0, "actualQty": 14.0, "unitCost": 1.0, "components": [ { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 }, { "id": 2, "productId": 5, "productOptionId": 6, "type": "Undefined", "sort": 7, "code": "sample string 8", "name": "sample string 9", "option1": "sample string 10", "option2": "sample string 11", "option3": "sample string 12", "notes": "sample string 13", "dueDate": "2024-11-19T20:41:53.406512+13:00", "standardQty": 14.0, "actualQty": 15.0, "unitCost": 1.0 } ] } ] } ]
Response Information
Resource Description
Collection of BatchResultItemName | Description | Type | Additional information |
---|---|---|---|
Index |
The index at which the record was positioned in an insert or update. |
integer |
None. |
Success |
True if the record was successfully inserted or updated. |
boolean |
None. |
Id |
The record Id. |
integer |
None. |
Code |
The record code. |
string |
None. |
Errors |
A list of errors if the insert or update fails. |
Collection of string |
None. |
Response Formats
application/json, text/json
[ { "index": 0, "success": true, "id": 1, "code": "SALE4-28", "errors": [] }, { "index": 1, "success": true, "id": 2, "code": "SALE5-29", "errors": [] } ]