Create calendar data for the plant, work center or production line for the Production Calendar task.
post
/fscmRestApi/resources/11.13.18.05/productionCalendarShiftExceptions/action/generateProductionCalendarData
Generate the calendar data for a specified date range for the specified plant or work center. The calendar information shows the active shifts, as well as known shift exceptions which alter standard working time. This action is intended for use in Oracle Fusion Cloud Manufacturing or Maintenance when viewing the production calendar.
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 production 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.
-
startDate: string
(date)
Date where the production 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 when viewing the calendar of a work center that overrides the production calendar for the plant.
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 working time. Each interval identifies the shift, exception parent, and the start and end times.
Nested Schema : result
Type:
objectAdditional Properties Allowed
Show Source
A collection of intervals modeling working time. Each interval identifies the shift, exception parent, and the start and end times.
Nested Schema : additionalProperties
Type:
Show Source
array-
Array of:
object items
Additional Properties Allowed: additionalProperties