Set PlanItem Request
Method: HTTP POST method
Endpoint: http://<host_address>:<port_address>/v1/planitems
Name | Type | Value |
---|---|---|
businessTransactionID (optional) | string (query) | businessTransactionID |
CorrectionID (optional) | string (query) | CorrectionID |
notificationType | Boolean (query) | true or false |
orderId (mandatory) | string (query) | orderid
Note: The value of orderId must not contain " : "
|
orderRef (optional) | string (query) | orderRef
Note: You must enter the orderRef value for the older orders where the orderRef was unique and there was no orderId. For the new orders, both the orderId and orderRef are the same, you can enter either one.
Note: The value of orderRef must not contain " : "
|
planID (optional) | string (query) | planID |
replaceInHeader (optional) | Boolean (query) |
true or false Note: When the
replace flag is set to true and if the flavor of the udf is input or output , the existing udf for the plan item is replaced. If the flavor is config , then the udf is appended and not replaced even if the replace flag is set to true. |
setPlanItemRequest (mandatory) | body | request values |
Example of setPlanItemRequest:
{ "businessTransactionID": "string", "planID": "string", "planItem": { "planItemID": "string", "planItemName": "string", "udf": [ { "evaluationPriority": "string", "flavor": "string", "name": "string", "type": "string", "value": "string" } ] }, "replace": {} }