Create Template

Create a template for a product.

POSThttps://api.platform.softwareone.com/public/v1/products/{productId}/templates
Path parameters
productId*string
Body
name*string
typeenum
OrderProcessingOrderQueryingOrderCompletedRequestProcessing
defaultboolean
content*string
Response

Created

Body
idstring
auditobject
$metaobject
hrefstring
namestring
contentstring
typeenum
OrderProcessingOrderQueryingOrderCompletedRequestProcessing
defaultboolean
productobject
Request
const response = await fetch('https://api.platform.softwareone.com/public/v1/products/{productId}/templates', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "content": "text",
      "name": "text"
    }),
});
const data = await response.json();
Response
{
  "id": "text",
  "href": "text",
  "name": "text",
  "content": "text",
  "type": "OrderProcessing",
  "default": false
}

Last updated

SoftwareOne is a trademark of SoftwareOne, Inc. "The Software Licensing Experts" is a service mark of SoftwareOne, Inc. VAR assist is a trademark of SoftwareOne, Inc. "It pays to partner" is a service mark of SoftwareOne, Incorporated.