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": "204d34fa-3247-432b-8440-c467cce0d6dc",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "11c7f8c2-3716-40e2-af79-1a4b29b32ec0",
        "Section": {
          "TaskTypeSectionId": "1db5bd60-118c-4e59-a98d-846d6ba66647",
          "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": "d4b37146-d82b-4237-a8e9-444ff8a5d77a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b83fe867-8bc3-4c3f-8006-559a48f11dcc",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f89702b8-9724-46f3-b192-6f26ea763c41",
          "CreateDate": "2026-09-13T23:35:42.551046-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-13T23:35:42.551046-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "adc31183-8b0c-4708-9845-2d31c9324925",
            "FieldId": "75077aad-2c28-4f0b-8972-7339345ee564",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "adc31183-8b0c-4708-9845-2d31c9324925",
            "FieldId": "75077aad-2c28-4f0b-8972-7339345ee564",
            "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": "11c7f8c2-3716-40e2-af79-1a4b29b32ec0",
        "Section": {
          "TaskTypeSectionId": "1db5bd60-118c-4e59-a98d-846d6ba66647",
          "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": "d4b37146-d82b-4237-a8e9-444ff8a5d77a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "b83fe867-8bc3-4c3f-8006-559a48f11dcc",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "f89702b8-9724-46f3-b192-6f26ea763c41",
          "CreateDate": "2026-09-13T23:35:42.551046-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-13T23:35:42.551046-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "adc31183-8b0c-4708-9845-2d31c9324925",
            "FieldId": "75077aad-2c28-4f0b-8972-7339345ee564",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "adc31183-8b0c-4708-9845-2d31c9324925",
            "FieldId": "75077aad-2c28-4f0b-8972-7339345ee564",
            "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": "c5e3f96f-4541-49f0-83c7-8110f63b81bc",
    "CreateDate": "2026-09-13T23:35:42.551046-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-13T23:35:42.551046-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "49eb844a-8436-4ac1-a166-f741ece2419a",
      "CompanyId": "dc99afca-20e1-428b-a9ae-668afcd1bf41",
      "TaskStatusTypeId": "203e8904-79a6-48db-95b2-34cc5b7cb535",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "661fd70a-360c-4571-8d87-a75dd8d03961",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "49eb844a-8436-4ac1-a166-f741ece2419a",
      "CompanyId": "dc99afca-20e1-428b-a9ae-668afcd1bf41",
      "TaskStatusTypeId": "203e8904-79a6-48db-95b2-34cc5b7cb535",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "661fd70a-360c-4571-8d87-a75dd8d03961",
      "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": "38c07243-e913-4a75-9521-2577f5ceebf1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "50550a32-70fd-4d63-8cb6-365aa892904b",
        "Section": {
          "TaskTypeSectionId": "c652d693-f83b-47c8-b058-1e689d82b727",
          "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": "6a91cdc1-d17a-4cea-8759-e690fea50f64",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ed5f7d3f-f2d6-47ca-b798-052ae4745355",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d40c8854-3fe2-465d-9b38-5ee8aa4d80ba",
          "CreateDate": "2026-09-13T23:35:42.5666647-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-13T23:35:42.5666647-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3276e50c-1cf8-47b8-8f3f-6ae1d3bf761f",
            "FieldId": "988fdac6-3c8c-4094-8638-318a0a1b4fe3",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3276e50c-1cf8-47b8-8f3f-6ae1d3bf761f",
            "FieldId": "988fdac6-3c8c-4094-8638-318a0a1b4fe3",
            "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": "50550a32-70fd-4d63-8cb6-365aa892904b",
        "Section": {
          "TaskTypeSectionId": "c652d693-f83b-47c8-b058-1e689d82b727",
          "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": "6a91cdc1-d17a-4cea-8759-e690fea50f64",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "ed5f7d3f-f2d6-47ca-b798-052ae4745355",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d40c8854-3fe2-465d-9b38-5ee8aa4d80ba",
          "CreateDate": "2026-09-13T23:35:42.5666647-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-13T23:35:42.5666647-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3276e50c-1cf8-47b8-8f3f-6ae1d3bf761f",
            "FieldId": "988fdac6-3c8c-4094-8638-318a0a1b4fe3",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3276e50c-1cf8-47b8-8f3f-6ae1d3bf761f",
            "FieldId": "988fdac6-3c8c-4094-8638-318a0a1b4fe3",
            "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": "993284c9-b838-46e1-acf5-cdab4a978563",
    "CreateDate": "2026-09-13T23:35:42.5666647-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-13T23:35:42.5666647-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}