The following diagram shows the possible states for the templates object in the Marketplace Platform and the transition between these states:
State
Definition
Idle
The template object has been created as part of the product definition.
The object will be used in the scope of orders, agreements, and notification messages.
Deleted
The template no longer exists.
It's no longer part of the product definition and can't be used anymore.
Create Template
Create a template for a product.
Update Template
Update a template for a product.
Get Template
Get a template for a product.
List Templates
Get a list of templates for a product.
Templates
Template object
The Template object provides functionality for templates to be made and automatically delivered once a set of rules based on type is achieved. This enables the client to know what is happening with their order and if anything is needed of them.
Field
Type
Description
Example
id
string
Template ID.
Example: "TPL-1234-5678"
href
string
Relative reference to object on API (always products/{id}/templates/{id})
<p>We are delighted that you have contacted us at SoftwareOne. Your interest in Microsoft 365 Online Services product is greatly valued, and we are here to provide all the support you need. Our dedicated team is actively working on your query, and we are committed to responding within 24 hours. \n Thank you!!!<p>
default
boolean
Each product will have 4 defaults automatically generated upon product creation (against each status)
Each template automatically created will have a default system message client account will need to update these
{"id":"TPL-1234-5678-0001","href":"v1/products/PRD-1234-1234/templates/TPL-1234-5678-0001","name":"Thank you for your interest","type":"RequestProcessing","content":"We are delighted that you have contacted us at SoftwareOne. Your interest in Microsoft 365 Online Services product is greatly valued, and we are here to provide all the support you need. Our dedicated team is actively working on your query, and we are committed to responding within 24 hours. \n Thank you!!!","isDefault":true,"product": {"id":"PRD-1234-5678-0001" }}