'OVH Api specific task sequence
Is it possible somehow to know the sequence to perform a specific task?
For instance, domain registration.
API commands documented here: https://api.ovh.com/console/ but in order to do a specific task you need to know the sequence (create cart, availability check, create plan, etc)
Solution 1:[1]
There are no documentations about sequence at the moment. You have to find out by yourself. For example you need to checkout, try to execute that command and see what do you need in order to complete. Then you execute that command which should give you results and then see whats missing for that command. And by doing this, you can find the starting point.
Solution 2:[2]
As you say, there is no documentation about this API calls sequences to perform a given action.
But as OVH API is used by OVH Manager (the GUI where you can order & configure products), one way of knowing the sequence can be to make an order once via the OVH Manager, and thanks to the developer console of your browser, see which calls are made and then see the sequence.
This is definitively a boring solution, but that's the only one I know.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Aer |
Solution 2 | PierreF |