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": "f8709002-0bf4-443e-9e3e-8879b41f0ea8",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "f626011c-b8b3-463b-bbe9-41bec98c41bf",
"Section": {
"TaskTypeSectionId": "1d873d65-a62b-4522-9e05-f70592fb2371",
"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": "531bb016-6492-464a-be64-ad6ba84dd520",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2bbeb930-7ff9-4bcb-840e-25c472731822",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "54a2ed8f-221a-4503-87ec-cb933cbf1d49",
"CreateDate": "2026-07-15T13:19:10.3404644-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.3404644-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8793c661-fa65-40a8-b7db-ac3f8b623861",
"FieldId": "49f100d5-2658-4fe8-ac41-6c4c6f4ee949",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8793c661-fa65-40a8-b7db-ac3f8b623861",
"FieldId": "49f100d5-2658-4fe8-ac41-6c4c6f4ee949",
"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": "f626011c-b8b3-463b-bbe9-41bec98c41bf",
"Section": {
"TaskTypeSectionId": "1d873d65-a62b-4522-9e05-f70592fb2371",
"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": "531bb016-6492-464a-be64-ad6ba84dd520",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2bbeb930-7ff9-4bcb-840e-25c472731822",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "54a2ed8f-221a-4503-87ec-cb933cbf1d49",
"CreateDate": "2026-07-15T13:19:10.3404644-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.3404644-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8793c661-fa65-40a8-b7db-ac3f8b623861",
"FieldId": "49f100d5-2658-4fe8-ac41-6c4c6f4ee949",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8793c661-fa65-40a8-b7db-ac3f8b623861",
"FieldId": "49f100d5-2658-4fe8-ac41-6c4c6f4ee949",
"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": "97217403-92dc-46f5-8a2d-a7f29ac9e9ad",
"CreateDate": "2026-07-15T13:19:10.356058-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:19:10.356058-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "650c4075-0713-4db5-97c9-1077ee2b176e",
"CompanyId": "95a622be-2fed-457a-9942-feb3730ea782",
"TaskStatusTypeId": "9281646b-ddaa-4101-8864-3508efcbc6b0",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "01c356a8-3920-405a-b944-8b12667b73d5",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "650c4075-0713-4db5-97c9-1077ee2b176e",
"CompanyId": "95a622be-2fed-457a-9942-feb3730ea782",
"TaskStatusTypeId": "9281646b-ddaa-4101-8864-3508efcbc6b0",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "01c356a8-3920-405a-b944-8b12667b73d5",
"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": "be82648a-c894-42f6-8157-494a42a4611f",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "5ce0b2e3-3953-4b12-99ab-be8f8e99f830",
"Section": {
"TaskTypeSectionId": "6d0c6080-ace5-422b-8751-b55bb1054bb9",
"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": "4a1f299e-ba7d-41e8-9d38-705902f7e341",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2a80454f-af5f-47bb-b24c-958e31ec13b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "73bb2e1a-7fc6-4037-86c4-9dab0454863b",
"CreateDate": "2026-07-15T13:19:10.356058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.356058-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2d12bba7-c946-4059-93a4-1ab79e41b3e5",
"FieldId": "0ec515b3-9982-4853-92f9-4f008dea9f9f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2d12bba7-c946-4059-93a4-1ab79e41b3e5",
"FieldId": "0ec515b3-9982-4853-92f9-4f008dea9f9f",
"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": "5ce0b2e3-3953-4b12-99ab-be8f8e99f830",
"Section": {
"TaskTypeSectionId": "6d0c6080-ace5-422b-8751-b55bb1054bb9",
"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": "4a1f299e-ba7d-41e8-9d38-705902f7e341",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2a80454f-af5f-47bb-b24c-958e31ec13b4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "73bb2e1a-7fc6-4037-86c4-9dab0454863b",
"CreateDate": "2026-07-15T13:19:10.356058-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.356058-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2d12bba7-c946-4059-93a4-1ab79e41b3e5",
"FieldId": "0ec515b3-9982-4853-92f9-4f008dea9f9f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2d12bba7-c946-4059-93a4-1ab79e41b3e5",
"FieldId": "0ec515b3-9982-4853-92f9-4f008dea9f9f",
"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": "ac49c8e3-19f9-4bf2-9c8e-301302039760",
"CreateDate": "2026-07-15T13:19:10.356058-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:19:10.356058-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}