Microsoft Cloud Solutions Price List¶
/cloud-solutions-price-list¶
GET¶
Returns the available price lists
Request parameters
N/A
JSON response
array: Cloud Solutions Price List
Possible errors
N/A
Sample
curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/cloud-solutions-price-list" | python -m json.tool
POST¶
Create a price list
JSON request
|
string |
Name of the price list. |
JSON response
object: Cloud Solutions Price List
Sample
curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
{
"name": "Test Price List"
}
' \
"{{api_base_url}}/cloud-solutions-price-list" | python -m json.tool
/cloud-solutions-price-list/{id}¶
GET¶
Get detailed information about a price list.
Request parameters
N/A
JSON response
object: Cloud Solutions Price List
Possible errors
Sample
curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/cloud-solutions-price-list/{id}" | python -m json.tool
PUT¶
Update a price list
JSON request
|
string |
Name of the price list. |
JSON response
object: Cloud Solutions Price List
Possible errors
Sample
curl \
--request PUT \
--user "{{api_username}}:{{api_key}}" \
--data '
{
"name": "Updated name"
}
' \
"{{api_base_url}}/cloud-solutions-price-list/{id}" | python -m json.tool
DELETE¶
Delete a price list
JSON request
object: Cloud Solutions Price List
Possible errors
Sample
curl \
--request DELETE \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/cloud-solutions-price-list/{id}" | python -m json.tool