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": "026c56d0-ea4f-428c-a439-90d1c6d29408",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "cd9e34b2-e5da-43ac-9d98-f9a10f5219b4",
"Section": {
"TaskTypeSectionId": "c3fe5554-a3eb-46e2-b08f-d7f3e3678ae4",
"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": "12e53b74-c187-4bbb-9739-84e81d7878da",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9b564731-3e3a-4cc6-a2c0-2ed020c004ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "81124f15-7d28-4285-9ae6-faca4e33bba5",
"CreateDate": "2026-11-21T11:57:02.9521359-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:02.9521359-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bf7830f0-c278-40af-b882-eb443b5bd53b",
"FieldId": "6597aa2d-ad3e-4ffa-9415-95621396c923",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bf7830f0-c278-40af-b882-eb443b5bd53b",
"FieldId": "6597aa2d-ad3e-4ffa-9415-95621396c923",
"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": "cd9e34b2-e5da-43ac-9d98-f9a10f5219b4",
"Section": {
"TaskTypeSectionId": "c3fe5554-a3eb-46e2-b08f-d7f3e3678ae4",
"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": "12e53b74-c187-4bbb-9739-84e81d7878da",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9b564731-3e3a-4cc6-a2c0-2ed020c004ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "81124f15-7d28-4285-9ae6-faca4e33bba5",
"CreateDate": "2026-11-21T11:57:02.9521359-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:02.9521359-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bf7830f0-c278-40af-b882-eb443b5bd53b",
"FieldId": "6597aa2d-ad3e-4ffa-9415-95621396c923",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bf7830f0-c278-40af-b882-eb443b5bd53b",
"FieldId": "6597aa2d-ad3e-4ffa-9415-95621396c923",
"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": "377dd07b-ff46-45c2-a6e0-e8b55c03e1e9",
"CreateDate": "2026-11-21T11:57:02.9521359-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:02.9521359-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "47787e0e-edf1-4580-904a-824ef77fadeb",
"CompanyId": "9bb2567e-ca38-41f4-b825-34ec5c0296ef",
"TaskStatusTypeId": "a556258b-8276-46c7-9c72-de25c32fec47",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c25b0329-2ca3-457d-a015-f34239b5344f",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "47787e0e-edf1-4580-904a-824ef77fadeb",
"CompanyId": "9bb2567e-ca38-41f4-b825-34ec5c0296ef",
"TaskStatusTypeId": "a556258b-8276-46c7-9c72-de25c32fec47",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c25b0329-2ca3-457d-a015-f34239b5344f",
"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": "049263d6-08a6-4821-a5af-2d74dd29d0ab",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "442fbdba-724d-4e35-9f34-b174827a9abe",
"Section": {
"TaskTypeSectionId": "3f474276-41c4-4808-8aa4-9a0bc4b0cbd1",
"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": "ed4cdb42-1b03-4dde-b3c5-27f0d2e1e223",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c99e403e-091c-4ff7-88a4-92dd1aeee557",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6463f113-723c-40d9-8ad6-06094e4ec3b1",
"CreateDate": "2026-11-21T11:57:02.9521359-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:02.9521359-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c6557571-de0a-4e2c-b8c4-0865dbdb6a8c",
"FieldId": "198bbb98-57d5-4567-a0a3-e9ee5ac4eee5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c6557571-de0a-4e2c-b8c4-0865dbdb6a8c",
"FieldId": "198bbb98-57d5-4567-a0a3-e9ee5ac4eee5",
"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": "442fbdba-724d-4e35-9f34-b174827a9abe",
"Section": {
"TaskTypeSectionId": "3f474276-41c4-4808-8aa4-9a0bc4b0cbd1",
"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": "ed4cdb42-1b03-4dde-b3c5-27f0d2e1e223",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c99e403e-091c-4ff7-88a4-92dd1aeee557",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6463f113-723c-40d9-8ad6-06094e4ec3b1",
"CreateDate": "2026-11-21T11:57:02.9521359-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:02.9521359-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c6557571-de0a-4e2c-b8c4-0865dbdb6a8c",
"FieldId": "198bbb98-57d5-4567-a0a3-e9ee5ac4eee5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c6557571-de0a-4e2c-b8c4-0865dbdb6a8c",
"FieldId": "198bbb98-57d5-4567-a0a3-e9ee5ac4eee5",
"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": "7d3c0b7a-5528-4c50-9e7a-147c44afd338",
"CreateDate": "2026-11-21T11:57:02.9521359-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:02.9521359-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}