POST TaskTypes

Request Information

URI Parameters

None.

Body Parameters

TaskTypeParams
NameDescriptionTypeAdditional information
Task

TaskType

None.

Associations

Collection of TaskStatusTypeTaskType

None.

Request Formats

application/json, text/json

Sample:
{
  "Task": {
    "TaskTypeId": "3ac42140-696c-4023-8b51-b444e7efa183",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "229c4b83-9404-4e62-b03c-c82630da11ae",
        "Section": {
          "TaskTypeSectionId": "26bf1760-e227-4ccb-a3b4-7e1991b0f01a",
          "Name": "sample string 1",
          "Label": "sample string 2",
          "DisplayOrder": 1,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 4",
          "SourceSystemId": "sample string 5"
        },
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Description": "sample string 3",
        "DataType": {
          "DataTypeId": "4772242d-0e7b-4096-9544-4b9bc3c0b6bd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f06b3187-22c8-4a32-bf60-38437915c616",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1787f648-f70d-457d-b9bc-295561929307",
          "CreateDate": "2026-04-30T21:01:04.2793948-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-30T21:01:04.2793948-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "2d02e011-67c2-4953-803e-74acf7838a08",
            "FieldId": "80d2195f-fb3a-4e77-b4d2-452e7f60776b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "2d02e011-67c2-4953-803e-74acf7838a08",
            "FieldId": "80d2195f-fb3a-4e77-b4d2-452e7f60776b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "ValueExpression": "sample string 5",
        "RequiredExpression": "sample string 6",
        "IsAttachment": true,
        "DefaultValueExpression": "sample string 8",
        "IsMultiline": true,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 11",
        "SourceSystemId": "sample string 12"
      },
      {
        "TaskTypeFieldId": "229c4b83-9404-4e62-b03c-c82630da11ae",
        "Section": {
          "TaskTypeSectionId": "26bf1760-e227-4ccb-a3b4-7e1991b0f01a",
          "Name": "sample string 1",
          "Label": "sample string 2",
          "DisplayOrder": 1,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 4",
          "SourceSystemId": "sample string 5"
        },
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Description": "sample string 3",
        "DataType": {
          "DataTypeId": "4772242d-0e7b-4096-9544-4b9bc3c0b6bd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f06b3187-22c8-4a32-bf60-38437915c616",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "1787f648-f70d-457d-b9bc-295561929307",
          "CreateDate": "2026-04-30T21:01:04.2793948-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-30T21:01:04.2793948-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "2d02e011-67c2-4953-803e-74acf7838a08",
            "FieldId": "80d2195f-fb3a-4e77-b4d2-452e7f60776b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "2d02e011-67c2-4953-803e-74acf7838a08",
            "FieldId": "80d2195f-fb3a-4e77-b4d2-452e7f60776b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "ValueExpression": "sample string 5",
        "RequiredExpression": "sample string 6",
        "IsAttachment": true,
        "DefaultValueExpression": "sample string 8",
        "IsMultiline": true,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 11",
        "SourceSystemId": "sample string 12"
      }
    ],
    "SourceSystemId": "sample string 4",
    "CompanyId": "2f335db8-810c-488b-a783-3d48d95d34da",
    "CreateDate": "2026-04-30T21:01:04.2793948-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-04-30T21:01:04.2793948-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "0eab7201-f639-4e1f-8667-539393c28f6c",
      "CompanyId": "e7174d26-0c78-436a-9a4c-535fb31978d8",
      "TaskStatusTypeId": "8dee7308-87dc-4915-a479-2e0a27ab846d",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "9a8f2e85-42b3-48c9-aaf8-0925f749e3fd",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "0eab7201-f639-4e1f-8667-539393c28f6c",
      "CompanyId": "e7174d26-0c78-436a-9a4c-535fb31978d8",
      "TaskStatusTypeId": "8dee7308-87dc-4915-a479-2e0a27ab846d",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "9a8f2e85-42b3-48c9-aaf8-0925f749e3fd",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    }
  ]
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

TaskType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "TaskTypeId": "e8932839-483a-49a8-a2b1-4ca9c1974070",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "ae9f5c6b-c7e3-4674-aa7a-ecabb035989d",
        "Section": {
          "TaskTypeSectionId": "fab86a88-037b-4d9d-a170-30acabffe97f",
          "Name": "sample string 1",
          "Label": "sample string 2",
          "DisplayOrder": 1,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 4",
          "SourceSystemId": "sample string 5"
        },
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Description": "sample string 3",
        "DataType": {
          "DataTypeId": "6a70f85a-8751-4d39-a24a-56461f6b25fd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "3f832225-69fa-4649-b343-69a2677742b1",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4e969798-f5be-4eff-9d68-0dc9305734eb",
          "CreateDate": "2026-04-30T21:01:04.2950138-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-30T21:01:04.2950138-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5694d09a-4efa-4a24-a567-40190de3d790",
            "FieldId": "58e58ba7-3219-47d0-a5b6-38c8b6b7369d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5694d09a-4efa-4a24-a567-40190de3d790",
            "FieldId": "58e58ba7-3219-47d0-a5b6-38c8b6b7369d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "ValueExpression": "sample string 5",
        "RequiredExpression": "sample string 6",
        "IsAttachment": true,
        "DefaultValueExpression": "sample string 8",
        "IsMultiline": true,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 11",
        "SourceSystemId": "sample string 12"
      },
      {
        "TaskTypeFieldId": "ae9f5c6b-c7e3-4674-aa7a-ecabb035989d",
        "Section": {
          "TaskTypeSectionId": "fab86a88-037b-4d9d-a170-30acabffe97f",
          "Name": "sample string 1",
          "Label": "sample string 2",
          "DisplayOrder": 1,
          "IsRepeatable": true,
          "VisibleExpression": "sample string 4",
          "SourceSystemId": "sample string 5"
        },
        "Name": "sample string 1",
        "Label": "sample string 2",
        "Description": "sample string 3",
        "DataType": {
          "DataTypeId": "6a70f85a-8751-4d39-a24a-56461f6b25fd",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "3f832225-69fa-4649-b343-69a2677742b1",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4e969798-f5be-4eff-9d68-0dc9305734eb",
          "CreateDate": "2026-04-30T21:01:04.2950138-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-04-30T21:01:04.2950138-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5694d09a-4efa-4a24-a567-40190de3d790",
            "FieldId": "58e58ba7-3219-47d0-a5b6-38c8b6b7369d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5694d09a-4efa-4a24-a567-40190de3d790",
            "FieldId": "58e58ba7-3219-47d0-a5b6-38c8b6b7369d",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          }
        ],
        "ValueExpression": "sample string 5",
        "RequiredExpression": "sample string 6",
        "IsAttachment": true,
        "DefaultValueExpression": "sample string 8",
        "IsMultiline": true,
        "IsRepeatable": true,
        "VisibleExpression": "sample string 11",
        "SourceSystemId": "sample string 12"
      }
    ],
    "SourceSystemId": "sample string 4",
    "CompanyId": "54d2eef0-341f-40f8-b628-ac4fe79e0b1d",
    "CreateDate": "2026-04-30T21:01:04.2950138-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-04-30T21:01:04.2950138-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}