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": "6fb2514a-d415-4f10-86d8-6a3b0d883385",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "b0c4d4e2-dc23-43f7-be22-0994065e4970",
        "Section": {
          "TaskTypeSectionId": "02dec3b4-3d2f-452e-8fa2-c0dfdf918fde",
          "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": "19698bfe-512e-4ca6-b0f8-e22eec233cbc",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e8486dc5-750a-4caf-9684-c2f64f15a253",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "0106de3a-6fa9-4948-a7ff-3e888de66a61",
          "CreateDate": "2026-06-01T23:32:11.826474-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-01T23:32:11.826474-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c80a2b4b-0e06-48ae-a875-2ffcf03449b1",
            "FieldId": "97020952-0d74-4cbb-80c4-8441a3ddd59b",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c80a2b4b-0e06-48ae-a875-2ffcf03449b1",
            "FieldId": "97020952-0d74-4cbb-80c4-8441a3ddd59b",
            "FieldName": "sample string 1",
            "FieldLable": "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": "b0c4d4e2-dc23-43f7-be22-0994065e4970",
        "Section": {
          "TaskTypeSectionId": "02dec3b4-3d2f-452e-8fa2-c0dfdf918fde",
          "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": "19698bfe-512e-4ca6-b0f8-e22eec233cbc",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "e8486dc5-750a-4caf-9684-c2f64f15a253",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "0106de3a-6fa9-4948-a7ff-3e888de66a61",
          "CreateDate": "2026-06-01T23:32:11.826474-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-01T23:32:11.826474-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "c80a2b4b-0e06-48ae-a875-2ffcf03449b1",
            "FieldId": "97020952-0d74-4cbb-80c4-8441a3ddd59b",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "c80a2b4b-0e06-48ae-a875-2ffcf03449b1",
            "FieldId": "97020952-0d74-4cbb-80c4-8441a3ddd59b",
            "FieldName": "sample string 1",
            "FieldLable": "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": "831b38c0-75d3-4edf-adf2-5379e90d6ba4",
    "CreateDate": "2026-06-01T23:32:11.826474-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-06-01T23:32:11.826474-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "bd4e78c3-4c19-4abe-87ab-25b642df4935",
      "CompanyId": "b7a29075-0af6-4337-9d11-87b447375190",
      "TaskStatusTypeId": "d48206ca-9a8c-4ce1-a04c-e85d1ce6b541",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "2349f3ae-e90b-4442-9b90-a93ad31df9ad",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "bd4e78c3-4c19-4abe-87ab-25b642df4935",
      "CompanyId": "b7a29075-0af6-4337-9d11-87b447375190",
      "TaskStatusTypeId": "d48206ca-9a8c-4ce1-a04c-e85d1ce6b541",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "2349f3ae-e90b-4442-9b90-a93ad31df9ad",
      "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": "880b18be-62a5-4a43-ad94-f0a78918b148",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "8f819558-1c30-4485-87b5-ee5c0b8c2d15",
        "Section": {
          "TaskTypeSectionId": "8df2fa18-a7e1-403a-aa37-ef817262c018",
          "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": "8cbdb71a-c4c4-47b4-b074-aeb0f929cb71",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cc939e50-7673-4353-8c59-81b52d1f0e4c",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dd5b8f17-c58a-4bae-b626-e3a208b339ba",
          "CreateDate": "2026-06-01T23:32:11.826474-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-01T23:32:11.826474-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e77e238f-00c4-4e4c-b230-f45733efec65",
            "FieldId": "b6778be5-8804-4f1d-ae81-3f5d53beb44f",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e77e238f-00c4-4e4c-b230-f45733efec65",
            "FieldId": "b6778be5-8804-4f1d-ae81-3f5d53beb44f",
            "FieldName": "sample string 1",
            "FieldLable": "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": "8f819558-1c30-4485-87b5-ee5c0b8c2d15",
        "Section": {
          "TaskTypeSectionId": "8df2fa18-a7e1-403a-aa37-ef817262c018",
          "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": "8cbdb71a-c4c4-47b4-b074-aeb0f929cb71",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "cc939e50-7673-4353-8c59-81b52d1f0e4c",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dd5b8f17-c58a-4bae-b626-e3a208b339ba",
          "CreateDate": "2026-06-01T23:32:11.826474-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-01T23:32:11.826474-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e77e238f-00c4-4e4c-b230-f45733efec65",
            "FieldId": "b6778be5-8804-4f1d-ae81-3f5d53beb44f",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e77e238f-00c4-4e4c-b230-f45733efec65",
            "FieldId": "b6778be5-8804-4f1d-ae81-3f5d53beb44f",
            "FieldName": "sample string 1",
            "FieldLable": "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": "dc3ef5ac-7806-42b8-8363-e2fceff5577b",
    "CreateDate": "2026-06-01T23:32:11.826474-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-06-01T23:32:11.826474-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}