Create one group
post
/fscmRestApi/resources/11.13.18.05/buyerPlanningGroupDetails/buyerPlanningGroupDetails
A POST to create a group and assign to one or more orders.
Request
Header Parameters
-
Metadata-Context(required):
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(required):
The protocol version between a REST client and service. If the client doesn't specify this header in the request the server picks a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Root Schema : schema
Type:
Show Source
object
-
GroupOrders: array
GroupOrders
-
ImplementDockDate: string
Date when the material should be on the receiving dock when the order is released.
-
IsNewGrpCodeFlag: string
Indicates whether or not the group is new or already exists. The values can be Y or N. If the value is N, then the group already exists.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the organization associated with the order.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
SupplierId: integer
(int64)
Value that uniquely identifies the source supplier.
-
SupplierSiteId: integer
(int64)
Value that uniquely identifies the specific supplier site from where the item is being sourced.
Nested Schema : items
Type:
Show Source
object
-
if-match: string
Type of conditional request header used to confirm a records latest version.
-
PartKey: integer
(int64)
Number that indicates the source application instance identifier of the item organization.
-
TransactionId: integer
(int64)
Value that uniquely identifies the supply transaction. This value is internally generated by the application.
Root Schema : schema
Type:
Show Source
object
-
GroupOrders: array
GroupOrders
-
ImplementDockDate: string
Date when the material should be on the receiving dock when the order is released.
-
IsNewGrpCodeFlag: string
Indicates whether or not the group is new or already exists. The values can be Y or N. If the value is N, then the group already exists.
-
OrganizationId: integer
(int64)
Value that uniquely identifies the organization associated with the order.
-
PlanId: integer
(int64)
Value that uniquely identifies the plan.
-
SupplierId: integer
(int64)
Value that uniquely identifies the source supplier.
-
SupplierSiteId: integer
(int64)
Value that uniquely identifies the specific supplier site from where the item is being sourced.
Nested Schema : items
Type:
Show Source
object
-
if-match: string
Type of conditional request header used to confirm a records latest version.
-
PartKey: integer
(int64)
Number that indicates the source application instance identifier of the item organization.
-
TransactionId: integer
(int64)
Value that uniquely identifies the supply transaction. This value is internally generated by the application.
Response
Default Response
#/responses/buyerPlanningGroupDetails-single-response
Examples
This example describes how to create one group.
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/buyerPlanningGroupDetails"
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.
{ "GroupOrders": [ { "if-match": "E4DA3B7FBBCE2345D7772B0674A318D5", "PartKey": "999999999999999999", "TransactionId": "99737201" }, { "if-match": "E4DA3B7FBBCE2345D7772B0674A318D5", "PartKey": "999999999999999999", "TransactionId": "99737206" }, { "if-match": "E4DA3B7FBBCE2345D7772B0674A318D5", "PartKey": "999999999999999999", "TransactionId": "99737212" } ], "ImplementDockDate": "2024-01-08", "IsNewGrpCodeFlag": "Y", "OrganizationId": 147201, "PlanId": "300100573650296", "ReleaseGroupCode": "BP_TESTCODE2", "SupplierId": 2736183, "SupplierSiteId": 7463786 }
Example Response Body
The following example includes the contents of the response body in JSON format:
{ "Status": "Process completed" }