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": "66953416-0efb-49bc-8699-837fbd8d88ce",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ae55584d-c016-4de3-9015-929b46df0751",
"Section": {
"TaskTypeSectionId": "0ede5da5-b4ec-4934-ac51-7c892d17fe6a",
"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": "500bfc8c-c3a9-4e39-b6e9-cee8c96e6e17",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ad1ece0e-eff0-4ad7-9f49-3e6aa038cd30",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "25163827-85d0-4718-99c1-434091dd524a",
"CreateDate": "2026-04-27T20:30:18.2745002-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:30:18.2745002-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7bae6b3a-f560-4e8d-9cc3-db383added3f",
"FieldId": "aad454b2-4aab-4c30-9c08-9bda98455ff7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7bae6b3a-f560-4e8d-9cc3-db383added3f",
"FieldId": "aad454b2-4aab-4c30-9c08-9bda98455ff7",
"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": "ae55584d-c016-4de3-9015-929b46df0751",
"Section": {
"TaskTypeSectionId": "0ede5da5-b4ec-4934-ac51-7c892d17fe6a",
"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": "500bfc8c-c3a9-4e39-b6e9-cee8c96e6e17",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ad1ece0e-eff0-4ad7-9f49-3e6aa038cd30",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "25163827-85d0-4718-99c1-434091dd524a",
"CreateDate": "2026-04-27T20:30:18.2745002-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:30:18.2745002-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7bae6b3a-f560-4e8d-9cc3-db383added3f",
"FieldId": "aad454b2-4aab-4c30-9c08-9bda98455ff7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7bae6b3a-f560-4e8d-9cc3-db383added3f",
"FieldId": "aad454b2-4aab-4c30-9c08-9bda98455ff7",
"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": "ce437ab6-22a1-4109-8916-a6286763eb2f",
"CreateDate": "2026-04-27T20:30:18.2745002-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:30:18.2745002-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "30d5886c-c3fa-4004-8a91-60a9bd4c118d",
"CompanyId": "df4f90c8-7cc5-4cca-b9eb-a42e9740fd32",
"TaskStatusTypeId": "7dd8e86b-63e8-48c1-a056-bcdc049da8cb",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "65d888b4-8fc5-46b6-bc3a-e22608ca6827",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "30d5886c-c3fa-4004-8a91-60a9bd4c118d",
"CompanyId": "df4f90c8-7cc5-4cca-b9eb-a42e9740fd32",
"TaskStatusTypeId": "7dd8e86b-63e8-48c1-a056-bcdc049da8cb",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "65d888b4-8fc5-46b6-bc3a-e22608ca6827",
"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": "9d8e2d02-f07e-4406-9ce8-b2fe177b28bf",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "56328f50-07e2-43ab-b2af-6122e4a1229f",
"Section": {
"TaskTypeSectionId": "4b0c17e1-c760-4eae-8495-c349ab212b3c",
"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": "b16f8e95-41e6-47b2-be60-7e7180c36366",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7f26f509-8cc2-4716-940b-3e2da3c00dba",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3df4dc92-2d5e-413b-aeed-274b4d04607d",
"CreateDate": "2026-04-27T20:30:18.2745002-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:30:18.2745002-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "307496bf-fd46-4cd8-b235-32f9edc64f05",
"FieldId": "2783c679-c478-47a6-90b4-92403a89b9f2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "307496bf-fd46-4cd8-b235-32f9edc64f05",
"FieldId": "2783c679-c478-47a6-90b4-92403a89b9f2",
"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": "56328f50-07e2-43ab-b2af-6122e4a1229f",
"Section": {
"TaskTypeSectionId": "4b0c17e1-c760-4eae-8495-c349ab212b3c",
"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": "b16f8e95-41e6-47b2-be60-7e7180c36366",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7f26f509-8cc2-4716-940b-3e2da3c00dba",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3df4dc92-2d5e-413b-aeed-274b4d04607d",
"CreateDate": "2026-04-27T20:30:18.2745002-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:30:18.2745002-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "307496bf-fd46-4cd8-b235-32f9edc64f05",
"FieldId": "2783c679-c478-47a6-90b4-92403a89b9f2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "307496bf-fd46-4cd8-b235-32f9edc64f05",
"FieldId": "2783c679-c478-47a6-90b4-92403a89b9f2",
"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": "64f06f9d-49e6-4738-a02d-2d03c58f44dc",
"CreateDate": "2026-04-27T20:30:18.2745002-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:30:18.2745002-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}