Microsoft Cloud Solutions Price List Reseller

/cloud-solutions-price-list-reseller

GET

Get a list of configured price lists for resellers

Request parameters

All parameters are optional

price_list

string

UUID of the price list to return the results for.

reseller

string

UUID of the reseller to return the results for.

JSON response

Possible errors

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/cloud-solutions-price-list-reseller" | python -m json.tool

POST

Create a price list configuration for a reseller.

Note

Only one price list can be defined for a reseller.

JSON request

price_list

string

UUID of the price list to make available for the reseller.

reseller

string

UUID of the reseller to make the price list available for.

JSON response

Possible errors

Sample

curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
    {
        "reseller": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "price_list": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
' \
"{{api_base_url}}/cloud-solutions-price-list-reseller" | python -m json.tool

/cloud-solutions-price-list-reseller/{id}

GET

Get detailed information about a reseller price list configuration.

JSON response

Possible errors

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/cloud-solutions-price-list-reseller/{id}" | python -m json.tool

DELETE

Delete a reseller price list configuration

JSON response

Possible errors

Sample

curl \
--request DELETE \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/cloud-solutions-price-list-reseller/{id}" | python -m json.tool