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": "93f7072b-17bf-4763-ad7a-8a9fa4f37da4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "bc0a7463-9782-4f2c-a98e-7f9da5bac37c",
        "Section": {
          "TaskTypeSectionId": "096fe4f3-b569-44f9-8a11-f16a695922fc",
          "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": "469fd10d-e2f4-4aee-8e08-455cf39ad29c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "039381f0-6676-4ea9-ab6d-980bd316ef3e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c4d7c0ec-1b29-43cf-9918-ca43a63c9b73",
          "CreateDate": "2025-11-29T01:15:30.0042082-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-29T01:15:30.0042082-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          "sample string 1",
          "sample string 2"
        ],
        "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": "bc0a7463-9782-4f2c-a98e-7f9da5bac37c",
        "Section": {
          "TaskTypeSectionId": "096fe4f3-b569-44f9-8a11-f16a695922fc",
          "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": "469fd10d-e2f4-4aee-8e08-455cf39ad29c",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "039381f0-6676-4ea9-ab6d-980bd316ef3e",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c4d7c0ec-1b29-43cf-9918-ca43a63c9b73",
          "CreateDate": "2025-11-29T01:15:30.0042082-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-29T01:15:30.0042082-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          "sample string 1",
          "sample string 2"
        ],
        "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": "e20912f7-7715-4ea4-b29d-009d88ef6700",
    "CreateDate": "2025-11-29T01:15:30.0042082-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-11-29T01:15:30.0042082-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "2f5c6e64-c57f-4639-8791-6b21b20a030f",
      "CompanyId": "cb631c6a-c858-412a-9f57-36ba91d7bfc0",
      "TaskStatusTypeId": "a721ce8e-5eab-4185-bce1-535599928483",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "e6f56ae3-9e6f-49ed-893d-8f5072a06d41",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "2f5c6e64-c57f-4639-8791-6b21b20a030f",
      "CompanyId": "cb631c6a-c858-412a-9f57-36ba91d7bfc0",
      "TaskStatusTypeId": "a721ce8e-5eab-4185-bce1-535599928483",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "e6f56ae3-9e6f-49ed-893d-8f5072a06d41",
      "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": "38c6809d-c947-46d5-80f1-88c016bebae1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "895e1e3b-d78b-41ab-b1a4-668a94087962",
        "Section": {
          "TaskTypeSectionId": "13ab3993-43eb-43d6-b23d-26f804b3b7fc",
          "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": "c3cfbbe2-1ad2-4f4d-9d55-4be4bbd30fc0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "717dfa2b-f68b-48b6-9ba7-6c3e1d38f60c",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "23c60175-9c3c-4be2-b387-f0da01dd26e1",
          "CreateDate": "2025-11-29T01:15:30.0197828-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-29T01:15:30.0197828-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          "sample string 1",
          "sample string 2"
        ],
        "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": "895e1e3b-d78b-41ab-b1a4-668a94087962",
        "Section": {
          "TaskTypeSectionId": "13ab3993-43eb-43d6-b23d-26f804b3b7fc",
          "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": "c3cfbbe2-1ad2-4f4d-9d55-4be4bbd30fc0",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "717dfa2b-f68b-48b6-9ba7-6c3e1d38f60c",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "23c60175-9c3c-4be2-b387-f0da01dd26e1",
          "CreateDate": "2025-11-29T01:15:30.0197828-08:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-11-29T01:15:30.0197828-08:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          "sample string 1",
          "sample string 2"
        ],
        "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": "dcc1920a-f48c-43ec-9054-e5689bc58890",
    "CreateDate": "2025-11-29T01:15:30.0197828-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-11-29T01:15:30.0197828-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}