Dispatches_Documents

Create Document template

Changed on
post/fleetify/document_templates

Request

Query parameters

keystring required

A key is a unique identifier that is required to authenticate a request to the API.

Request body

namestring required

Specify a name for the document template to be created.

Example request

{
  "content": [
    {
      "label": "\"label\": \"Specify Completion Time\"",
      "name": "\"name\" : \"Completion DateTime\"",
      "meta": {
        "options": [
          {
            "label": "\"label\": \"Option 1\"",
            "value": "\"value\": \"Car\""
          }
        ]
      }
    }
  ]
}

Response

statusinteger

Returns the HTTP response code.

msgstring

Returns the error message in case of a failed request. If the request is successful, this field is not present in the response.

Changes

    • breaking

      removed the enum value barcode of the request property //

    • breaking

      removed the enum value date_time of the request property //

    • breaking

      removed the enum value multi_choices of the request property //

    • breaking

      removed the enum value number of the request property //

    • breaking

      removed the enum value photos of the request property //

    • breaking

      removed the enum value signature of the request property //

    • breaking

      removed the enum value single_choice of the request property //

    • breaking

      removed the enum value string of the request property //

    • info

      added the new barcode enum value to the request property //

    • info

      added the new date_time enum value to the request property //

    • info

      added the new multi_choices enum value to the request property //

    • info

      added the new number enum value to the request property //

    • info

      added the new photos enum value to the request property //

    • info

      added the new signature enum value to the request property //

    • info

      added the new single_choice enum value to the request property //

    • info

      added the new string enum value to the request property //

    • breaking

      removed the enum value barcode of the request property //

    • breaking

      removed the enum value date_time of the request property //

    • breaking

      removed the enum value multi_choices of the request property //

    • breaking

      removed the enum value number of the request property //

    • breaking

      removed the enum value photos of the request property //

    • breaking

      removed the enum value signature of the request property //

    • breaking

      removed the enum value single_choice of the request property //

    • breaking

      removed the enum value string of the request property //

    • info

      added the new barcode enum value to the request property //

    • info

      added the new date_time enum value to the request property //

    • info

      added the new multi_choices enum value to the request property //

    • info

      added the new number enum value to the request property //

    • info

      added the new photos enum value to the request property //

    • info

      added the new signature enum value to the request property //

    • info

      added the new single_choice enum value to the request property //

    • info

      added the new string enum value to the request property //