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": "0057f424-877d-4286-98c3-daa7f44d68e1",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "48028e21-0cdc-41ba-8828-0d710e9a8590",
"Section": {
"TaskTypeSectionId": "e82b1cc9-165b-413a-8f3a-178f093b948b",
"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": "f048c725-d2fe-42cc-aa62-0fe9c23d409e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f64bba71-d9d1-4909-b7f3-1b1b4a65a708",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "52d020e0-bbd1-452d-b30b-2c631725a395",
"CreateDate": "2026-10-29T15:23:50.2501814-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:23:50.2501814-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab291c16-6c93-4546-875e-b8418708f80b",
"FieldId": "2ed6a2dd-b7ca-4300-b93b-8b4b4a6f4caa",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab291c16-6c93-4546-875e-b8418708f80b",
"FieldId": "2ed6a2dd-b7ca-4300-b93b-8b4b4a6f4caa",
"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": "48028e21-0cdc-41ba-8828-0d710e9a8590",
"Section": {
"TaskTypeSectionId": "e82b1cc9-165b-413a-8f3a-178f093b948b",
"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": "f048c725-d2fe-42cc-aa62-0fe9c23d409e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f64bba71-d9d1-4909-b7f3-1b1b4a65a708",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "52d020e0-bbd1-452d-b30b-2c631725a395",
"CreateDate": "2026-10-29T15:23:50.2501814-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:23:50.2501814-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ab291c16-6c93-4546-875e-b8418708f80b",
"FieldId": "2ed6a2dd-b7ca-4300-b93b-8b4b4a6f4caa",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ab291c16-6c93-4546-875e-b8418708f80b",
"FieldId": "2ed6a2dd-b7ca-4300-b93b-8b4b4a6f4caa",
"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": "ea575117-edb2-4c1e-befe-59e4930b452a",
"CreateDate": "2026-10-29T15:23:50.2501814-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:23:50.2501814-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "de7b8227-390c-409c-b463-8d1e09762780",
"CompanyId": "459ebcbf-b31c-42cf-90b0-0b316b1b826b",
"TaskStatusTypeId": "55ca6b54-cde4-48d9-a475-fe56f7908874",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "2a18cd39-7ae7-4c78-b263-c59e67ea0ccd",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "de7b8227-390c-409c-b463-8d1e09762780",
"CompanyId": "459ebcbf-b31c-42cf-90b0-0b316b1b826b",
"TaskStatusTypeId": "55ca6b54-cde4-48d9-a475-fe56f7908874",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "2a18cd39-7ae7-4c78-b263-c59e67ea0ccd",
"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": "df5371ed-f497-4abe-a3bf-0673dd7e91a8",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "24e4c2d9-0d84-4146-a512-7bf3e48322d1",
"Section": {
"TaskTypeSectionId": "ac419cc9-8210-4fee-b663-988576a3037b",
"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": "c1a32a2b-7d9d-456b-ae79-147e28f1dd9d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "daa2231b-2689-4056-9be6-2bf8168f2dcf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3c6d5088-c596-4bb5-8fa7-03e244a8d110",
"CreateDate": "2026-10-29T15:23:50.2501814-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:23:50.2501814-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5dfcf006-e85b-40ca-a851-cf820c8dd5bb",
"FieldId": "eeb72e56-0095-4a65-965e-d6cc89a20a88",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5dfcf006-e85b-40ca-a851-cf820c8dd5bb",
"FieldId": "eeb72e56-0095-4a65-965e-d6cc89a20a88",
"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": "24e4c2d9-0d84-4146-a512-7bf3e48322d1",
"Section": {
"TaskTypeSectionId": "ac419cc9-8210-4fee-b663-988576a3037b",
"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": "c1a32a2b-7d9d-456b-ae79-147e28f1dd9d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "daa2231b-2689-4056-9be6-2bf8168f2dcf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3c6d5088-c596-4bb5-8fa7-03e244a8d110",
"CreateDate": "2026-10-29T15:23:50.2501814-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-29T15:23:50.2501814-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5dfcf006-e85b-40ca-a851-cf820c8dd5bb",
"FieldId": "eeb72e56-0095-4a65-965e-d6cc89a20a88",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5dfcf006-e85b-40ca-a851-cf820c8dd5bb",
"FieldId": "eeb72e56-0095-4a65-965e-d6cc89a20a88",
"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": "12f69f20-8b28-4dff-bfed-e915ff041e84",
"CreateDate": "2026-10-29T15:23:50.2501814-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-29T15:23:50.2501814-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}