These methods are supported on Shopping 5.2 and later (and 5.1 with hotfix Q12679).

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.

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.

GetAllApplicationsInfo

Gets a list of all the applications in the system.

Type

GET

Usage

URL: [ShoppingBaseUrl]/Requestitems/GetAllApplicationsInfo?responseFormat=xml

Input Parameters

responseFormat – the default response is in JSON format but can be set to XML with responseFormat=xml

Returns

GetUsersInfo

Gets the user id.

Type

GET

Usage

Input parameters

Returns

GetMachineInfo

Gets information about the machine based its domain and machine name.

Type

GET

Usage

Input parameters

Returns

GetOrderStatus

Returns the status of a particular order.

Type

Usage

Input parameters

Returns

PlaceOrder

Enables an order to be placed for a particular user and machine. The user and machine must already exist in the Shopping database for this method to succeed.

Type

Usage

Input parameters

Returns

ApprovePendingOrder

Approves a pending order. This method only supports the single approver workflow.

Type

Usage

Input parameters

Returns

RejectPendingOrder

Rejects a pending order. This method only supports the single approver workflow.

Type

Usage

Input parameters

Returns