Working with the Model Template API


The Model Template API part of the unified Chargeback API allows you to allows you to define and manage cost model template objects.

This topic describes how can you can perform the following operations on Model Template Objects using HTTP method calls provided by the Chargeback API.

To create a model template

You can use the POST HTTP method to create and instantiate model templates through the Chargeback API.

To instantiate a new instance of a model template

To add existing cost objects to the model template

To retrieve a model template

You can use the GET HTTP method to retrieve model templates through the Chargeback API.

To retrieve a model template by ID

To retrieve a model template by ID and cost object ID

To search all instances of a model template

To search cost objects allocated to the model template

To update a model template

You can use the PUT HTTP method to modify or update model templates through the Chargeback API.

To modify data about a model template by ID

To delete a model template

You can use the DELETE HTTP method to delete or remove model templates through the Chargeback API.

To delete a model template by ID

To delete the cost object associated with the model template by cost object ID

Where to go from here

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*