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": "1e55a9ec-5dee-4bfb-bbdd-b9284f5c0491",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "4d32a84f-ccd7-4051-8333-d213bac85f87",
        "Section": {
          "TaskTypeSectionId": "cfb4a5ef-6708-4c8f-b587-f37b31a07e72",
          "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": "7d7e4eeb-2ef6-4e15-bdee-3f395e80d712",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "8e8fe668-1718-41d2-9e5f-cf50e9c23c79",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8461de57-1a46-480c-8ae2-61fce095c2d5",
          "CreateDate": "2026-09-26T13:56:43.8496056-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-26T13:56:43.8496056-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "172ca2f4-c730-48c8-882e-77c636eae3ff",
            "FieldId": "e2f8995f-114d-40ef-9553-ebc5b6738012",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "172ca2f4-c730-48c8-882e-77c636eae3ff",
            "FieldId": "e2f8995f-114d-40ef-9553-ebc5b6738012",
            "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": "4d32a84f-ccd7-4051-8333-d213bac85f87",
        "Section": {
          "TaskTypeSectionId": "cfb4a5ef-6708-4c8f-b587-f37b31a07e72",
          "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": "7d7e4eeb-2ef6-4e15-bdee-3f395e80d712",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "8e8fe668-1718-41d2-9e5f-cf50e9c23c79",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "8461de57-1a46-480c-8ae2-61fce095c2d5",
          "CreateDate": "2026-09-26T13:56:43.8496056-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-26T13:56:43.8496056-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "172ca2f4-c730-48c8-882e-77c636eae3ff",
            "FieldId": "e2f8995f-114d-40ef-9553-ebc5b6738012",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "172ca2f4-c730-48c8-882e-77c636eae3ff",
            "FieldId": "e2f8995f-114d-40ef-9553-ebc5b6738012",
            "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": "88686c67-28db-4ce3-a51b-fe94fb7474f7",
    "CreateDate": "2026-09-26T13:56:43.8496056-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-26T13:56:43.8496056-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "a256de52-ca2d-4541-b66b-1ebc82b4a4db",
      "CompanyId": "df108a7f-3b4f-4a2c-a60d-e40adf7de066",
      "TaskStatusTypeId": "0d13963e-4d95-4222-a9a4-434cbfe370ee",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "689ad883-1d02-4fc1-ab53-836603517ce1",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "a256de52-ca2d-4541-b66b-1ebc82b4a4db",
      "CompanyId": "df108a7f-3b4f-4a2c-a60d-e40adf7de066",
      "TaskStatusTypeId": "0d13963e-4d95-4222-a9a4-434cbfe370ee",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "689ad883-1d02-4fc1-ab53-836603517ce1",
      "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": "354d3f91-e933-4d5f-ab94-c360b45efe63",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "4f1b44d5-274d-4d71-a10d-6366583ab933",
        "Section": {
          "TaskTypeSectionId": "f6a54d4d-3c92-4da3-b0a0-930ccdd00a79",
          "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": "9002ee19-4234-4389-9935-c1e1cd37182c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "66ba5f65-3c57-4d7f-b464-7965b3d7b1a6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "44db0998-fbfd-4dc5-bfb8-295cf38d7d38",
          "CreateDate": "2026-09-26T13:56:43.8496056-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-26T13:56:43.8496056-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "28d6ff1e-b803-4cff-aac7-62c97f3fdc81",
            "FieldId": "57784347-3bc7-483b-9b18-7ea017b78c4d",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "28d6ff1e-b803-4cff-aac7-62c97f3fdc81",
            "FieldId": "57784347-3bc7-483b-9b18-7ea017b78c4d",
            "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": "4f1b44d5-274d-4d71-a10d-6366583ab933",
        "Section": {
          "TaskTypeSectionId": "f6a54d4d-3c92-4da3-b0a0-930ccdd00a79",
          "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": "9002ee19-4234-4389-9935-c1e1cd37182c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "66ba5f65-3c57-4d7f-b464-7965b3d7b1a6",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "44db0998-fbfd-4dc5-bfb8-295cf38d7d38",
          "CreateDate": "2026-09-26T13:56:43.8496056-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-26T13:56:43.8496056-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "28d6ff1e-b803-4cff-aac7-62c97f3fdc81",
            "FieldId": "57784347-3bc7-483b-9b18-7ea017b78c4d",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "28d6ff1e-b803-4cff-aac7-62c97f3fdc81",
            "FieldId": "57784347-3bc7-483b-9b18-7ea017b78c4d",
            "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": "29e4c4f8-34e0-4e1a-a3a4-9e2b69998dbf",
    "CreateDate": "2026-09-26T13:56:43.8496056-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-26T13:56:43.8496056-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}