OS1 Services
...
Order Service
Integrate with Platform Order ...
How to: Use Plugin in Platform Order Management
6min
how to order plugin order plugin is used for validation/enrichment of order initiated, get more information about order validation and enrichment plugins docid\ vvyisraghps 8rb00jcoo how to create order plugin to create the external plugin in platform order service, check the details of the order validation and enrichment plugins docid\ vvyisraghps 8rb00jcoo given sample json is provided further sample json for creating order plugin { "name" " plugin", "description" "automation", "httpurl" "https //www google com/", "httpmethod" "get", "httprequestbodytemplate" \[ { "outputjsonpath" {} } ], "responsetype" "async", "secretkey" "aksjd" //use actual secret key } how to update order plugin to update the update a plugin docid\ o0jwlafjnzov0my4cgf n call the update plugin api endpoint and update the order plugin as shown below sample json to update order plugin { "name" "update plugin", "description" "automation test", "httpurl" "https //www google com/", "httpmethod" "post", "httprequestbodytemplate" \[ { "outputjsonpath" {} } ], "responsetype" "async", "secretkey" "aksjd" //use actual secret key } how to get order plugin by id to get details of any specific order plugin call the get a plugin docid\ p1kplz0m3r6kmwfbd rbu by id api endpoint and enter the plugin id to fetch its details how to workorder plugin the workorder plugin is used to define the sequence in which the plugins will be executed (in case of more than one plugin) get more details about attributes of order validation and enrichment plugins docid\ vvyisraghps 8rb00jcoo how to create workorder plugin call the create workorder plugin endpoint api and structure the payload as shown below sample json for creating workorder plugin { "name" "initiateevent", "description" "workflow for job completion", "tag" \[ { "name" "workordermanager", "value" "workflow" }, { "name" "containermanager", "value" "workflow" } ], "pre" { "plugins" \[ "plugin1" ] }, "main" { "plugins" \[ "plugin2" ] } } how to update the workorder plugin to update the workorder plugin call the update a plugin workflow docid\ xcwlbyveddurd0b9rb40p and update the workorder plugin attributes how to get workorder plugin to fetch the workorder plugin details call the fetch a plugin workflow details docid\ teduraxjhdtu3k5w6btae api endpoint and pass the workorder plugin id