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": "00f5fcd6-6fa8-408c-bd9f-330e48689566",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "51f7b48f-db43-459e-9406-d4b891643f3a",
"Section": {
"TaskTypeSectionId": "cdc23cc8-d3fb-430d-b4e6-56771701a062",
"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": "7e0f2705-356a-4bf8-9147-a1ecb0f82144",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0af74c32-31be-4a11-8ca3-b8b4e8942903",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4ded8db1-2a75-4dc5-a558-63f733e376e1",
"CreateDate": "2026-11-19T01:24:16.3965976-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T01:24:16.3965976-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a0d7b043-59d0-4ae8-ad70-a63ca5633557",
"FieldId": "4f444f37-61de-48cf-b18c-1b3ad14438c8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a0d7b043-59d0-4ae8-ad70-a63ca5633557",
"FieldId": "4f444f37-61de-48cf-b18c-1b3ad14438c8",
"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": "51f7b48f-db43-459e-9406-d4b891643f3a",
"Section": {
"TaskTypeSectionId": "cdc23cc8-d3fb-430d-b4e6-56771701a062",
"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": "7e0f2705-356a-4bf8-9147-a1ecb0f82144",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0af74c32-31be-4a11-8ca3-b8b4e8942903",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4ded8db1-2a75-4dc5-a558-63f733e376e1",
"CreateDate": "2026-11-19T01:24:16.3965976-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T01:24:16.3965976-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a0d7b043-59d0-4ae8-ad70-a63ca5633557",
"FieldId": "4f444f37-61de-48cf-b18c-1b3ad14438c8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a0d7b043-59d0-4ae8-ad70-a63ca5633557",
"FieldId": "4f444f37-61de-48cf-b18c-1b3ad14438c8",
"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": "a4edcea8-8312-4b56-9494-5162e40bbf1f",
"CreateDate": "2026-11-19T01:24:16.3965976-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T01:24:16.3965976-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "b87af3f2-d62a-4a3b-b8d9-1a5051e00ac6",
"CompanyId": "628e8b2a-dbe3-472a-8a68-4211fb0cc83e",
"TaskStatusTypeId": "4b33ac7e-8d8e-480d-b2b2-784320833a45",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "093f50cf-2d52-4d84-ba86-507af9a340d9",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "b87af3f2-d62a-4a3b-b8d9-1a5051e00ac6",
"CompanyId": "628e8b2a-dbe3-472a-8a68-4211fb0cc83e",
"TaskStatusTypeId": "4b33ac7e-8d8e-480d-b2b2-784320833a45",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "093f50cf-2d52-4d84-ba86-507af9a340d9",
"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": "5a928e2c-26e7-4c0e-9951-690be9a0cdfd",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d96bebaf-3558-4e3e-bc50-3893938996e4",
"Section": {
"TaskTypeSectionId": "8b1d8c86-445b-40af-ac03-d126b87b9622",
"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": "1d142dee-3a12-4082-8cd2-d24d1e68df86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8dc6fcc7-24c5-4390-9536-1b63efb4db5e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "856af6ca-45be-4d09-9873-555d9d8cd12e",
"CreateDate": "2026-11-19T01:24:16.4121572-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T01:24:16.4121572-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b1165e56-bd30-4999-b4dc-ed1e94dd7975",
"FieldId": "803f654e-d1a3-495b-873f-3035ce8fc4e0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b1165e56-bd30-4999-b4dc-ed1e94dd7975",
"FieldId": "803f654e-d1a3-495b-873f-3035ce8fc4e0",
"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": "d96bebaf-3558-4e3e-bc50-3893938996e4",
"Section": {
"TaskTypeSectionId": "8b1d8c86-445b-40af-ac03-d126b87b9622",
"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": "1d142dee-3a12-4082-8cd2-d24d1e68df86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8dc6fcc7-24c5-4390-9536-1b63efb4db5e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "856af6ca-45be-4d09-9873-555d9d8cd12e",
"CreateDate": "2026-11-19T01:24:16.4121572-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T01:24:16.4121572-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b1165e56-bd30-4999-b4dc-ed1e94dd7975",
"FieldId": "803f654e-d1a3-495b-873f-3035ce8fc4e0",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b1165e56-bd30-4999-b4dc-ed1e94dd7975",
"FieldId": "803f654e-d1a3-495b-873f-3035ce8fc4e0",
"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": "bdd65003-c11e-4d5d-8460-d0913219a732",
"CreateDate": "2026-11-19T01:24:16.4121572-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T01:24:16.4121572-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}