Get MS ESD Plans

The MS ESD API allows you to get MS ESD plans with price.

Get MS ESD Plans

This functionality allows you to get MS ESD plans with price.

HTTP Method

POST

Request URL

https://yourdomain.com/api/v2/esd/plans

Token

Token is required as an authentication parameter to get response from an API. Detailed Information about Tokens has been provided in the Authentication API Doc.

Request Headers

cache-control: no-cache,

Validate: Bearer <Token>

Parameters

Name

Data Type

Required/Optional

Description

Example

planid

Integer

Optional

Plan id of ESD plan

195

skuid

Varchar

Optional

SKU id for ESD plan

ABC-77777

Response

Returns a JSON response with details as shown below:

( Below displayed response is after decoding JSON )

Array ( [status] => Success [data] => Array ( [0] => Array ( [planid] => 195 [planname] => Office 365 Home [paymenttype] => onetime [skuid] => [margin] => 5 [returntype] => [pricing] => Array ( [&#x20B9;] => Array ( [currency_id] => 1 [onetime_setup] => 10.00 [onetime_price] => 100.00 ) [$] => Array ( [currency_id] => 2 [onetime_setup] => -1.00 [onetime_price] => -1.00 ) [POUND] => Array ( [currency_id] => 7 [onetime_setup] => -1.00 [onetime_price] => -1.00 ) [K&#269;] => Array ( [currency_id] => 11 [onetime_setup] => -1.00 [onetime_price] => -1.00 ) [AED] => Array ( [currency_id] => 12 [onetime_setup] => -1.00 [onetime_price] => -1.00 ) ) ) ) )

In case of any errors, an error code key with value along with an error message will be returned.