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": "dabf92b4-600a-4fcd-a859-cbc669c4336b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "9da8f78e-eadc-4b03-8aea-e75bed820449",
"Section": {
"TaskTypeSectionId": "3a4a51c6-d30b-427a-902c-3ecec6d63ab5",
"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": "dcad0d2e-2277-429f-94a8-17602e70867d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aaf21435-07f6-4086-bdbe-81b91bae9a35",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01102318-d747-4d32-845c-e1510651211a",
"CreateDate": "2026-10-04T02:38:53.7191571-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:38:53.7191571-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dbe77ab9-1279-4ba0-9772-872a0f596991",
"FieldId": "7929bb78-beef-4f28-a451-5efa34322a0b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dbe77ab9-1279-4ba0-9772-872a0f596991",
"FieldId": "7929bb78-beef-4f28-a451-5efa34322a0b",
"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": "9da8f78e-eadc-4b03-8aea-e75bed820449",
"Section": {
"TaskTypeSectionId": "3a4a51c6-d30b-427a-902c-3ecec6d63ab5",
"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": "dcad0d2e-2277-429f-94a8-17602e70867d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aaf21435-07f6-4086-bdbe-81b91bae9a35",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "01102318-d747-4d32-845c-e1510651211a",
"CreateDate": "2026-10-04T02:38:53.7191571-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:38:53.7191571-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dbe77ab9-1279-4ba0-9772-872a0f596991",
"FieldId": "7929bb78-beef-4f28-a451-5efa34322a0b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dbe77ab9-1279-4ba0-9772-872a0f596991",
"FieldId": "7929bb78-beef-4f28-a451-5efa34322a0b",
"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": "f6152f26-6b91-4a7b-aadd-b4e06d005d2a",
"CreateDate": "2026-10-04T02:38:53.7191571-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:38:53.7191571-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "b8885deb-870d-4b1f-9caa-26566652da0d",
"CompanyId": "7b494c64-e465-4911-9218-27a10c020e0a",
"TaskStatusTypeId": "dc8a254a-8a03-4711-91e5-cccf6eb5f245",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "3b1c5d59-eaa3-4c3d-a35d-a8c8a5238e35",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "b8885deb-870d-4b1f-9caa-26566652da0d",
"CompanyId": "7b494c64-e465-4911-9218-27a10c020e0a",
"TaskStatusTypeId": "dc8a254a-8a03-4711-91e5-cccf6eb5f245",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "3b1c5d59-eaa3-4c3d-a35d-a8c8a5238e35",
"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": "e160d9df-8aaa-4df8-98f2-6b07f51928a6",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "1f16aba9-d664-4c0e-9790-a4d2c451c71b",
"Section": {
"TaskTypeSectionId": "a5a36b1a-a625-4287-bcfd-0575e08cf675",
"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": "30bedcc6-d19a-4f28-9483-7ccc642b3653",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "04bbfd92-2458-496a-958b-d6156a6b0fce",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "968b7ea9-b417-45ce-a2a2-227aaa158e8c",
"CreateDate": "2026-10-04T02:38:53.7191571-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:38:53.7191571-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "721930ee-dcd7-4cd3-807f-73cc47e49489",
"FieldId": "c75e228b-6a0b-4120-8abf-d3e60702777b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "721930ee-dcd7-4cd3-807f-73cc47e49489",
"FieldId": "c75e228b-6a0b-4120-8abf-d3e60702777b",
"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": "1f16aba9-d664-4c0e-9790-a4d2c451c71b",
"Section": {
"TaskTypeSectionId": "a5a36b1a-a625-4287-bcfd-0575e08cf675",
"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": "30bedcc6-d19a-4f28-9483-7ccc642b3653",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "04bbfd92-2458-496a-958b-d6156a6b0fce",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "968b7ea9-b417-45ce-a2a2-227aaa158e8c",
"CreateDate": "2026-10-04T02:38:53.7191571-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T02:38:53.7191571-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "721930ee-dcd7-4cd3-807f-73cc47e49489",
"FieldId": "c75e228b-6a0b-4120-8abf-d3e60702777b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "721930ee-dcd7-4cd3-807f-73cc47e49489",
"FieldId": "c75e228b-6a0b-4120-8abf-d3e60702777b",
"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": "4b9dcdd8-df6d-4748-a06d-345cae95f4b9",
"CreateDate": "2026-10-04T02:38:53.7191571-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T02:38:53.7191571-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}