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": "8b6ede2c-3a85-4f03-9be8-2b91f046aaf7",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "28c946cc-5fe9-4752-922a-49aab55597e2",
        "Section": {
          "TaskTypeSectionId": "e452be88-5410-4187-b3a6-4737c942e684",
          "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": "244a41ea-7dc0-49e9-9c43-cff3c9caad9c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9dd8ea64-55b3-490c-ad5b-eea7ebd03868",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d5ff4eae-e858-4d66-9146-e87baefef660",
          "CreateDate": "2026-08-09T23:40:44.8035269-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-09T23:40:44.8035269-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "b6deb210-5795-4377-9fc4-33ad8282395d",
            "FieldId": "1b4fecc2-5644-4eef-8dc0-7dcffb081d0b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "b6deb210-5795-4377-9fc4-33ad8282395d",
            "FieldId": "1b4fecc2-5644-4eef-8dc0-7dcffb081d0b",
            "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": "28c946cc-5fe9-4752-922a-49aab55597e2",
        "Section": {
          "TaskTypeSectionId": "e452be88-5410-4187-b3a6-4737c942e684",
          "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": "244a41ea-7dc0-49e9-9c43-cff3c9caad9c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9dd8ea64-55b3-490c-ad5b-eea7ebd03868",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d5ff4eae-e858-4d66-9146-e87baefef660",
          "CreateDate": "2026-08-09T23:40:44.8035269-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-09T23:40:44.8035269-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "b6deb210-5795-4377-9fc4-33ad8282395d",
            "FieldId": "1b4fecc2-5644-4eef-8dc0-7dcffb081d0b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "b6deb210-5795-4377-9fc4-33ad8282395d",
            "FieldId": "1b4fecc2-5644-4eef-8dc0-7dcffb081d0b",
            "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": "471042e4-0144-4149-a124-2d80ed57e459",
    "CreateDate": "2026-08-09T23:40:44.8035269-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-08-09T23:40:44.8035269-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "50754068-f431-4c78-8ea6-ee9efce36827",
      "CompanyId": "a950134b-ba59-4cf1-831a-55b6090d99da",
      "TaskStatusTypeId": "91f467c7-2013-4fe5-9a8b-b2027d5684db",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "35a0a2c4-aae4-4995-a7d1-dd237cdd0324",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "50754068-f431-4c78-8ea6-ee9efce36827",
      "CompanyId": "a950134b-ba59-4cf1-831a-55b6090d99da",
      "TaskStatusTypeId": "91f467c7-2013-4fe5-9a8b-b2027d5684db",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "35a0a2c4-aae4-4995-a7d1-dd237cdd0324",
      "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": "f34bb592-294e-4baa-b704-c7592ae07f9c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "28940068-a800-4424-9146-47260b52bdcd",
        "Section": {
          "TaskTypeSectionId": "691e9d6b-312a-45d0-b2a4-c5ced5f31cf4",
          "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": "02f5e551-de13-4649-a00c-46c4e541286d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9198250e-0b35-4bac-ad7f-4de7339e1d81",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6373b083-0de5-46e1-a85d-569bc0925297",
          "CreateDate": "2026-08-09T23:40:44.8035269-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-09T23:40:44.8035269-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "cfb8bcfe-9d8c-462e-84ee-0f63bf8aa849",
            "FieldId": "4aa93e43-22fb-4887-971e-ff8a35917ad7",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "cfb8bcfe-9d8c-462e-84ee-0f63bf8aa849",
            "FieldId": "4aa93e43-22fb-4887-971e-ff8a35917ad7",
            "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": "28940068-a800-4424-9146-47260b52bdcd",
        "Section": {
          "TaskTypeSectionId": "691e9d6b-312a-45d0-b2a4-c5ced5f31cf4",
          "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": "02f5e551-de13-4649-a00c-46c4e541286d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9198250e-0b35-4bac-ad7f-4de7339e1d81",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "6373b083-0de5-46e1-a85d-569bc0925297",
          "CreateDate": "2026-08-09T23:40:44.8035269-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-08-09T23:40:44.8035269-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "cfb8bcfe-9d8c-462e-84ee-0f63bf8aa849",
            "FieldId": "4aa93e43-22fb-4887-971e-ff8a35917ad7",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "cfb8bcfe-9d8c-462e-84ee-0f63bf8aa849",
            "FieldId": "4aa93e43-22fb-4887-971e-ff8a35917ad7",
            "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": "79f00893-3f96-4774-957a-b9f1f8a7bef4",
    "CreateDate": "2026-08-09T23:40:44.8035269-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-08-09T23:40:44.8035269-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}