Resource path /Account/PriceList/Get
https://testapi.internet.bs/Account/PriceList/Get?ApiKey=testapi&Password=testpass
The command is intended to obtain our pricelist.
HTTPS POST/GET Request parameters:
| Parameter name | Description |
ApiKey |
The API key that we provided to you when you requested API access for your account |
Password |
The password we provided when you requested API access for your account |
discountCode |
A discount code for which to get the prices. If the discount code does not exist or is not valid anymore the regular prices will be returned. By default it is empty. |
Currency |
The prices currency. If not provided we will return prices in your default currency. |
version |
The command version. Possible values are 1 and 2. Default value is 1 and it will return the price for the first year of registration, first year of renewal, etc. If set to 2 then command will return all current prices for all products. |
ResponseFormat |
This specifies how the response will be returned. Possible values are TEXT, JSON and XML. |
Returned data:
Product, Price and Currency will appear multiple times: once for every product.
Example:
https://testapi.internet.bs/Account/PriceList/Get?ApiKey=testapi&Password=testpass¤cy=cad
Result:
Example (version=2):
https://testapi.internet.bs/Account/PriceList/Get?ApiKey=testapi&Password=testpass¤cy=usd
Result:
