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": "e3930c61-7c99-455c-809b-f6cc2ecd4fe5",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "168d9811-d546-42a8-b909-2e5c5424653e",
"Section": {
"TaskTypeSectionId": "70996e13-9898-4862-8eb6-9e82b6e0bbc0",
"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": "0828055e-9b4b-4e44-b52c-84fc71a617d5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0cfb6611-4d79-4a82-a70e-cace8b83c186",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0e52ed11-1a06-4f9a-9d10-c1c533fd304a",
"CreateDate": "2026-09-10T13:20:28.7148142-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-10T13:20:28.7148142-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5f0a2a0b-7011-4294-8163-e6742da36f4a",
"FieldId": "b1b23433-923b-4c51-9006-f2b6f80546be",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5f0a2a0b-7011-4294-8163-e6742da36f4a",
"FieldId": "b1b23433-923b-4c51-9006-f2b6f80546be",
"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": "168d9811-d546-42a8-b909-2e5c5424653e",
"Section": {
"TaskTypeSectionId": "70996e13-9898-4862-8eb6-9e82b6e0bbc0",
"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": "0828055e-9b4b-4e44-b52c-84fc71a617d5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0cfb6611-4d79-4a82-a70e-cace8b83c186",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0e52ed11-1a06-4f9a-9d10-c1c533fd304a",
"CreateDate": "2026-09-10T13:20:28.7148142-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-10T13:20:28.7148142-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5f0a2a0b-7011-4294-8163-e6742da36f4a",
"FieldId": "b1b23433-923b-4c51-9006-f2b6f80546be",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5f0a2a0b-7011-4294-8163-e6742da36f4a",
"FieldId": "b1b23433-923b-4c51-9006-f2b6f80546be",
"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": "c6da0b1d-53dd-4e57-8377-b743c7c6ba72",
"CreateDate": "2026-09-10T13:20:28.7148142-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-10T13:20:28.7148142-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "09f6259a-bfb0-4c29-a21b-47ab30d40620",
"CompanyId": "124d6873-cdd1-48da-a2bf-1d3818954ca0",
"TaskStatusTypeId": "33de2a17-3abb-4d76-afaa-48ddd614557c",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "4387dba5-1b98-453b-afb5-5d6bb51467fe",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "09f6259a-bfb0-4c29-a21b-47ab30d40620",
"CompanyId": "124d6873-cdd1-48da-a2bf-1d3818954ca0",
"TaskStatusTypeId": "33de2a17-3abb-4d76-afaa-48ddd614557c",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "4387dba5-1b98-453b-afb5-5d6bb51467fe",
"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": "16c2eb34-ecd8-473d-b835-48f2a8098b61",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "8d7ed3f8-ed8e-4882-b39a-625258cf5be7",
"Section": {
"TaskTypeSectionId": "16cf3c15-f394-4c88-9c61-1d1365ffe668",
"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": "b45edf6a-c828-4178-92a0-1341728316b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9414bb32-f1a0-42c3-a877-d849d8bb3e29",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27cd78df-a8a9-4ddb-8ca5-b68ed0ea23db",
"CreateDate": "2026-09-10T13:20:28.7148142-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-10T13:20:28.7148142-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "40d2f548-79df-4ea9-a58f-fd67820b6dc1",
"FieldId": "6315596d-745e-43c8-8652-705ab888f2a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "40d2f548-79df-4ea9-a58f-fd67820b6dc1",
"FieldId": "6315596d-745e-43c8-8652-705ab888f2a5",
"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": "8d7ed3f8-ed8e-4882-b39a-625258cf5be7",
"Section": {
"TaskTypeSectionId": "16cf3c15-f394-4c88-9c61-1d1365ffe668",
"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": "b45edf6a-c828-4178-92a0-1341728316b4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9414bb32-f1a0-42c3-a877-d849d8bb3e29",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27cd78df-a8a9-4ddb-8ca5-b68ed0ea23db",
"CreateDate": "2026-09-10T13:20:28.7148142-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-10T13:20:28.7148142-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "40d2f548-79df-4ea9-a58f-fd67820b6dc1",
"FieldId": "6315596d-745e-43c8-8652-705ab888f2a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "40d2f548-79df-4ea9-a58f-fd67820b6dc1",
"FieldId": "6315596d-745e-43c8-8652-705ab888f2a5",
"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": "b9152227-0450-475a-ac10-0edae3a3a932",
"CreateDate": "2026-09-10T13:20:28.7148142-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-10T13:20:28.7148142-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}