You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Facing REST API issue for work center resource exception creation

Summary:

Hi Team

We are trying to create work center resource exception using below REST API but we are getting error.

Rest API - /fscmRestApi/resources/11.13.18.05/workCenterResourceExceptions

ERROR -

Attribute ExcStartTime in WorkCenterResourceExcEO is required.

Attribute ExcEndTime in WorkCenterResourceExcEO is required.

Request Payload -

{
"OrganizationId": 300000195171719,
"OrganizationCode": "MPC_MFG_DAP",
"OrganizationName": "DAP:Di Ammonium Phosphate Warehouse",
"ScheduleId": 300001372033262,
"ScheduleName": "MPC_MFG_DAP_CAL",
"AssociatedShiftId": 300001370887041,
"AssociatedShiftName": "MPC1",
"StartDate": "2024-09-03",
"EndDate": "2024-09-03",
// "ExceptionStartTime": "07:00 AM",
"ExceptionStartTimeInMs": 25200000,
"ExceptionDuration": 12
//"ExceptionEndTime": "19:00 PM",
// "ExceptionEndTimeInMs": 68400000
}


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!