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": "90e2ebe5-615e-4a2a-8dcb-f3ef06af9265",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "b02ddae5-42e3-48c5-9c60-4c74d5cad14c",
        "Section": {
          "TaskTypeSectionId": "d762ae94-5f99-4154-bd12-07aa308ac24c",
          "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": "28723ad0-1af7-4320-9ebd-c2fefd57e60a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "250c8cf0-94a1-48d3-9ab3-9d9b7b79ff33",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c1533418-d06f-49a9-90e0-08628887d9c8",
          "CreateDate": "2025-07-30T23:16:08.432393-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-30T23:16:08.432393-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "0c469b62-6e1d-4d96-9b22-7339235ea4e6",
            "FieldId": "06399cbd-e399-4ea1-981c-d26ec6ab6c51",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "0c469b62-6e1d-4d96-9b22-7339235ea4e6",
            "FieldId": "06399cbd-e399-4ea1-981c-d26ec6ab6c51",
            "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": "b02ddae5-42e3-48c5-9c60-4c74d5cad14c",
        "Section": {
          "TaskTypeSectionId": "d762ae94-5f99-4154-bd12-07aa308ac24c",
          "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": "28723ad0-1af7-4320-9ebd-c2fefd57e60a",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "250c8cf0-94a1-48d3-9ab3-9d9b7b79ff33",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "c1533418-d06f-49a9-90e0-08628887d9c8",
          "CreateDate": "2025-07-30T23:16:08.432393-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-30T23:16:08.432393-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "0c469b62-6e1d-4d96-9b22-7339235ea4e6",
            "FieldId": "06399cbd-e399-4ea1-981c-d26ec6ab6c51",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "0c469b62-6e1d-4d96-9b22-7339235ea4e6",
            "FieldId": "06399cbd-e399-4ea1-981c-d26ec6ab6c51",
            "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": "90a55906-1fb1-47eb-bf70-caa8e97df343",
    "CreateDate": "2025-07-30T23:16:08.432393-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-07-30T23:16:08.432393-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Associations": [
    {
      "TaskStatusTypeTaskTypeId": "3be45873-df2f-420d-bc6e-ce8fa90c1d59",
      "CompanyId": "88e25e14-271e-442f-8140-ce80608a6053",
      "TaskStatusTypeId": "d649cc17-de17-4a8b-b16a-d3b72da65df3",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "c59d75e6-155c-4b5f-bd2f-5faae31de452",
      "TaskTypeName": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "TaskStatusTypeTaskTypeId": "3be45873-df2f-420d-bc6e-ce8fa90c1d59",
      "CompanyId": "88e25e14-271e-442f-8140-ce80608a6053",
      "TaskStatusTypeId": "d649cc17-de17-4a8b-b16a-d3b72da65df3",
      "TaskStatusTypeName": "sample string 2",
      "SourceSystemId": "sample string 3",
      "TaskTypeId": "c59d75e6-155c-4b5f-bd2f-5faae31de452",
      "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": "37a11548-a8db-4591-9859-75d459180e1c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "CustomStatuses": true,
    "Fields": [
      {
        "TaskTypeFieldId": "590815ef-7e6d-4dd3-a35f-bf5e6ba860ac",
        "Section": {
          "TaskTypeSectionId": "faa14fdb-f5b2-4e95-987d-c3c3643b1b7d",
          "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": "55119620-3766-415c-9683-bf63411f24e8",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c9037617-64b9-4db9-8b4c-a6d528bde992",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d2b9068a-133f-453c-8384-ad4e355cd9ba",
          "CreateDate": "2025-07-30T23:16:08.4480224-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-30T23:16:08.4480224-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e45bcc40-86ff-41b0-aefa-58f086d54702",
            "FieldId": "48957d45-0fef-484b-bda4-4bd694e41e42",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e45bcc40-86ff-41b0-aefa-58f086d54702",
            "FieldId": "48957d45-0fef-484b-bda4-4bd694e41e42",
            "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": "590815ef-7e6d-4dd3-a35f-bf5e6ba860ac",
        "Section": {
          "TaskTypeSectionId": "faa14fdb-f5b2-4e95-987d-c3c3643b1b7d",
          "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": "55119620-3766-415c-9683-bf63411f24e8",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "c9037617-64b9-4db9-8b4c-a6d528bde992",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "d2b9068a-133f-453c-8384-ad4e355cd9ba",
          "CreateDate": "2025-07-30T23:16:08.4480224-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2025-07-30T23:16:08.4480224-07:00",
          "LastModifiedUser": "sample string 6"
        },
        "DisplayOrder": 1,
        "MinValue": 1.0,
        "MaxValue": 1.0,
        "MinLength": 1,
        "MaxLength": 1,
        "HasValidValues": true,
        "ValidValues": [
          {
            "ValidValueId": "e45bcc40-86ff-41b0-aefa-58f086d54702",
            "FieldId": "48957d45-0fef-484b-bda4-4bd694e41e42",
            "FieldName": "sample string 1",
            "FieldLable": "sample string 2",
            "ValueText": "sample string 3",
            "LabelText": "sample string 4"
          },
          {
            "ValidValueId": "e45bcc40-86ff-41b0-aefa-58f086d54702",
            "FieldId": "48957d45-0fef-484b-bda4-4bd694e41e42",
            "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": "bb0f853f-181d-493f-841b-7bc1994f5fdb",
    "CreateDate": "2025-07-30T23:16:08.4480224-07:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2025-07-30T23:16:08.4480224-07:00",
    "LastModifiedUser": "sample string 7"
  },
  "Total": 1,
  "Message": "sample string 1"
}