Operations Management/Billing Management Operations
POSTBilling Management OperationsSince 3.7.2SynchronousAuth Required
CreatePriceTable
CreatePriceTable
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
nameStringRequiredThe name of the price table.
descriptionStringOptional. The detailed description of the price table.
pricesListRequiredNo description provided.
resourceUuidStringOptional. The price table UUID.
tagUuidsListOptional. The tag UUID list.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/billings/price-tables
/zstack/v1/billings/price-tables
Request Example
curl -X POST 'http://{host}/zstack/v1/billings/price-tables' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"name":"<name>","description":"<description>","prices":["<prices>"],"resourceUuid":"<resourceUuid>","tagUuids":["<tagUuids>"]},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "5a30b2b4c9283fb5ab1971e883d1f315", "name": "price table", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } }Change History
This API has no change history records yet.
