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": "0598282d-5bd7-4e88-8e0d-c68d268003f2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "99e0c9ee-b31f-4c3d-b193-37c612e319f3",
"Section": {
"TaskTypeSectionId": "cd2dcf72-6817-4a02-96c6-1e2f566ed646",
"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": "759a26cd-5a31-4b48-ae6c-eab332c61eaa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1b5891dd-ecef-4233-a623-edb74dbe2c22",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d4666283-4564-4c2a-b84d-5388015cf82c",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:47:13.326686-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "28c6bbd9-e72b-4a07-825b-673e74eb4fca",
"FieldId": "75cefae3-8ab9-47e0-a53a-e42fb6986d6a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "28c6bbd9-e72b-4a07-825b-673e74eb4fca",
"FieldId": "75cefae3-8ab9-47e0-a53a-e42fb6986d6a",
"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": "99e0c9ee-b31f-4c3d-b193-37c612e319f3",
"Section": {
"TaskTypeSectionId": "cd2dcf72-6817-4a02-96c6-1e2f566ed646",
"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": "759a26cd-5a31-4b48-ae6c-eab332c61eaa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1b5891dd-ecef-4233-a623-edb74dbe2c22",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d4666283-4564-4c2a-b84d-5388015cf82c",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:47:13.326686-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "28c6bbd9-e72b-4a07-825b-673e74eb4fca",
"FieldId": "75cefae3-8ab9-47e0-a53a-e42fb6986d6a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "28c6bbd9-e72b-4a07-825b-673e74eb4fca",
"FieldId": "75cefae3-8ab9-47e0-a53a-e42fb6986d6a",
"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": "4180c36c-94b2-4d51-99eb-117f363cc219",
"CreateDate": "2026-11-12T07:47:13.326686-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-12T07:47:13.326686-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "bcafa177-5604-4e81-a69a-02d1ea0da4d8",
"CompanyId": "ee6f3559-01f8-4ce2-8be8-838ec27c286c",
"TaskStatusTypeId": "6d7fbb2c-31b8-40a4-8520-074f77816ba8",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c50223c9-0cba-4908-bc24-76e070230e2a",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "bcafa177-5604-4e81-a69a-02d1ea0da4d8",
"CompanyId": "ee6f3559-01f8-4ce2-8be8-838ec27c286c",
"TaskStatusTypeId": "6d7fbb2c-31b8-40a4-8520-074f77816ba8",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c50223c9-0cba-4908-bc24-76e070230e2a",
"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": "02a00cdd-6edb-4459-915d-74ed059214fb",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "afaa37ce-15c3-4638-bbb7-1901e1e3752e",
"Section": {
"TaskTypeSectionId": "a246f036-00ca-45d1-9973-a626e064456e",
"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": "624875c0-4b1c-4ede-a711-773ef58f2498",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c087361c-9bb7-4516-ab57-f3c77233c856",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a3b4026c-b34a-480c-ac77-fd01ac4d7c25",
"CreateDate": "2026-11-12T07:47:13.3423069-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:47:13.3423069-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c7f6712d-95cb-4dea-bb6b-eef6bc2d5e03",
"FieldId": "48f74aec-28ee-4fb4-b712-add83ba4e3d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c7f6712d-95cb-4dea-bb6b-eef6bc2d5e03",
"FieldId": "48f74aec-28ee-4fb4-b712-add83ba4e3d3",
"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": "afaa37ce-15c3-4638-bbb7-1901e1e3752e",
"Section": {
"TaskTypeSectionId": "a246f036-00ca-45d1-9973-a626e064456e",
"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": "624875c0-4b1c-4ede-a711-773ef58f2498",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c087361c-9bb7-4516-ab57-f3c77233c856",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a3b4026c-b34a-480c-ac77-fd01ac4d7c25",
"CreateDate": "2026-11-12T07:47:13.3423069-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:47:13.3423069-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c7f6712d-95cb-4dea-bb6b-eef6bc2d5e03",
"FieldId": "48f74aec-28ee-4fb4-b712-add83ba4e3d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c7f6712d-95cb-4dea-bb6b-eef6bc2d5e03",
"FieldId": "48f74aec-28ee-4fb4-b712-add83ba4e3d3",
"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": "caf3cf01-e2b4-4e00-a626-40644bcf60a1",
"CreateDate": "2026-11-12T07:47:13.3423069-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-12T07:47:13.3423069-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}