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": "69656750-583d-4c9c-95de-d13247cefbdd",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "c8da4794-a96c-4b43-92e0-b6e006169704",
        "Section": {
          "TaskTypeSectionId": "267693f8-1b60-477a-9a7d-0ec93d8ca73b",
          "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": "9013054e-e514-4f72-aea7-8262337a6cde",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "72493112-ee00-4229-86a5-2986be7d61d4",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c0b740f3-3f3d-430a-9f79-36dc26fd8653",
          "CreateDate": "2026-01-16T16:18:55.7761457-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-16T16:18:55.7761457-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3620468a-2ef7-40ba-856d-9629b768e147",
            "FieldId": "2a182a69-94fd-4d26-bfca-5f5f6e360d76",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3620468a-2ef7-40ba-856d-9629b768e147",
            "FieldId": "2a182a69-94fd-4d26-bfca-5f5f6e360d76",
            "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": "c8da4794-a96c-4b43-92e0-b6e006169704",
        "Section": {
          "TaskTypeSectionId": "267693f8-1b60-477a-9a7d-0ec93d8ca73b",
          "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": "9013054e-e514-4f72-aea7-8262337a6cde",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "72493112-ee00-4229-86a5-2986be7d61d4",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c0b740f3-3f3d-430a-9f79-36dc26fd8653",
          "CreateDate": "2026-01-16T16:18:55.7761457-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-16T16:18:55.7761457-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "3620468a-2ef7-40ba-856d-9629b768e147",
            "FieldId": "2a182a69-94fd-4d26-bfca-5f5f6e360d76",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "3620468a-2ef7-40ba-856d-9629b768e147",
            "FieldId": "2a182a69-94fd-4d26-bfca-5f5f6e360d76",
            "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": "61034594-21fb-42c3-a48a-54dba188a143",
    "CreateDate": "2026-01-16T16:18:55.7761457-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-16T16:18:55.7761457-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "f2edb9e4-2475-4e66-a0e4-9a56608b71ad",
      "CompanyId": "61a1ad2a-9480-46a9-bf3f-41ea2405ac00",
      "TaskStatusTypeId": "96ff3a01-f16f-476d-b494-20045135413b",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "0ae09c86-44d8-4315-af9b-d9f3d89112b5",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "f2edb9e4-2475-4e66-a0e4-9a56608b71ad",
      "CompanyId": "61a1ad2a-9480-46a9-bf3f-41ea2405ac00",
      "TaskStatusTypeId": "96ff3a01-f16f-476d-b494-20045135413b",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "0ae09c86-44d8-4315-af9b-d9f3d89112b5",
      "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": "278d61c9-f9b1-4b1f-aff5-e770fe24899e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "48c339cb-7357-4687-8480-0955963257c6",
        "Section": {
          "TaskTypeSectionId": "b7b58e1f-b174-4a80-bde6-315004b5fe72",
          "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": "9f175648-68c7-498f-942d-de96bd52cb5e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "87355670-4866-4b6f-8fda-22c52f2f13a0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "e05e38ca-f1d6-4da8-a4f2-c580b728b426",
          "CreateDate": "2026-01-16T16:18:55.7761457-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-16T16:18:55.7761457-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "75e6812a-2f28-4479-9114-f7ebcb9b4b86",
            "FieldId": "155f2045-997d-4c4d-b71c-56124c26b809",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "75e6812a-2f28-4479-9114-f7ebcb9b4b86",
            "FieldId": "155f2045-997d-4c4d-b71c-56124c26b809",
            "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": "48c339cb-7357-4687-8480-0955963257c6",
        "Section": {
          "TaskTypeSectionId": "b7b58e1f-b174-4a80-bde6-315004b5fe72",
          "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": "9f175648-68c7-498f-942d-de96bd52cb5e",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "87355670-4866-4b6f-8fda-22c52f2f13a0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "e05e38ca-f1d6-4da8-a4f2-c580b728b426",
          "CreateDate": "2026-01-16T16:18:55.7761457-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-01-16T16:18:55.7761457-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "75e6812a-2f28-4479-9114-f7ebcb9b4b86",
            "FieldId": "155f2045-997d-4c4d-b71c-56124c26b809",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "75e6812a-2f28-4479-9114-f7ebcb9b4b86",
            "FieldId": "155f2045-997d-4c4d-b71c-56124c26b809",
            "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": "af0eed64-6056-4a5c-9b9c-a8984aa0aa3a",
    "CreateDate": "2026-01-16T16:18:55.7761457-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-01-16T16:18:55.7761457-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}