Create calendar data for the production line for the Production Calendar task.
post
/fscmRestApi/resources/11.13.18.05/productionCalendarShiftExceptions/action/generateProductionLineCalendarData
Creates calendar data for the production line for the Production Calendar task.
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-
calendarId: string
Value that uniquely identifies the schedule when viewing the calendar of a production line.
-
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.
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