You should be using this endpoint:
https://[server]/server/api/help/v2/odata/Erp.BO.laborSvc/index.html?urls.primaryName=Custom%20methods#/Custom%20methods/SubmitForApproval
This is the input:
{
"ds": {
"LaborHed": [
{
"Company": "string",
"EmployeeNum": "string",
"LaborHedSeq": 0,
"PayrollDate": "2024-05-25T15:38:16.878Z",
"Shift": 0,
"ClockInDate": "2024-05-25T15:38:16.879Z",
"ClockInTime": 0,
"DspClockInTime": "string",
"ActualClockInTime": 0,
"ActualClockinDate": "2024-05-25T15:38:16.879Z",
"LunchStatus": "string",
"ActLunchOutTime": 0,
"LunchOutTime": 0,
"ActLunchInTime": 0,
"LunchInTime": 0,
"ClockOutTime": 0,
"DspClockOutTime": "string",
"ActualClockOutTime": 0,
"PayHours": 0,
"FeedPayroll": true,
"TransferredToPayroll": true,
"LaborCollection": true,
"TranSet": "string",
"ActiveTrans": true,
"ChkLink": "string",
"BatchTotalHrsDisp": "string",
"BatchHrsRemainDisp": "string",
"BatchHrsRemainPctDisp": "string",
"BatchSplitHrsMethod": "string",
"BatchAssignTo": true,
"BatchComplete": true,
"BatchStartHrs": "2024-05-25T15:38:16.879Z",
"BatchEndHrs": "2024-05-25T15:38:16.879Z",
"BatchTotalHrs": 0,
"BatchHrsRemain": 0,
"BatchHrsRemainPct": 0,
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"Imported": true,
"ImportDate": "2024-05-25T15:38:16.879Z",
"BatchMode": true,
"HCMPayHoursCalcType": "string",
"EmpBasicShift": 0,
"EmpBasicSupervisorID": "string",
"GetNewNoHdr": true,
"HCMTotPayHours": 0,
"ImagePath": "string",
"LunchBreak": true,
"MES": true,
"PayrollValuesForHCM": "string",
"TimeDisableDelete": true,
"TimeDisableUpdate": true,
"TotBurHrs": 0,
"TotLbrHrs": 0,
"WipPosted": true,
"DspPayHours": 0,
"FullyPosted": true,
"PartiallyPosted": true,
"HCMExistsWithStatus": true,
"PayrollDateNav": "2024-05-25T15:38:16.879Z",
"BitFlag": 0,
"EmployeeNumFirstName": "string",
"EmployeeNumName": "string",
"EmployeeNumLastName": "string",
"HCMStatusStatus": "string",
"PRSystHCMEnabled": true,
"ShiftDescription": "string",
"RowMod": "string"
}
],
"LaborDtl": [
{
"Company": "string",
"EmployeeNum": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"LaborType": "string",
"LaborTypePseudo": "string",
"ReWork": true,
"ReworkReasonCode": "string",
"JobNum": "string",
"AssemblySeq": 0,
"OprSeq": 0,
"JCDept": "string",
"ResourceGrpID": "string",
"OpCode": "string",
"LaborHrs": 0,
"BurdenHrs": 0,
"LaborQty": 0,
"ScrapQty": 0,
"ScrapReasonCode": "string",
"SetupPctComplete": 0,
"Complete": true,
"IndirectCode": "string",
"LaborNote": "string",
"ExpenseCode": "string",
"LaborCollection": true,
"AppliedToSchedule": true,
"ClockInMInute": 0,
"ClockOutMinute": 0,
"ClockInDate": "2024-05-25T15:38:16.879Z",
"ClockinTime": 0,
"ClockOutTime": 0,
"ActiveTrans": true,
"OverRidePayRate": 0,
"LaborRate": 0,
"BurdenRate": 0,
"DspClockInTime": "string",
"DspClockOutTime": "string",
"ResourceID": "string",
"OpComplete": true,
"EarnedHrs": 0,
"AddedOper": true,
"PayrollDate": "2024-05-25T15:38:16.879Z",
"PostedToGL": true,
"FiscalYear": 0,
"FiscalPeriod": 0,
"JournalNum": 0,
"GLTrans": true,
"JournalCode": "string",
"InspectionPending": true,
"CallNum": 0,
"CallLine": 0,
"ServNum": 0,
"ServCode": "string",
"ResReasonCode": "string",
"WipPosted": true,
"DiscrepQty": 0,
"DiscrpRsnCode": "string",
"ParentLaborDtlSeq": 0,
"LaborEntryMethod": "string",
"FiscalYearSuffix": "string",
"FiscalCalendarID": "string",
"BFLaborReq": true,
"ABTUID": "string",
"ProjectID": "string",
"PhaseID": "string",
"RoleCd": "string",
"TimeTypCd": "string",
"PBInvNum": 0,
"PMUID": 0,
"TaskSetID": "string",
"ApprovedDate": "2024-05-25T15:38:16.879Z",
"ClaimRef": "string",
"QuickEntryCode": "string",
"TimeStatus": "string",
"CreatedBy": "string",
"CreateDate": "2024-05-25T15:38:16.879Z",
"CreateTime": 0,
"ChangedBy": "string",
"ChangeDate": "2024-05-25T15:38:16.879Z",
"ChangeTime": 0,
"ActiveTaskID": "string",
"LastTaskID": "string",
"CreatedViaTEWeekView": true,
"CurrentWFStageID": "string",
"WFGroupID": "string",
"WFComplete": true,
"ApprovalRequired": true,
"SubmittedBy": "string",
"PBRateFrom": "string",
"PBCurrencyCode": "string",
"PBHours": 0,
"PBChargeRate": 0,
"PBChargeAmt": 0,
"DocPBChargeRate": 0,
"Rpt1PBChargeRate": 0,
"Rpt2PBChargeRate": 0,
"Rpt3PBChargeRate": 0,
"DocPBChargeAmt": 0,
"Rpt1PBChargeAmt": 0,
"Rpt2PBChargeAmt": 0,
"Rpt3PBChargeAmt": 0,
"Shift": 0,
"ActID": 0,
"DtailID": 0,
"ProjProcessed": true,
"AsOfDate": "2024-05-25T15:38:16.879Z",
"AsOfSeq": 0,
"JDFInputFiles": "string",
"JDFNumberOfPages": "string",
"BatchWasSaved": "string",
"AssignToBatch": true,
"BatchComplete": true,
"BatchRequestMove": true,
"BatchPrint": true,
"BatchLaborHrs": 0,
"BatchPctOfTotHrs": 0,
"BatchQty": 0,
"BatchTotalExpectedHrs": 0,
"JDFOpCompleted": "string",
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"Downtime": true,
"RefJobNum": "string",
"RefAssemblySeq": 0,
"RefOprSeq": 0,
"Imported": true,
"ImportDate": "2024-05-25T15:38:16.879Z",
"TimeAutoSubmit": true,
"BatchMode": true,
"BillServiceRate": 0,
"HCMPayHours": 0,
"EpicorFSA": true,
"DiscrepAttributeSetID": 0,
"LaborAttributeSetID": 0,
"ScrapAttributeSetID": 0,
"PCID": "string",
"NonConfPCID": "string",
"AllowDirLbr": true,
"ApprovalPhaseDesc": "string",
"ApprovalPhaseID": "string",
"ApprovalProjectDesc": "string",
"ApprovalProjectID": "string",
"ApprovedBy": "string",
"ApprvrHasOpenTask": true,
"BaseCurrCodeDesc": "string",
"BurdenCost": 0,
"CallCode": "string",
"CapabilityDescription": "string",
"CapabilityID": "string",
"ChargeRate": 0,
"ChargeRateSRC": "string",
"ChgRateCurrDesc": "string",
"CompleteFlag": true,
"ContractCode": "string",
"ContractNum": 0,
"DiscrepUOM": "string",
"DisLaborType": true,
"DisplayJob": "string",
"DisPrjRoleCd": true,
"DisTimeTypCd": true,
"DowntimeTotal": 0,
"DspChangeTime": "string",
"DspCreateTime": "string",
"DspTotHours": "string",
"DtClockIn": "2024-05-25T15:38:16.879Z",
"DtClockOut": "2024-05-25T15:38:16.879Z",
"EfficiencyPercentage": 0,
"EmployeeName": "string",
"EnableComplete": true,
"EnableCopy": true,
"EnableDiscrepQty": true,
"EnableInspection": true,
"EnableLaborQty": true,
"EnableNextOprSeq": true,
"EnablePrintTagsList": true,
"EnableRecall": true,
"EnableRecallAprv": true,
"EnableRequestMove": true,
"EnableResourceGrpID": true,
"EnableScrapQty": true,
"EnableSN": true,
"EnableSubmit": true,
"EndActivity": true,
"EnteredOnCurPlant": true,
"FSAAction": "string",
"FSACallCode": "string",
"FSAContractCode": "string",
"FSAContractNum": 0,
"FSAEmpID": "string",
"FSAEquipmentInstallID": 0,
"FSAEquipmentPartNum": "string",
"FSAServiceOrderNum": 0,
"FSAServiceOrderResourceNum": 0,
"FSAWarrantyCode": "string",
"FSComplete": true,
"GLTranAmt": 0,
"GLTranDate": "2024-05-25T15:38:16.879Z",
"HasAccessToRow": true,
"HasComments": true,
"HH": true,
"IntExternalKey": "string",
"ISFixHourAndQtyOnly": true,
"JCSystReworkReasons": true,
"JCSystScrapReasons": true,
"JobOperComplete": true,
"JobType": "string",
"JobTypeCode": "string",
"LaborCost": 0,
"LaborUOM": "string",
"LbrDay": "string",
"LbrMonth": "string",
"LbrWeek": "string",
"MES": true,
"MultipleEmployeesText": "string",
"NewDifDateFlag": 0,
"NewPrjRoleCd": "string",
"NewRoleCdDesc": "string",
"NextAssemblySeq": 0,
"NextOperDesc": "string",
"NextOprSeq": 0,
"NextResourceDesc": "string",
"NonConfProcessed": true,
"NotSubmitted": true,
"OkToChangeResourceGrpID": true,
"PartDescription": "string",
"PartNum": "string",
"PBAllowModify": true,
"PendingApprovalBy": "string",
"PhaseJobNum": "string",
"PhaseOprSeq": 0,
"PrintNCTag": true,
"PrjUsedTran": "string",
"ProdDesc": "string",
"ProjPhaseID": "string",
"RequestMove": true,
"ResourceDesc": "string",
"RoleCdDisplayAll": true,
"ScrapUOM": "string",
"SentFromMES": true,
"StartActivity": true,
"TimeDisableDelete": true,
"TimeDisableUpdate": true,
"TreeNodeImageName": "string",
"UnapprovedFirstArt": true,
"WarrantyCode": "string",
"WeekDisplayText": "string",
"EnablePCID": true,
"OutputBin": "string",
"OutputWarehouse": "string",
"EnableLot": true,
"LotNum": "string",
"PrintPCIDContents": true,
"HasAttachments": true,
"AttrClassID": "string",
"DiscrepAttributeSetDescription": "string",
"DiscrepAttributeSetShortDescription": "string",
"ScrapAttributeSetDescription": "string",
"ScrapAttributeSetShortDescription": "string",
"LaborAttributeSetDescription": "string",
"LaborAttributeSetShortDescription": "string",
"DisableRecallAndDelete": true,
"RoleCdList": "string",
"RowSelected": true,
"AppointmentStart": "2024-05-25T15:38:16.879Z",
"AppointmentEnd": "2024-05-25T15:38:16.879Z",
"AppointmentTitle": "string",
"TemplateID": "string",
"WIPTransaction": true,
"DiscrepRevision": "string",
"LaborRevision": "string",
"ScrapRevision": "string",
"TrackInventoryByRevision": true,
"ReportPartQtyAllowed": true,
"BitFlag": 0,
"DiscrpRsnDescription": "string",
"EmpBasicLastName": "string",
"EmpBasicFirstName": "string",
"EmpBasicName": "string",
"ExpenseCodeDescription": "string",
"HCMIntregationHCMEnabled": true,
"HCMStatusStatus": "string",
"IndirectDescription": "string",
"JCDeptDescription": "string",
"JobAsmblPartNum": "string",
"JobAsmblDescription": "string",
"MachineDescription": "string",
"OpCodeOpDesc": "string",
"OpDescOpDesc": "string",
"PayMethodType": 0,
"PayMethodSummarizePerCustomer": true,
"PayMethodName": "string",
"PhaseIDDescription": "string",
"ProjectDescription": "string",
"ResourceGrpDescription": "string",
"ResReasonDescription": "string",
"ReWorkReasonDescription": "string",
"RoleCdRoleDescription": "string",
"ScrapReasonDescription": "string",
"ShiftDescription": "string",
"TimeTypCdDescription": "string",
"RowMod": "string"
}
],
"LaborDtlAttch": [
{
"Company": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"DrawingSeq": 0,
"XFileRefNum": 0,
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"ForeignSysRowID": "00000000-0000-0000-0000-000000000000",
"DrawDesc": "string",
"FileName": "string",
"PDMDocID": "string",
"DocTypeID": "string",
"RowMod": "string"
}
],
"LaborDtlAction": [
{
"Company": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"ActionSeq": 0,
"ActionDesc": "string",
"Required": true,
"Completed": true,
"CompletedBy": "string",
"CompletedOn": "2024-05-25T15:38:16.879Z",
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"BitFlag": 0,
"EmpBasicName": "string",
"RowMod": "string"
}
],
"LaborDtlComment": [
{
"Company": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"CommentNum": 0,
"CommentType": "string",
"CommentText": "string",
"CreatedBy": "string",
"CreateDate": "2024-05-25T15:38:16.879Z",
"CreateTime": 0,
"ChangedBy": "string",
"ChangeDate": "2024-05-25T15:38:16.879Z",
"ChangeTime": 0,
"TaskSeqNum": 0,
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"DspChangeTime": "string",
"DspCreateTime": "string",
"TreeNodeImageName": "string",
"IntExternalKey": "string",
"TimeEntryCommentTypeList": "string",
"CommentTypeDesc": "string",
"BitFlag": 0,
"RowMod": "string"
}
],
"LaborEquip": [
{
"Company": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"EquipID": "string",
"Hours": 0,
"Qty": 0,
"CurrentMeter": 0,
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"BitFlag": 0,
"EquipLaborMeterOpt": "string",
"EquipDescription": "string",
"EquipMeterUOM": "string",
"RowMod": "string"
}
],
"LaborPart": [
{
"Company": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"PartNum": "string",
"PartQty": 0,
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"DiscrepQty": 0,
"DiscrpRsnCode": "string",
"DiscrpAttributeSetID": 0,
"ScrapQty": 0,
"ScrapReasonCode": "string",
"ScrapAttributeSetID": 0,
"NonConfTranID": 0,
"LaborAttributeSetID": 0,
"MESProcessing": true,
"RequestMove": true,
"PartUOM": "string",
"PartDescription": "string",
"RevisionNum": "string",
"DiscrepUOM": "string",
"ScrapUOM": "string",
"DiscrepAttributeSetDescription": "string",
"DiscrepAttributeSetShortDescription": "string",
"AttrClassID": "string",
"LaborAttributeSetDescription": "string",
"LaborAttributeSetShortDescription": "string",
"ScrapAttributeSetDescription": "string",
"ScrapAttributeSetShortDescription": "string",
"DiscrepRevision": "string",
"ScrapRevision": "string",
"EnableDiscrpQty": true,
"EnableScrapQty": true,
"BitFlag": 0,
"DiscrpRsnDescription": "string",
"ScrapReasonDescription": "string",
"RowMod": "string"
}
],
"LbrScrapSerialNumbers": [
{
"Company": "string",
"LaborHedSeq": 0,
"LaborDtlSeq": 0,
"SerialNumber": "string",
"PartNum": "string",
"JobNum": "string",
"AssemblySeq": 0,
"OprSeq": 0,
"EnableStatus": true,
"SNStatus": "string",
"SNStatusDesc": "string",
"Selected": true,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"RowMod": "string"
}
],
"LaborDtlGroup": [
{
"Company": "string",
"EmployeeNum": "string",
"ClaimRef": "string",
"SysRevID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"BitFlag": 0,
"RowMod": "string"
}
],
"SelectedSerialNumbers": [
{
"Company": "string",
"SerialNumber": "string",
"Scrapped": true,
"ScrappedReasonCode": "string",
"Voided": true,
"Reference": "string",
"ReasonCodeType": "string",
"ReasonCodeDesc": "string",
"PartNum": "string",
"SNPrefix": "string",
"SNBaseNumber": "string",
"SourceRowID": "00000000-0000-0000-0000-000000000000",
"TransType": "string",
"PassedInspection": true,
"Deselected": true,
"KitWhseList": "string",
"RawSerialNum": "string",
"KBLbrAction": 0,
"KBLbrActionDesc": "string",
"PreventDeselect": true,
"XRefPartNum": "string",
"XRefPartType": "string",
"PreDeselected": true,
"poLinkValues": "string",
"SNMask": "string",
"NotSavedToDB": true,
"RowSelected": true,
"AttributeSetID": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"RowMod": "string"
}
],
"SNFormat": [
{
"Company": "string",
"Plant": "string",
"PartNum": "string",
"NumberOfDigits": 0,
"SNMask": "string",
"SNBaseDataType": "string",
"SNFormat": "string",
"LeadingZeroes": true,
"SNPrefix": "string",
"SNMaskSuffix": "string",
"SNMaskPrefix": "string",
"SNLastUsedSeq": "string",
"HasSerialNumbers": true,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"BitFlag": 0,
"PartPricePerCode": "string",
"PartTrackLots": true,
"PartTrackSerialNum": true,
"PartTrackDimension": true,
"PartSalesUM": "string",
"PartIUM": "string",
"PartSellingFactor": 0,
"PartPartDescription": "string",
"SerialMaskMaskType": 0,
"SerialMaskMask": "string",
"SerialMaskExample": "string",
"SerialMaskDescription": "string",
"RowMod": "string"
}
],
"TimeWeeklyView": [
{
"Company": "string",
"EmployeeNum": "string",
"WeekBeginDate": "2024-05-25T15:38:16.880Z",
"WeekEndDate": "2024-05-25T15:38:16.880Z",
"QuickEntryCode": "string",
"WeekDisplayText": "string",
"LaborType": "string",
"ProjectID": "string",
"PhaseID": "string",
"TimeTypCd": "string",
"JobNum": "string",
"AssemblySeq": 0,
"OprSeq": 0,
"RoleCd": "string",
"IndirectCode": "string",
"HoursSun": 0,
"HoursMon": 0,
"HoursTue": 0,
"HoursWed": 0,
"HoursThu": 0,
"HoursFri": 0,
"HoursSat": 0,
"TimeTypCdDescription": "string",
"RoleCdDescription": "string",
"IndirectCodeDescription": "string",
"PhaseIDDescription": "string",
"HoursTotal": 0,
"ExpenseCode": "string",
"Complete": true,
"ResourceGrpID": "string",
"ResourceID": "string",
"OpCode": "string",
"OpComplete": true,
"LaborEntryMethod": "string",
"LaborRate": 0,
"ResourceGrpIDDescription": "string",
"JCDept": "string",
"TimeDisableUpdate": true,
"ResourceIDDescription": "string",
"ExpenseCodeDescription": "string",
"LaborTypePseudo": "string",
"Shift": 0,
"ShiftDescription": "string",
"MessageText": "string",
"NewRowType": "string",
"DisPrjRoleCd": true,
"DisTimeTypCd": true,
"DisLaborType": true,
"EnableSubmit": true,
"EnableCopy": true,
"EnableRecall": true,
"AllowDirLbr": true,
"TimeStatus": "string",
"ProjDesc": "string",
"WBSPhaseDesc": "string",
"OperDesc": "string",
"ASMdesc": "string",
"TimeAutoSubmit": true,
"DeleteRow": true,
"HCMTotWeeklyPayHours": 0,
"RoleCdList": "string",
"RowSelected": true,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"RowMod": "string"
}
],
"TimeWorkHours": [
{
"Company": "string",
"CalendarID": "string",
"WeekBeginDate": "2024-05-25T15:38:16.880Z",
"WeekEndDate": "2024-05-25T15:38:16.880Z",
"SunDisplayDate": "string",
"MonDisplayDate": "string",
"TueDisplayDate": "string",
"WedDisplayDate": "string",
"ThuDisplayDate": "string",
"FriDisplayDate": "string",
"SatDisplayDate": "string",
"WeekDisplayText": "string",
"SunWorkHours": 0,
"MonWorkHours": 0,
"TueWorkHours": 0,
"WedWorkHours": 0,
"ThuWorkHours": 0,
"FriWorkHours": 0,
"SatWorkHours": 0,
"SunBookedHours": 0,
"MonBookedHours": 0,
"WedBookedHours": 0,
"ThuBookedHours": 0,
"FriBookedHours": 0,
"SunDiffHours": 0,
"MonDiffHours": 0,
"SatBookedHours": 0,
"TueBookedHours": 0,
"TueDiffHours": 0,
"WedDiffHours": 0,
"ThuDiffHours": 0,
"FriDiffHours": 0,
"SatDiffHours": 0,
"EmployeeNum": "string",
"CalendarDescription": "string",
"TotalWorkHours": 0,
"TotalBookedHours": 0,
"TotalDiffHours": 0,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"RowMod": "string"
}
],
"ExtensionTables": [
{
"Table": [
{
"ColumnValues": [
{}
],
"RowMod": "string",
"SysRowID": "00000000-0000-0000-0000-000000000000"
}
],
"SystemCode": "string",
"TableName": "string",
"Columns": [
{
"ColumnName": "string",
"ColumnType": "string"
}
],
"PrimaryKeyColumns": [
"string"
],
"PeerTableSystemCode": "string",
"PeerTableName": "string"
}
]
},
"lWeeklyView": true
}
Notice at the very bottom:
],
"PrimaryKeyColumns": [
"string"
],
"PeerTableSystemCode": "string",
"PeerTableName": "string"
}
]
},
"lWeeklyView": true
}