Generate calendar data for a work center resource in the Work Center Resource Calendar task.
post
/fscmRestApi/resources/11.13.18.05/workCenterResourceExceptions/action/generateWorkCenterResourceCalendarData
Generate the calendar data for a specified date range for the specified work center resource. The calendar information shows the active shifts and available units, as well as known shift and resource exceptions which alter standard working time. This action is intended for use in Oracle Fusion Cloud Manufacturing or Maintenance when viewing resource availability.
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object-
endDate: string
(date)
Date where the work center resource calendar data can be rendered in the future without an additional request. This value is required. The value must be in the ISO8601 format such as YYYY-MM-DD.
-
organizationId: string
Value that uniquely identifies the inventory organization that's the plant.
-
resourceId: string
Value that uniquely identifies the resource being updated. This value is required.
-
startDate: string
(date)
Date where the work center resource calendar data can be rendered in the past without an additional request. This value is required. The value must be in the ISO8601 format such as YYYY-MM-DD.
-
workCenterId: string
Value that uniquely identifies the work center associated to the resource. This value is required.
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object-
result(required): object
result
Additional Properties Allowed: additionalPropertiesA collection of intervals modeling resource working time. Each interval identifies the shift, exception parent, start and end time, and available units value.
Nested Schema : result
Type:
objectAdditional Properties Allowed
Show Source
A collection of intervals modeling resource working time. Each interval identifies the shift, exception parent, start and end time, and available units value.
Nested Schema : additionalProperties
Type:
Show Source
array-
Array of:
object items
Additional Properties Allowed: additionalProperties