Document Templates

Update a Document Template

Changed on

OAuth Scope

This endpoint requires the following OAuth scope manage_templates.

post/documenttemplate/{uuid}.json

Request

  • Base URL
    https://api.servicem8.com/api_1.0
  • URL
    https://api.servicem8.com/api_1.0/documenttemplate/{uuid}.json
  • Auth
    • API key in header X-Api-Key
    • or OAuth 2
      Authorization code: https://api.servicem8.com/oauth/authorize
      Token URL: https://api.servicem8.com/oauth/access_token scopes: manage_templates

Path parameters

uuidstring uuid required

UUID of the Document Template

Request body

uuidstring uuid

Unique identifier for this record

namestring

Example request

{
  "uuid": "123e4567-5795-4fa5-9349-23f94a83bcfb"
}

Response

Success - The record was updated successfully

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}

Changes

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status