Dispatches_Documents

Create Document template

post/fleetify/document_templates

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

Changed in 3 of the 15 revisions of this API.2424

  • 7ee76f0ff67988See the full diff
    • removed the enum value barcode of the request property //

      request-property-enum-value-removed

    • removed the enum value date_time of the request property //

      request-property-enum-value-removed

    • removed the enum value multi_choices of the request property //

      request-property-enum-value-removed

    • removed the enum value number of the request property //

      request-property-enum-value-removed

    • removed the enum value photos of the request property //

      request-property-enum-value-removed

    • removed the enum value signature of the request property //

      request-property-enum-value-removed

    • removed the enum value single_choice of the request property //

      request-property-enum-value-removed

    • removed the enum value string of the request property //

      request-property-enum-value-removed

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • a800b73f11c188See the full diff
    • removed the enum value barcode of the request property //

      request-property-enum-value-removed

    • removed the enum value date_time of the request property //

      request-property-enum-value-removed

    • removed the enum value multi_choices of the request property //

      request-property-enum-value-removed

    • removed the enum value number of the request property //

      request-property-enum-value-removed

    • removed the enum value photos of the request property //

      request-property-enum-value-removed

    • removed the enum value signature of the request property //

      request-property-enum-value-removed

    • removed the enum value single_choice of the request property //

      request-property-enum-value-removed

    • removed the enum value string of the request property //

      request-property-enum-value-removed

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

  • b79d96775b1388See the full diff
    • removed the enum value barcode of the request property //

      request-property-enum-value-removed

    • removed the enum value date_time of the request property //

      request-property-enum-value-removed

    • removed the enum value multi_choices of the request property //

      request-property-enum-value-removed

    • removed the enum value number of the request property //

      request-property-enum-value-removed

    • removed the enum value photos of the request property //

      request-property-enum-value-removed

    • removed the enum value signature of the request property //

      request-property-enum-value-removed

    • removed the enum value single_choice of the request property //

      request-property-enum-value-removed

    • removed the enum value string of the request property //

      request-property-enum-value-removed

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added

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

      request-property-enum-value-added