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": "e0fff6ff-c5c4-44f5-a351-03452171be26",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "af73af8a-f849-4f83-b395-7ab1097a705d",
        "Section": {
          "TaskTypeSectionId": "ce13d07e-a44b-492d-80f4-1f2ef5adb34b",
          "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": "75a72650-be04-4b9f-8f27-d2778763ab88",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "180cbe3f-21ea-4524-a383-7b9d44f90053",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "cfa1b8e9-d074-4134-b1c3-e905699f3e53",
          "CreateDate": "2026-11-22T08:18:59.0891984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-22T08:18:59.0891984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "01ab2def-d7aa-49c2-89bf-0d23b57874bd",
            "FieldId": "823c654f-25e2-4165-88db-8c6ad02cbe3c",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "01ab2def-d7aa-49c2-89bf-0d23b57874bd",
            "FieldId": "823c654f-25e2-4165-88db-8c6ad02cbe3c",
            "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": "af73af8a-f849-4f83-b395-7ab1097a705d",
        "Section": {
          "TaskTypeSectionId": "ce13d07e-a44b-492d-80f4-1f2ef5adb34b",
          "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": "75a72650-be04-4b9f-8f27-d2778763ab88",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "180cbe3f-21ea-4524-a383-7b9d44f90053",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "cfa1b8e9-d074-4134-b1c3-e905699f3e53",
          "CreateDate": "2026-11-22T08:18:59.0891984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-22T08:18:59.0891984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "01ab2def-d7aa-49c2-89bf-0d23b57874bd",
            "FieldId": "823c654f-25e2-4165-88db-8c6ad02cbe3c",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "01ab2def-d7aa-49c2-89bf-0d23b57874bd",
            "FieldId": "823c654f-25e2-4165-88db-8c6ad02cbe3c",
            "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": "c4d24a9a-69c7-4cfb-be92-973984102153",
    "CreateDate": "2026-11-22T08:18:59.0891984-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-11-22T08:18:59.0891984-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "36ce451e-8963-450d-a3e3-9122e6508f36",
      "CompanyId": "ee528409-00bf-4c2a-8d4e-fdfa1727580a",
      "TaskStatusTypeId": "e07a7bef-9504-485d-9d9a-63aa3b622801",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "6d42aa63-89e8-4963-8201-b9a37058715a",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "36ce451e-8963-450d-a3e3-9122e6508f36",
      "CompanyId": "ee528409-00bf-4c2a-8d4e-fdfa1727580a",
      "TaskStatusTypeId": "e07a7bef-9504-485d-9d9a-63aa3b622801",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "6d42aa63-89e8-4963-8201-b9a37058715a",
      "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": "b58fa833-4082-437f-a6be-9d7173508356",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "bbdd09ab-3347-424f-bd93-e5ed5bd33033",
        "Section": {
          "TaskTypeSectionId": "6b3ddd64-d4a9-477b-98c8-8c7125194c83",
          "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": "33445f72-c053-43a8-93f5-62aba55c4702",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "36b67344-c198-4a15-b2a3-6370243b383a",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c050183c-154b-49ee-ae9e-e956377da45e",
          "CreateDate": "2026-11-22T08:18:59.0891984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-22T08:18:59.0891984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5589d254-519d-4a55-a0f5-b54da14074f8",
            "FieldId": "1616395a-b2fa-4169-a10e-0772f7654bc5",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5589d254-519d-4a55-a0f5-b54da14074f8",
            "FieldId": "1616395a-b2fa-4169-a10e-0772f7654bc5",
            "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": "bbdd09ab-3347-424f-bd93-e5ed5bd33033",
        "Section": {
          "TaskTypeSectionId": "6b3ddd64-d4a9-477b-98c8-8c7125194c83",
          "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": "33445f72-c053-43a8-93f5-62aba55c4702",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "36b67344-c198-4a15-b2a3-6370243b383a",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c050183c-154b-49ee-ae9e-e956377da45e",
          "CreateDate": "2026-11-22T08:18:59.0891984-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-11-22T08:18:59.0891984-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "5589d254-519d-4a55-a0f5-b54da14074f8",
            "FieldId": "1616395a-b2fa-4169-a10e-0772f7654bc5",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "5589d254-519d-4a55-a0f5-b54da14074f8",
            "FieldId": "1616395a-b2fa-4169-a10e-0772f7654bc5",
            "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": "a468ecf9-3d55-477f-b9e4-aa6eb74ba7b5",
    "CreateDate": "2026-11-22T08:18:59.0891984-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-11-22T08:18:59.0891984-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}