POST TaskTypes
Request Information
URI Parameters
None.
Body Parameters
TaskTypeParams| Name | Description | Type | Additional information |
|---|---|---|---|
| Task | TaskType |
None. |
|
| Associations | Collection of TaskStatusTypeTaskType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Task": {
"TaskTypeId": "0ce9d811-2d8d-4c03-8177-ab03ddcd89f6",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "51c203de-4d03-4d5a-a89c-1a8d08314039",
"Section": {
"TaskTypeSectionId": "624dae98-0028-4c68-82a9-55b249842d4e",
"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": "cae9ead9-0adb-42df-b16f-f54b9cd5b9cf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4d9dc6c-718b-4b7c-9ff0-42de5c923d04",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b4897a21-78b9-4278-9d35-52d223e470ee",
"CreateDate": "2026-06-25T14:25:17.6640697-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:17.6640697-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6af09674-00be-472f-a6cf-7244845f8a6c",
"FieldId": "6083b1e9-1136-4b60-b35c-d5accd124175",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6af09674-00be-472f-a6cf-7244845f8a6c",
"FieldId": "6083b1e9-1136-4b60-b35c-d5accd124175",
"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": "51c203de-4d03-4d5a-a89c-1a8d08314039",
"Section": {
"TaskTypeSectionId": "624dae98-0028-4c68-82a9-55b249842d4e",
"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": "cae9ead9-0adb-42df-b16f-f54b9cd5b9cf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e4d9dc6c-718b-4b7c-9ff0-42de5c923d04",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b4897a21-78b9-4278-9d35-52d223e470ee",
"CreateDate": "2026-06-25T14:25:17.6640697-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:17.6640697-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6af09674-00be-472f-a6cf-7244845f8a6c",
"FieldId": "6083b1e9-1136-4b60-b35c-d5accd124175",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6af09674-00be-472f-a6cf-7244845f8a6c",
"FieldId": "6083b1e9-1136-4b60-b35c-d5accd124175",
"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": "439b93df-75ff-4085-a701-63e6d87d50f7",
"CreateDate": "2026-06-25T14:25:17.6640697-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:25:17.6640697-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "c5089ebf-8e57-4db9-9722-173628a691de",
"CompanyId": "c4f30f3a-0489-4288-98ec-914a8a374bf9",
"TaskStatusTypeId": "1e4b2c86-5659-4746-a40a-20f8c6f4f6fa",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c8a0f174-e765-455b-a5dc-3245763981b6",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "c5089ebf-8e57-4db9-9722-173628a691de",
"CompanyId": "c4f30f3a-0489-4288-98ec-914a8a374bf9",
"TaskStatusTypeId": "1e4b2c86-5659-4746-a40a-20f8c6f4f6fa",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c8a0f174-e765-455b-a5dc-3245763981b6",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
}
]
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | TaskType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"TaskTypeId": "d5e418ab-8368-4bb2-9046-650046af2bc7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "27dcda09-dd2b-421c-bde2-1626a8039fe9",
"Section": {
"TaskTypeSectionId": "ec184880-bdec-470b-986a-903455d62f2a",
"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": "c8f138c6-ade0-4bf4-865d-79bb728bbfb0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c8364a3-543c-469d-9cc0-e32cb33b5cd3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9534c4a5-819e-4010-b0ce-926d67094f3d",
"CreateDate": "2026-06-25T14:25:17.6640697-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:17.6640697-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "96e4a01b-876a-4331-9f8f-c134559f35ad",
"FieldId": "e31d05ab-d6db-4fbd-b794-b8203ddf32d1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "96e4a01b-876a-4331-9f8f-c134559f35ad",
"FieldId": "e31d05ab-d6db-4fbd-b794-b8203ddf32d1",
"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": "27dcda09-dd2b-421c-bde2-1626a8039fe9",
"Section": {
"TaskTypeSectionId": "ec184880-bdec-470b-986a-903455d62f2a",
"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": "c8f138c6-ade0-4bf4-865d-79bb728bbfb0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c8364a3-543c-469d-9cc0-e32cb33b5cd3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9534c4a5-819e-4010-b0ce-926d67094f3d",
"CreateDate": "2026-06-25T14:25:17.6640697-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T14:25:17.6640697-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "96e4a01b-876a-4331-9f8f-c134559f35ad",
"FieldId": "e31d05ab-d6db-4fbd-b794-b8203ddf32d1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "96e4a01b-876a-4331-9f8f-c134559f35ad",
"FieldId": "e31d05ab-d6db-4fbd-b794-b8203ddf32d1",
"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": "471b1fa6-97cd-4da6-af7e-75d702f048f6",
"CreateDate": "2026-06-25T14:25:17.6640697-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T14:25:17.6640697-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}