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": "734fb405-9a6a-40ef-8979-402c0b458b73",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "70e6d094-15fd-4398-a2a1-8fefa139afb6",
        "Section": {
          "TaskTypeSectionId": "e1a938cb-dbf4-4d88-9ea0-d223b5e5cc0b",
          "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": "3158f322-e4df-4399-91d2-902266bdb640",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "eec4a241-2ca9-4113-9860-b78028321097",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7eac6150-64b8-41e3-baca-dda05b156f5a",
          "CreateDate": "2026-09-22T03:29:26.0518138-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-22T03:29:26.0518138-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d9e54c9f-8aad-441b-b516-bfc5251bfb95",
            "FieldId": "2be40459-75cc-4604-beba-5ab8c4fdd062",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d9e54c9f-8aad-441b-b516-bfc5251bfb95",
            "FieldId": "2be40459-75cc-4604-beba-5ab8c4fdd062",
            "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": "70e6d094-15fd-4398-a2a1-8fefa139afb6",
        "Section": {
          "TaskTypeSectionId": "e1a938cb-dbf4-4d88-9ea0-d223b5e5cc0b",
          "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": "3158f322-e4df-4399-91d2-902266bdb640",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "eec4a241-2ca9-4113-9860-b78028321097",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "7eac6150-64b8-41e3-baca-dda05b156f5a",
          "CreateDate": "2026-09-22T03:29:26.0518138-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-22T03:29:26.0518138-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "d9e54c9f-8aad-441b-b516-bfc5251bfb95",
            "FieldId": "2be40459-75cc-4604-beba-5ab8c4fdd062",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "d9e54c9f-8aad-441b-b516-bfc5251bfb95",
            "FieldId": "2be40459-75cc-4604-beba-5ab8c4fdd062",
            "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": "fd8b47d5-af50-4909-834b-603989743ec7",
    "CreateDate": "2026-09-22T03:29:26.0518138-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-22T03:29:26.0518138-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "3fc326ad-fefc-48e4-9384-0babdb70a5a0",
      "CompanyId": "2bc4974d-0dff-4aeb-a30e-6df9415de41e",
      "TaskStatusTypeId": "816f75ed-4391-4a8f-8c76-ac9d68867770",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "123d8b89-87c6-48a2-899e-5551917cad8f",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "3fc326ad-fefc-48e4-9384-0babdb70a5a0",
      "CompanyId": "2bc4974d-0dff-4aeb-a30e-6df9415de41e",
      "TaskStatusTypeId": "816f75ed-4391-4a8f-8c76-ac9d68867770",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "123d8b89-87c6-48a2-899e-5551917cad8f",
      "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": "a6db4695-4a07-4255-8999-9e01624b959b",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "6e143147-2641-4023-a37c-284fe11e5592",
        "Section": {
          "TaskTypeSectionId": "6992f29a-c3a3-40ce-9a41-3cc8ca8f3ebf",
          "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": "876a91f4-327a-4ab1-9871-da117091de5c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "989d3d2b-a5d9-4d9a-8e54-d5e223f8fa89",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c4a138e9-8654-4cf0-8990-3f4fa8c06dc9",
          "CreateDate": "2026-09-22T03:29:26.0518138-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-22T03:29:26.0518138-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "6700b881-444c-4fc1-9cb2-dffcbcdfd350",
            "FieldId": "17d5c5ca-ddab-40e0-a0df-122973630970",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "6700b881-444c-4fc1-9cb2-dffcbcdfd350",
            "FieldId": "17d5c5ca-ddab-40e0-a0df-122973630970",
            "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": "6e143147-2641-4023-a37c-284fe11e5592",
        "Section": {
          "TaskTypeSectionId": "6992f29a-c3a3-40ce-9a41-3cc8ca8f3ebf",
          "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": "876a91f4-327a-4ab1-9871-da117091de5c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "989d3d2b-a5d9-4d9a-8e54-d5e223f8fa89",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c4a138e9-8654-4cf0-8990-3f4fa8c06dc9",
          "CreateDate": "2026-09-22T03:29:26.0518138-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-09-22T03:29:26.0518138-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "6700b881-444c-4fc1-9cb2-dffcbcdfd350",
            "FieldId": "17d5c5ca-ddab-40e0-a0df-122973630970",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "6700b881-444c-4fc1-9cb2-dffcbcdfd350",
            "FieldId": "17d5c5ca-ddab-40e0-a0df-122973630970",
            "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": "5cfe609f-255c-417f-b419-e670d572f872",
    "CreateDate": "2026-09-22T03:29:26.0518138-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-09-22T03:29:26.0518138-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}