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": "0ea70f51-116c-49cd-88c1-bef6955f1e85",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "75be6e3f-c6bc-466a-bf1e-ae0d74f2c9ed",
        "Section": {
          "TaskTypeSectionId": "f7ce999d-e745-40ba-87e7-aead65699dce",
          "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": "02844386-8fae-4abd-ab2e-7b2df85f773d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "0d9dee64-3ece-435a-94cf-9b25f9586bda",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "82b8357f-3bd2-4dc9-ac8c-c13f6551ac87",
          "CreateDate": "2026-07-21T00:21:15.6397806-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-07-21T00:21:15.6397806-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "663b5c44-84b9-43b4-8d35-5c3eb9b6b64f",
            "FieldId": "1a972a93-0647-4300-b978-e094a033567b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "663b5c44-84b9-43b4-8d35-5c3eb9b6b64f",
            "FieldId": "1a972a93-0647-4300-b978-e094a033567b",
            "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": "75be6e3f-c6bc-466a-bf1e-ae0d74f2c9ed",
        "Section": {
          "TaskTypeSectionId": "f7ce999d-e745-40ba-87e7-aead65699dce",
          "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": "02844386-8fae-4abd-ab2e-7b2df85f773d",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "0d9dee64-3ece-435a-94cf-9b25f9586bda",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "82b8357f-3bd2-4dc9-ac8c-c13f6551ac87",
          "CreateDate": "2026-07-21T00:21:15.6397806-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-07-21T00:21:15.6397806-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "663b5c44-84b9-43b4-8d35-5c3eb9b6b64f",
            "FieldId": "1a972a93-0647-4300-b978-e094a033567b",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "663b5c44-84b9-43b4-8d35-5c3eb9b6b64f",
            "FieldId": "1a972a93-0647-4300-b978-e094a033567b",
            "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": "7058343f-e2a6-4c73-aa3c-ff1b0e785fe5",
    "CreateDate": "2026-07-21T00:21:15.6397806-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-07-21T00:21:15.6397806-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "9acf4305-e20d-4e9d-84f3-9ba07d498b5a",
      "CompanyId": "27cd22de-65a7-4397-806c-bd2ee421fe1a",
      "TaskStatusTypeId": "2e70ad1f-9ff2-4b6f-bb44-04d97d4326d1",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "3ac24a71-0e5f-4953-b631-7e39e844d2ce",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "9acf4305-e20d-4e9d-84f3-9ba07d498b5a",
      "CompanyId": "27cd22de-65a7-4397-806c-bd2ee421fe1a",
      "TaskStatusTypeId": "2e70ad1f-9ff2-4b6f-bb44-04d97d4326d1",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "3ac24a71-0e5f-4953-b631-7e39e844d2ce",
      "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": "1a20f0c2-3d37-45a7-945e-c5c1d97b5c5d",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "53181029-aa23-4de9-a2e6-230e666c23ca",
        "Section": {
          "TaskTypeSectionId": "280ccf75-1303-4bce-8599-d3686cbee856",
          "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": "65e31625-0feb-4217-b3a9-a09086efacc6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "de67bae0-061d-4e45-af5d-20f95081e155",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c5ff3100-fb52-4d60-b621-710d3762ba88",
          "CreateDate": "2026-07-21T00:21:15.6397806-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-07-21T00:21:15.6397806-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "dd743e33-28e2-4150-90fe-246c4b6ca9fd",
            "FieldId": "23e471cd-51bb-4d83-b270-1ca5919c75ab",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "dd743e33-28e2-4150-90fe-246c4b6ca9fd",
            "FieldId": "23e471cd-51bb-4d83-b270-1ca5919c75ab",
            "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": "53181029-aa23-4de9-a2e6-230e666c23ca",
        "Section": {
          "TaskTypeSectionId": "280ccf75-1303-4bce-8599-d3686cbee856",
          "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": "65e31625-0feb-4217-b3a9-a09086efacc6",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "de67bae0-061d-4e45-af5d-20f95081e155",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c5ff3100-fb52-4d60-b621-710d3762ba88",
          "CreateDate": "2026-07-21T00:21:15.6397806-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2026-07-21T00:21:15.6397806-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "dd743e33-28e2-4150-90fe-246c4b6ca9fd",
            "FieldId": "23e471cd-51bb-4d83-b270-1ca5919c75ab",
            "FieldName": "sample string 1",
            "FieldLabel": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "dd743e33-28e2-4150-90fe-246c4b6ca9fd",
            "FieldId": "23e471cd-51bb-4d83-b270-1ca5919c75ab",
            "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": "75cf238d-19d3-489e-8c7a-98a67d92dc9e",
    "CreateDate": "2026-07-21T00:21:15.6397806-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2026-07-21T00:21:15.6397806-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}