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": "551b319c-3200-4ad2-9f7a-b77266b9fb5c",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "45d40cef-0f74-42ff-98ca-03a3ae43ddbd",
"Section": {
"TaskTypeSectionId": "03698a8c-15f4-4310-8d31-e7b452947982",
"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": "7db565b9-0c9e-46e3-bc0a-3279cc2d4b03",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6174cffd-fd22-4985-b92d-7f5c89fc7de8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "72383a24-71b0-4495-88b0-ab66ce61a13a",
"CreateDate": "2026-03-15T15:42:33.6260007-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T15:42:33.6260007-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "af23bbf1-bb42-498d-8269-4cef7e035b06",
"FieldId": "2e2c0644-1be1-4ca1-871c-f5b7aa543d92",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "af23bbf1-bb42-498d-8269-4cef7e035b06",
"FieldId": "2e2c0644-1be1-4ca1-871c-f5b7aa543d92",
"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": "45d40cef-0f74-42ff-98ca-03a3ae43ddbd",
"Section": {
"TaskTypeSectionId": "03698a8c-15f4-4310-8d31-e7b452947982",
"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": "7db565b9-0c9e-46e3-bc0a-3279cc2d4b03",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6174cffd-fd22-4985-b92d-7f5c89fc7de8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "72383a24-71b0-4495-88b0-ab66ce61a13a",
"CreateDate": "2026-03-15T15:42:33.6260007-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T15:42:33.6260007-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "af23bbf1-bb42-498d-8269-4cef7e035b06",
"FieldId": "2e2c0644-1be1-4ca1-871c-f5b7aa543d92",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "af23bbf1-bb42-498d-8269-4cef7e035b06",
"FieldId": "2e2c0644-1be1-4ca1-871c-f5b7aa543d92",
"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": "abaa306d-dd17-4e9d-9783-580091f1862f",
"CreateDate": "2026-03-15T15:42:33.6260007-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T15:42:33.6260007-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "e3ea1a8a-28e1-4de6-bedb-5338d2528fc5",
"CompanyId": "171f7b97-9366-44d9-8034-14dce4be02ed",
"TaskStatusTypeId": "04ec0bca-7bf6-4c2d-bcd5-8dc9a192dd88",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "efa41c50-d2fa-43cf-85bb-0149c06a690d",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "e3ea1a8a-28e1-4de6-bedb-5338d2528fc5",
"CompanyId": "171f7b97-9366-44d9-8034-14dce4be02ed",
"TaskStatusTypeId": "04ec0bca-7bf6-4c2d-bcd5-8dc9a192dd88",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "efa41c50-d2fa-43cf-85bb-0149c06a690d",
"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": "e7b7a5cf-0892-47db-aa32-b2e8e1f9a495",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "25f87392-6bb0-41d8-9e73-5382975473ed",
"Section": {
"TaskTypeSectionId": "e22a8f45-fde5-4de9-aa10-595fb1a5adac",
"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": "e3383860-7870-4704-8e75-4202e0b8b861",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "55c48017-f9fc-43f8-8b0d-35e3067b26dc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "be4bd64a-d3c3-4149-9d04-49d1b81cc050",
"CreateDate": "2026-03-15T15:42:33.6416888-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T15:42:33.6416888-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "54531044-4238-4efc-8874-fcd5e96e7ac8",
"FieldId": "c98c662b-007c-4453-bd7c-07298098cb1b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "54531044-4238-4efc-8874-fcd5e96e7ac8",
"FieldId": "c98c662b-007c-4453-bd7c-07298098cb1b",
"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": "25f87392-6bb0-41d8-9e73-5382975473ed",
"Section": {
"TaskTypeSectionId": "e22a8f45-fde5-4de9-aa10-595fb1a5adac",
"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": "e3383860-7870-4704-8e75-4202e0b8b861",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "55c48017-f9fc-43f8-8b0d-35e3067b26dc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "be4bd64a-d3c3-4149-9d04-49d1b81cc050",
"CreateDate": "2026-03-15T15:42:33.6416888-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T15:42:33.6416888-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "54531044-4238-4efc-8874-fcd5e96e7ac8",
"FieldId": "c98c662b-007c-4453-bd7c-07298098cb1b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "54531044-4238-4efc-8874-fcd5e96e7ac8",
"FieldId": "c98c662b-007c-4453-bd7c-07298098cb1b",
"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": "3008fc6a-9f8e-44b1-af12-20c906a270cf",
"CreateDate": "2026-03-15T15:42:33.6416888-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T15:42:33.6416888-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}