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": "bc33cab7-d062-4267-8cdc-677652a8e868",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "ab08f6bd-f526-4e5c-851f-7d7c7b09ae41",
        "Section": {
          "TaskTypeSectionId": "39301230-bc02-443d-ae93-df155d124972",
          "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": "a95c45e4-d8de-478e-abe3-0af3978901dc",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "8dbc3e88-639d-4d84-8123-2d4370da78b1",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "98517ca3-5596-4260-85c2-d976b40b93f6",
          "CreateDate": "2026-08-11T22:22:34.5547261-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:34.5547261-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "250efc45-d3b4-487b-9b8a-ea30efe22885",
            "FieldId": "865cf03e-6bbd-431c-bd27-43c9e9492544",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "250efc45-d3b4-487b-9b8a-ea30efe22885",
            "FieldId": "865cf03e-6bbd-431c-bd27-43c9e9492544",
            "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": "ab08f6bd-f526-4e5c-851f-7d7c7b09ae41",
        "Section": {
          "TaskTypeSectionId": "39301230-bc02-443d-ae93-df155d124972",
          "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": "a95c45e4-d8de-478e-abe3-0af3978901dc",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "8dbc3e88-639d-4d84-8123-2d4370da78b1",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "98517ca3-5596-4260-85c2-d976b40b93f6",
          "CreateDate": "2026-08-11T22:22:34.5547261-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:34.5547261-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "250efc45-d3b4-487b-9b8a-ea30efe22885",
            "FieldId": "865cf03e-6bbd-431c-bd27-43c9e9492544",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "250efc45-d3b4-487b-9b8a-ea30efe22885",
            "FieldId": "865cf03e-6bbd-431c-bd27-43c9e9492544",
            "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": "98ca43bc-dd14-4382-bc4c-eeffec8256e4",
    "CreateDate": "2026-08-11T22:22:34.5547261-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-08-11T22:22:34.5547261-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "f7eee8ff-2c0b-4f28-aa3e-675d9f09182e",
      "CompanyId": "6bfa733e-75d9-4df7-9acb-ff76ceae72ec",
      "TaskStatusTypeId": "7ebbbf0a-b99a-490e-96cd-235a3bf39111",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "f98c009d-7257-4e7a-8487-6036dd6c8e7d",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "f7eee8ff-2c0b-4f28-aa3e-675d9f09182e",
      "CompanyId": "6bfa733e-75d9-4df7-9acb-ff76ceae72ec",
      "TaskStatusTypeId": "7ebbbf0a-b99a-490e-96cd-235a3bf39111",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "f98c009d-7257-4e7a-8487-6036dd6c8e7d",
      "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": "d9ce5ecf-aeb6-4d11-8ca0-85b1d005c5a3",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "a5823351-dea2-4b43-b5da-ce2ff239a839",
        "Section": {
          "TaskTypeSectionId": "ac7449cd-a234-4dd8-9bb7-e59ce71cb092",
          "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": "c7de653f-fe6e-4fc3-b7fd-fdeb4b07c89d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7849f4b5-bd04-4ad2-82bf-1585e73821eb",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "e9b756ab-1d2b-43fb-8a80-4568782f58da",
          "CreateDate": "2026-08-11T22:22:34.5859941-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:34.5859941-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7b037ea4-6dd8-4cd8-8cc9-ad46b38131c8",
            "FieldId": "9bfd1956-a7a3-44fe-9922-08b9e064cbd5",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7b037ea4-6dd8-4cd8-8cc9-ad46b38131c8",
            "FieldId": "9bfd1956-a7a3-44fe-9922-08b9e064cbd5",
            "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": "a5823351-dea2-4b43-b5da-ce2ff239a839",
        "Section": {
          "TaskTypeSectionId": "ac7449cd-a234-4dd8-9bb7-e59ce71cb092",
          "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": "c7de653f-fe6e-4fc3-b7fd-fdeb4b07c89d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "7849f4b5-bd04-4ad2-82bf-1585e73821eb",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "e9b756ab-1d2b-43fb-8a80-4568782f58da",
          "CreateDate": "2026-08-11T22:22:34.5859941-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-11T22:22:34.5859941-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "7b037ea4-6dd8-4cd8-8cc9-ad46b38131c8",
            "FieldId": "9bfd1956-a7a3-44fe-9922-08b9e064cbd5",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "7b037ea4-6dd8-4cd8-8cc9-ad46b38131c8",
            "FieldId": "9bfd1956-a7a3-44fe-9922-08b9e064cbd5",
            "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": "0e3d07d1-9f60-4fa7-897b-d6def6f68f3a",
    "CreateDate": "2026-08-11T22:22:34.5859941-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-08-11T22:22:34.5859941-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}