...
We recommend using the Shopping portal for provisioning software, but if you already have established process in place and only want to use Shopping for its delivery features, we have provided the following methods.
-
GetAllApplicationsInfo
– returns a list of all shoppable applications -
GetUsersInfo
– returns user information based on the user account or email address -
GetMachineInfo
– returns machine information based on its domain and machine name -
GetOrderStatus
– returns the status of the order based on the order reference -
PlaceOrder
– places order in Shopping -
ApprovePendingOrder
– approves a pending order. Only supports a single approver workflow -
RejectPendingOrder
– rejects a pending order. Only supports a single approver workflow
When invoking the POST APIs, make sure that UserAgent for the request is set to mimic a browser's user agent, for example. Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Add "X-Requested-With" header to the request with value set to "XMLHttpRequest" while invoking the POST APIs.
...
applicationid
– the application id to be installed. Derived fromGetAllApplicationsInfo
machineid
– the machine id the application is to be installed on. Derived fromGetMachineInfo
userid
– the user id requesting the application. Derived fromGetUsersInfo
comments
– optional parameter to capture comments from the user making the request
...