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": "dbff80a3-f4da-49a6-bf26-7e2143accbbd",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "d765e840-1a00-4b39-bfb4-36a9948e781a",
        "Section": {
          "TaskTypeSectionId": "ecd5ba4d-0c85-4e0e-be52-14411f3b71b6",
          "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": "02fcb8ec-93e3-479d-b63c-05a22b71a789",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5732d29a-79d4-4309-8f82-0f09d57d0b6b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "47a4f5a6-c929-4d10-afcc-93eef0485ad9",
          "CreateDate": "2026-10-02T10:48:39.4400094-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-02T10:48:39.4400094-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e8a94477-e2a2-492f-a12e-2ca93fb69eda",
            "FieldId": "4cb02c42-5a7c-4d11-b0e8-ef4c65dc8637",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e8a94477-e2a2-492f-a12e-2ca93fb69eda",
            "FieldId": "4cb02c42-5a7c-4d11-b0e8-ef4c65dc8637",
            "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": "d765e840-1a00-4b39-bfb4-36a9948e781a",
        "Section": {
          "TaskTypeSectionId": "ecd5ba4d-0c85-4e0e-be52-14411f3b71b6",
          "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": "02fcb8ec-93e3-479d-b63c-05a22b71a789",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "5732d29a-79d4-4309-8f82-0f09d57d0b6b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "47a4f5a6-c929-4d10-afcc-93eef0485ad9",
          "CreateDate": "2026-10-02T10:48:39.4400094-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-02T10:48:39.4400094-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e8a94477-e2a2-492f-a12e-2ca93fb69eda",
            "FieldId": "4cb02c42-5a7c-4d11-b0e8-ef4c65dc8637",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e8a94477-e2a2-492f-a12e-2ca93fb69eda",
            "FieldId": "4cb02c42-5a7c-4d11-b0e8-ef4c65dc8637",
            "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": "58c76455-7fa1-442e-9071-0451cf271dfb",
    "CreateDate": "2026-10-02T10:48:39.4400094-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-10-02T10:48:39.4400094-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "8eb353f9-4017-4506-b3fd-c461ec489a8a",
      "CompanyId": "007aef7a-85da-4695-aab2-637bbeff3a7c",
      "TaskStatusTypeId": "a26cb67f-3393-4e5e-9236-118146f05c42",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "17c92ed5-1ac0-423e-959b-746b7901b6df",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "8eb353f9-4017-4506-b3fd-c461ec489a8a",
      "CompanyId": "007aef7a-85da-4695-aab2-637bbeff3a7c",
      "TaskStatusTypeId": "a26cb67f-3393-4e5e-9236-118146f05c42",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "17c92ed5-1ac0-423e-959b-746b7901b6df",
      "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": "d3307eb2-a3b9-4fa6-be8d-4b87a12a5791",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "d96d6f8a-81e9-46c4-a173-c2f389a5c5b6",
        "Section": {
          "TaskTypeSectionId": "2b3ee690-1fb8-4e03-9838-bc2da747f5ef",
          "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": "adfcf742-77dd-476e-af6f-d67af24b6b26",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9e628ca6-ea3f-493f-b718-a4355dc4b26a",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "57f66655-e2d4-428b-8966-ff8443d5bd70",
          "CreateDate": "2026-10-02T10:48:39.4400094-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-02T10:48:39.4400094-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "ea029c6a-1445-4c65-9508-51fd2c8e0f67",
            "FieldId": "921e756a-0965-4315-bbf4-0305c34a25f0",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "ea029c6a-1445-4c65-9508-51fd2c8e0f67",
            "FieldId": "921e756a-0965-4315-bbf4-0305c34a25f0",
            "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": "d96d6f8a-81e9-46c4-a173-c2f389a5c5b6",
        "Section": {
          "TaskTypeSectionId": "2b3ee690-1fb8-4e03-9838-bc2da747f5ef",
          "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": "adfcf742-77dd-476e-af6f-d67af24b6b26",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "9e628ca6-ea3f-493f-b718-a4355dc4b26a",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "57f66655-e2d4-428b-8966-ff8443d5bd70",
          "CreateDate": "2026-10-02T10:48:39.4400094-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-10-02T10:48:39.4400094-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "ea029c6a-1445-4c65-9508-51fd2c8e0f67",
            "FieldId": "921e756a-0965-4315-bbf4-0305c34a25f0",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "ea029c6a-1445-4c65-9508-51fd2c8e0f67",
            "FieldId": "921e756a-0965-4315-bbf4-0305c34a25f0",
            "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": "f4e23e39-54f8-465b-8f13-5380fc0cfaec",
    "CreateDate": "2026-10-02T10:48:39.4400094-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-10-02T10:48:39.4400094-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}