PUT TaskTypes
Updates the given task type.
Request Information
URI Parameters
None.
Body Parameters
Task - Task type to update. Associations - List of associations between task types and task status types.
TaskTypeParams| Name | Description | Type | Additional information |
|---|---|---|---|
| Task | TaskType |
None. |
|
| Associations | Collection of TaskStatusTypeTaskType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Task": {
"TaskTypeId": "a037a4c0-30bc-42e3-96c9-0f2e97a3f24e",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "2d52142f-d64d-4b7a-8946-d5a0e32e64b6",
"Section": {
"TaskTypeSectionId": "62ea622b-8c09-4b40-878d-81f7425656ce",
"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": "ba474b16-2721-4415-80e2-81d41dac9119",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "17792286-2fbe-4dfd-8051-2cdbb08d23ec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b69494b5-832c-4098-aa62-aade0fb25c86",
"CreateDate": "2026-09-26T13:57:01.4746092-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:01.4746092-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a49a86a8-bbb0-474d-8e7a-f489234885a5",
"FieldId": "4e495a28-3db0-4588-9901-c5b7798b2280",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a49a86a8-bbb0-474d-8e7a-f489234885a5",
"FieldId": "4e495a28-3db0-4588-9901-c5b7798b2280",
"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": "2d52142f-d64d-4b7a-8946-d5a0e32e64b6",
"Section": {
"TaskTypeSectionId": "62ea622b-8c09-4b40-878d-81f7425656ce",
"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": "ba474b16-2721-4415-80e2-81d41dac9119",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "17792286-2fbe-4dfd-8051-2cdbb08d23ec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b69494b5-832c-4098-aa62-aade0fb25c86",
"CreateDate": "2026-09-26T13:57:01.4746092-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:01.4746092-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a49a86a8-bbb0-474d-8e7a-f489234885a5",
"FieldId": "4e495a28-3db0-4588-9901-c5b7798b2280",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a49a86a8-bbb0-474d-8e7a-f489234885a5",
"FieldId": "4e495a28-3db0-4588-9901-c5b7798b2280",
"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": "5e4cf290-b697-468f-952b-082ec91fc853",
"CreateDate": "2026-09-26T13:57:01.4746092-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:57:01.4746092-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "4f4f3fe4-8b35-4ba1-bb11-a5809c72684f",
"CompanyId": "9079e76e-c81e-4285-8cd6-1301987d8c2e",
"TaskStatusTypeId": "3e23ecfc-a8da-4766-aea6-61cad301824e",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "f1e2564d-bab3-4d08-a205-50676bac2240",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "4f4f3fe4-8b35-4ba1-bb11-a5809c72684f",
"CompanyId": "9079e76e-c81e-4285-8cd6-1301987d8c2e",
"TaskStatusTypeId": "3e23ecfc-a8da-4766-aea6-61cad301824e",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "f1e2564d-bab3-4d08-a205-50676bac2240",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
}
]
}
Response Information
Resource Description
On success, the updated task type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | TaskType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"TaskTypeId": "fb51df9b-7474-47b4-b674-05355a9a88d0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "142973ba-75e6-4814-b27a-12e651c4e63f",
"Section": {
"TaskTypeSectionId": "21bab128-bafc-4038-80c8-628005e148d9",
"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": "ea9a148b-fcfa-46e7-ace5-8cb513ad8529",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b644c999-9365-4346-bba6-771b6252670f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7bb8a8dc-bdc1-47fb-84ad-a5cb1b77ef83",
"CreateDate": "2026-09-26T13:57:01.4746092-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:01.4746092-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e41095fc-a2eb-412f-859f-b64599a30157",
"FieldId": "6bc44b1b-9342-4f9b-ba66-ea1ddf543d1d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e41095fc-a2eb-412f-859f-b64599a30157",
"FieldId": "6bc44b1b-9342-4f9b-ba66-ea1ddf543d1d",
"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": "142973ba-75e6-4814-b27a-12e651c4e63f",
"Section": {
"TaskTypeSectionId": "21bab128-bafc-4038-80c8-628005e148d9",
"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": "ea9a148b-fcfa-46e7-ace5-8cb513ad8529",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b644c999-9365-4346-bba6-771b6252670f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7bb8a8dc-bdc1-47fb-84ad-a5cb1b77ef83",
"CreateDate": "2026-09-26T13:57:01.4746092-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:01.4746092-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e41095fc-a2eb-412f-859f-b64599a30157",
"FieldId": "6bc44b1b-9342-4f9b-ba66-ea1ddf543d1d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e41095fc-a2eb-412f-859f-b64599a30157",
"FieldId": "6bc44b1b-9342-4f9b-ba66-ea1ddf543d1d",
"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": "cc49137b-fb83-42a8-b70c-7eb64f1682df",
"CreateDate": "2026-09-26T13:57:01.4746092-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:57:01.4746092-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}