# JobOrder Create/update job order(s) Endpoint: POST /rest/api/standard/v1/JobOrder Version: 1.0.0 Security: basicAuth ## Request fields (application/json): - `jobList` (array) - `jobList.jobGuid` (string) Unique identifier, visible to developers and Aimsio admins. A new object must include either property or property or both. - `jobList.jobNumber` (string, required) Unique identifier, visible to end users. A new object must include either property or property or both - `jobList.jobName` (string, required) - `jobList.jobDescription` (string) - `jobList.jobStatus` (string, required) If the job has an assignee, the status is automatically set to , else it's default to . For POST requests, the only applicable value is for existing jobs. Enum: "Unassigned", "Assigned", "Active", "Finished", "Cancelled", "Deleted" - `jobList.jobClientCode` (string, required) Must be an existing customer code - `jobList.jobPriceBookName` (string, required) Must be an existing pricebook name - `jobList.jobStartDate` (integer, required) Timestamp in epoch millseconds - `jobList.jobEndDate` (integer) Timestamp in epoch millseconds. Must be equal or after - `jobList.jobShowInDispatching` (boolean) - `jobList.jobAssigneeEmployeeNumber` (string) Must be an existing employee number - `jobList.jobAddress` (string) - `jobList.jobLocationCode` (string) Must be an existing location code - `jobList.jobLocationLat` (number) - `jobList.jobLocationLong` (number) - `jobList.jobDirection` (string) - `jobList.jobWBSSchedule` (object) - `jobList.jobWBSSchedule.jobScheduleGuid` (string) - `jobList.jobWBSSchedule.jobScheduleBudgetEntryOption` (string) Enum: "PerDetailedBreakDown", "PerWBS", "PerBillableItem" - `jobList.jobWBSSchedule.jobScheduleContractValueEntryOption` (string) Enum: "PerJob", "PerWBS" - `jobList.jobWBSSchedule.jobScheduleChangeSettingOption` (string) Enum: "Manual", "AutomatedFromChangeOrder" - `jobList.jobWBSSchedule.jobScheduleConversionRules` (array) - `jobList.jobWBSSchedule.jobScheduleIncludeNRBInNonBillableCalculation` (boolean) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS` (array) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownGuid` (string) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownBillableTypeUname` (string) Enum: "labour", "equipment", "material", "service", "unit_billing", "per_diem", "accommodation", "mileage", "surcharge" - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownBudgetQty` (number) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownBudgetRevenue` (number) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownActualQtyUsed` (number) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownActualQtyExtra` (number) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownActualTotalUsed` (number) - `jobList.jobWBSSchedule.jobScheduleActualsWithNoWBS.wbsActivityBreakdownActualTotalExtra` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity` (object) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityGuid` (string) Unique identifier, visible to developers and Aimsio admins. A new object must include either guid property or number property or both. - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivitySubCode` (string, required) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivitySubCostCode` (string) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityName` (string, required) WBS activity name - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivitySharedIdentifier` (string, required) External system ID - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityPlannedStartDate` (integer, required) Timestamp in epoch milliseconds - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityPlannedEndDate` (integer, required) Timestamp in epoch milliseconds - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityRevisedStartDate` (integer) Timestamp in epoch milliseconds - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityRevisedEndDate` (integer) Timestamp in epoch milliseconds - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityActualStartDate` (integer) Timestamp in epoch milliseconds - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityActualLastDate` (integer) Timestamp in epoch milliseconds - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityHierarchicalOrder` (string, required) Position in the WBS hierarchy - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityUoM` (string) Unit of measure - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityOriginalContractValue` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityChangesToContractValue` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityCostUnitRate` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityOriginalQuantity` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityBudgetOverride` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityEACMethod` (string) Enum: "TREND_BASED", "PERFORMANCE_ADJUSTED", "BOTTOM_UP" - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityForecastedRemainingCPI` (string) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityEstimateToComplete` (string) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityTotal` (number, required) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityCurrent` (number) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityWeight` (integer) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityNotes` (string) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityDetailedBreakdown` (any) - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityChildrenCount` (integer) Number of child activities - `jobList.jobWBSSchedule.jobScheduleRootActivity.wbsActivityChildren` (array) Child WBSActivity - `jobList.jobOrderFormData` (object) Read-only schema used in GET requests to display object's custom fields data. For POST requests, refer to - `jobList.customFieldDataList` (array) - `jobList.customFieldDataList.customFieldDataDtype` (string) Enum: "NumberFieldData", "FreeTextFieldData", "Integer64FieldData", "LookupFieldData", "SelectFieldData", "BooleanFieldData", "TableFieldData" - `jobList.customFieldDataList.customFieldDataUname` (string) Unique identifier/key for the custom field - `jobList.customFieldDataList.customFieldDataStringValue` (string) Required if is not - `jobList.customFieldDataList.customFieldDataBooleanValue` (boolean) Required if is ## Response 200 fields (application/json): - `dtype` (string) - `id` (integer) - `guid` (string) - `importConfiguration` (string) - `numberOfEntitiesCreated` (integer) - `numberOfEntitiesEdited` (integer) - `numberOfEntitiesEditedWithErrors` (integer) - `numberOfEntitiesNotImportedDueToErrors` (integer) - `extra` (string) - `notices` (array) - `updatedAt` (integer) - `importResultType` (string) - `numberOfEntitiesImported` (integer)