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": "2e05fa5e-a785-466d-afaf-bcd736d71ab7",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "6357c0a4-639a-4d09-9804-c1051ec42415",
        "Section": {
          "TaskTypeSectionId": "fef6d4ec-59f2-4ceb-bc61-b3a788030823",
          "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": "5489ba22-a193-40f5-a3d9-dcc274185208",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "91d0f391-e521-4868-8e97-538a3b76f3ac",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dc2ac24d-2dca-4fc2-9ffd-cd443604a23f",
          "CreateDate": "2026-06-17T17:23:39.4188419-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:39.4188419-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "10291150-39d7-43ca-81aa-47a22dfee36c",
            "FieldId": "0042251b-6951-4ca6-8108-99f2282cd40e",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "10291150-39d7-43ca-81aa-47a22dfee36c",
            "FieldId": "0042251b-6951-4ca6-8108-99f2282cd40e",
            "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": "6357c0a4-639a-4d09-9804-c1051ec42415",
        "Section": {
          "TaskTypeSectionId": "fef6d4ec-59f2-4ceb-bc61-b3a788030823",
          "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": "5489ba22-a193-40f5-a3d9-dcc274185208",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "91d0f391-e521-4868-8e97-538a3b76f3ac",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "dc2ac24d-2dca-4fc2-9ffd-cd443604a23f",
          "CreateDate": "2026-06-17T17:23:39.4188419-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:39.4188419-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "10291150-39d7-43ca-81aa-47a22dfee36c",
            "FieldId": "0042251b-6951-4ca6-8108-99f2282cd40e",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "10291150-39d7-43ca-81aa-47a22dfee36c",
            "FieldId": "0042251b-6951-4ca6-8108-99f2282cd40e",
            "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": "eb9132c5-4d78-414d-acc3-1c7ccbf653fa",
    "CreateDate": "2026-06-17T17:23:39.4188419-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-06-17T17:23:39.4188419-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "1fb156c3-5b6e-47db-aaeb-762a429e1933",
      "CompanyId": "5e9a95ab-c003-4008-a746-c61c3300767d",
      "TaskStatusTypeId": "9d501ed8-daca-4198-88c7-d8a11cb0afbf",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "1d6ffc55-152e-42e7-a45c-c9f2cda2e1a3",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "1fb156c3-5b6e-47db-aaeb-762a429e1933",
      "CompanyId": "5e9a95ab-c003-4008-a746-c61c3300767d",
      "TaskStatusTypeId": "9d501ed8-daca-4198-88c7-d8a11cb0afbf",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "1d6ffc55-152e-42e7-a45c-c9f2cda2e1a3",
      "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": "843aa2eb-a10c-4321-ad3f-ca4f34868f6f",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "391d8876-c0c5-4b79-9d98-371382b10e0c",
        "Section": {
          "TaskTypeSectionId": "facd7b2c-3898-418e-89a7-36891740fbf6",
          "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": "e42c2845-7468-4471-a095-01408f6f0d80",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "6d2617bf-a29a-42ba-899f-5fa76f15a87b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7d9fc771-c688-4172-b778-a2f7e9240fac",
          "CreateDate": "2026-06-17T17:23:39.4188419-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:39.4188419-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e29a3f76-a33c-48e0-8a90-cc2389f6543a",
            "FieldId": "63995632-0f1e-48fe-b07a-38c978c15fcf",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e29a3f76-a33c-48e0-8a90-cc2389f6543a",
            "FieldId": "63995632-0f1e-48fe-b07a-38c978c15fcf",
            "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": "391d8876-c0c5-4b79-9d98-371382b10e0c",
        "Section": {
          "TaskTypeSectionId": "facd7b2c-3898-418e-89a7-36891740fbf6",
          "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": "e42c2845-7468-4471-a095-01408f6f0d80",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "6d2617bf-a29a-42ba-899f-5fa76f15a87b",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7d9fc771-c688-4172-b778-a2f7e9240fac",
          "CreateDate": "2026-06-17T17:23:39.4188419-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-06-17T17:23:39.4188419-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e29a3f76-a33c-48e0-8a90-cc2389f6543a",
            "FieldId": "63995632-0f1e-48fe-b07a-38c978c15fcf",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e29a3f76-a33c-48e0-8a90-cc2389f6543a",
            "FieldId": "63995632-0f1e-48fe-b07a-38c978c15fcf",
            "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": "a2327162-e850-495b-9589-095be801c7e5",
    "CreateDate": "2026-06-17T17:23:39.4188419-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-06-17T17:23:39.4188419-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}