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": "84193df7-24df-4ed1-9436-711562ff722d",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "0d64a6d5-2514-47a9-83ed-eef3412721ad",
        "Section": {
          "TaskTypeSectionId": "0c5c56f8-7803-4fc4-b98b-d3d1d0607d2c",
          "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": "6f5a08f5-a57f-4e02-bba7-9c1bd4faa88a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c24acf89-75ce-4024-b77b-52a74f478f04",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "eec1e4a1-f690-483e-8c7c-76d904f4f741",
          "CreateDate": "2026-03-13T13:48:35.5182932-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-13T13:48:35.5182932-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "6bebf14b-6586-444a-be96-cf017e470f98",
            "FieldId": "81904524-1a04-42ac-a391-55112f02ff44",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "6bebf14b-6586-444a-be96-cf017e470f98",
            "FieldId": "81904524-1a04-42ac-a391-55112f02ff44",
            "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": "0d64a6d5-2514-47a9-83ed-eef3412721ad",
        "Section": {
          "TaskTypeSectionId": "0c5c56f8-7803-4fc4-b98b-d3d1d0607d2c",
          "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": "6f5a08f5-a57f-4e02-bba7-9c1bd4faa88a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c24acf89-75ce-4024-b77b-52a74f478f04",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "eec1e4a1-f690-483e-8c7c-76d904f4f741",
          "CreateDate": "2026-03-13T13:48:35.5182932-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-13T13:48:35.5182932-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "6bebf14b-6586-444a-be96-cf017e470f98",
            "FieldId": "81904524-1a04-42ac-a391-55112f02ff44",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "6bebf14b-6586-444a-be96-cf017e470f98",
            "FieldId": "81904524-1a04-42ac-a391-55112f02ff44",
            "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": "5eeef6b8-8eee-406c-9dda-9f6b778aaae0",
    "CreateDate": "2026-03-13T13:48:35.5182932-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-03-13T13:48:35.5182932-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "c4521a69-08df-496f-a371-d86d6a0db13e",
      "CompanyId": "9e5d6197-b9d8-4454-b4bc-5d84f6096e09",
      "TaskStatusTypeId": "4d3189a9-e4f7-423c-ade3-4f68c12838bb",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "5d796359-b021-487b-9aed-b6d42fd2c502",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "c4521a69-08df-496f-a371-d86d6a0db13e",
      "CompanyId": "9e5d6197-b9d8-4454-b4bc-5d84f6096e09",
      "TaskStatusTypeId": "4d3189a9-e4f7-423c-ade3-4f68c12838bb",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "5d796359-b021-487b-9aed-b6d42fd2c502",
      "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": "5a3799ab-f68e-44a6-895f-f125ad319335",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "02a35cb9-2d8a-4a73-82cc-30259eb97324",
        "Section": {
          "TaskTypeSectionId": "9c26bfc4-63fb-482d-bd07-d7ab030bba70",
          "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": "6fbdf9d5-3380-489f-ac18-2f651136f3bb",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "fe9204ed-d333-4147-8854-f9459f13cbe8",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f6d7f15c-fb67-4fb1-a850-11add01b116a",
          "CreateDate": "2026-03-13T13:48:35.5182932-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-13T13:48:35.5182932-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3a027930-088a-49a3-b406-6f2f65fac933",
            "FieldId": "7688a025-3fc8-4383-bb73-6f0479c2031a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3a027930-088a-49a3-b406-6f2f65fac933",
            "FieldId": "7688a025-3fc8-4383-bb73-6f0479c2031a",
            "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": "02a35cb9-2d8a-4a73-82cc-30259eb97324",
        "Section": {
          "TaskTypeSectionId": "9c26bfc4-63fb-482d-bd07-d7ab030bba70",
          "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": "6fbdf9d5-3380-489f-ac18-2f651136f3bb",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "fe9204ed-d333-4147-8854-f9459f13cbe8",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f6d7f15c-fb67-4fb1-a850-11add01b116a",
          "CreateDate": "2026-03-13T13:48:35.5182932-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-03-13T13:48:35.5182932-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3a027930-088a-49a3-b406-6f2f65fac933",
            "FieldId": "7688a025-3fc8-4383-bb73-6f0479c2031a",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3a027930-088a-49a3-b406-6f2f65fac933",
            "FieldId": "7688a025-3fc8-4383-bb73-6f0479c2031a",
            "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": "660add9e-ceeb-4b4d-9950-5bc82451e860",
    "CreateDate": "2026-03-13T13:48:35.5182932-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-03-13T13:48:35.5182932-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}