Performs the Allocate Cost action for one or more order releases.
post
/custom-actions/allocateCost/orderReleases/
Request
Header Parameters
-
Prefer: string
An optional header parameter that allows you to process the request asynchronously. Set the request header "Prefer" to "respond-async" for asynchronous processing. For synchronous processing, leave the parameter blank or do not define it.
Supported Media Types
- application/json
Nested Schema : actionRequest
Type:
Show Source
object
-
pks: array
pks
Object primary keys that supports one or more multi-part (compound) keys
-
reasonCodeGid: string
A code describing the reason for the action.
-
responsiblePartyGid: string
Describes the person or people that will be affected by the action.
-
statusCodeGid: string
A code associated with the action to be performed.
Nested Schema : pks
Type:
array
Object primary keys that supports one or more multi-part (compound) keys
Show Source
Response
Supported Media Types
- application/json
200 Response
Default response.
Nested Schema : allocateCostResponse-allOf[1]
Type:
Show Source
object
-
message: string
Example:
Allocation complete. View Order for allocation details.