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": "acb77d99-a4be-4186-a5b8-435c3d81153b",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "8c3d2908-9617-45b0-b161-d2000062cc8e",
        "Section": {
          "TaskTypeSectionId": "e7d4795a-97da-4bd6-9db5-0f2b1381a055",
          "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": "a86d50de-561f-43ca-8d0f-a2616487a60e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f2915d4e-89e0-4eaa-aff8-8b24d8663592",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "58e5f23d-daa8-435d-82cc-7811af05f8b7",
          "CreateDate": "2026-05-20T22:10:56.1968159-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-20T22:10:56.1968159-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5a82685e-0138-46db-8eae-5c8fcb22862c",
            "FieldId": "d7812dec-99bc-4c28-90c0-6197f3e609f2",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5a82685e-0138-46db-8eae-5c8fcb22862c",
            "FieldId": "d7812dec-99bc-4c28-90c0-6197f3e609f2",
            "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": "8c3d2908-9617-45b0-b161-d2000062cc8e",
        "Section": {
          "TaskTypeSectionId": "e7d4795a-97da-4bd6-9db5-0f2b1381a055",
          "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": "a86d50de-561f-43ca-8d0f-a2616487a60e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "f2915d4e-89e0-4eaa-aff8-8b24d8663592",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "58e5f23d-daa8-435d-82cc-7811af05f8b7",
          "CreateDate": "2026-05-20T22:10:56.1968159-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-20T22:10:56.1968159-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5a82685e-0138-46db-8eae-5c8fcb22862c",
            "FieldId": "d7812dec-99bc-4c28-90c0-6197f3e609f2",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5a82685e-0138-46db-8eae-5c8fcb22862c",
            "FieldId": "d7812dec-99bc-4c28-90c0-6197f3e609f2",
            "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": "4779086a-fc4d-4574-9064-4917aec5c6a6",
    "CreateDate": "2026-05-20T22:10:56.1968159-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-05-20T22:10:56.1968159-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "f3962f63-e7e5-4a34-9d77-376d8ae88c6b",
      "CompanyId": "17f2ed5a-02d1-480c-a2c4-d759acbd602e",
      "TaskStatusTypeId": "0299edd8-bcf5-4398-8494-287ae8da966e",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "312fdca2-bc48-4b1f-95b7-1c8d74013790",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "f3962f63-e7e5-4a34-9d77-376d8ae88c6b",
      "CompanyId": "17f2ed5a-02d1-480c-a2c4-d759acbd602e",
      "TaskStatusTypeId": "0299edd8-bcf5-4398-8494-287ae8da966e",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "312fdca2-bc48-4b1f-95b7-1c8d74013790",
      "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": "d34fcff3-1830-4b59-b53c-ac3ec693c1b5",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "7086aabb-29de-4598-a99f-674faab0e4bd",
        "Section": {
          "TaskTypeSectionId": "2da33f83-e524-4682-8936-1ff2f8598dc6",
          "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": "3defaf81-2901-4f93-8f9b-27bacbeb0162",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "d2fb066a-b2e8-4754-8a01-e811964abfdd",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f5c9c95e-4e8c-4865-ba16-d9735fc0b326",
          "CreateDate": "2026-05-20T22:10:56.1968159-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-20T22:10:56.1968159-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e2998421-6838-4598-8cd3-6ebbd326fb69",
            "FieldId": "dd16d816-4bf7-4e83-a1be-7b15580d2f46",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e2998421-6838-4598-8cd3-6ebbd326fb69",
            "FieldId": "dd16d816-4bf7-4e83-a1be-7b15580d2f46",
            "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": "7086aabb-29de-4598-a99f-674faab0e4bd",
        "Section": {
          "TaskTypeSectionId": "2da33f83-e524-4682-8936-1ff2f8598dc6",
          "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": "3defaf81-2901-4f93-8f9b-27bacbeb0162",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "d2fb066a-b2e8-4754-8a01-e811964abfdd",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f5c9c95e-4e8c-4865-ba16-d9735fc0b326",
          "CreateDate": "2026-05-20T22:10:56.1968159-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-05-20T22:10:56.1968159-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e2998421-6838-4598-8cd3-6ebbd326fb69",
            "FieldId": "dd16d816-4bf7-4e83-a1be-7b15580d2f46",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e2998421-6838-4598-8cd3-6ebbd326fb69",
            "FieldId": "dd16d816-4bf7-4e83-a1be-7b15580d2f46",
            "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": "c388715c-e1e1-461f-b772-7306fc715451",
    "CreateDate": "2026-05-20T22:10:56.1968159-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-05-20T22:10:56.1968159-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}