Activate an aggregation schedule
/fscmRestApi/resources/11.13.18.05/collaborationAggregationSchedules/action/activateSchedule
Request
-
Metadata-Context:
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:
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.
- application/vnd.oracle.adf.action+json
object
-
DisplayedAggregationLevel: string
Abbreviation that identifies the displayed aggregation level for supply chain collaboration. A list of acceptable values is defined in the lookup type ORA_VCS_AGGREG_LEVEL .
-
SourceScheduleId: string
Value that uniquely identifies the source schedule for supply chain collaboration.
Response
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
object
-
result(required): string
Value that indicates if the action was successful.
Examples
This example describes how to activate an aggregation schedule.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/collaborationAggregationSchedules/action/activateSchedule"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "SourceScheduleId":"100000016383001", "DisplayedAggregationLevel":"ORA_VCS_WEEK_DAY" }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "result" : "Schedule activated" }