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": "507ae579-1d02-4736-9b58-96913ce4c089",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "08061636-ef89-40aa-8ab9-efb72e540bcf",
"Section": {
"TaskTypeSectionId": "3366e4f3-e066-4210-b49a-f8705c30eae7",
"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": "2576e455-a753-465d-a033-7b5e4ceb4452",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "787db827-d4ae-4335-b3d0-4dbe2f7d07e0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5bdc8d71-0e07-476f-9b83-f97f2f0cb16d",
"CreateDate": "2026-06-10T08:20:56.5612357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T08:20:56.5612357-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7cbc9dae-8e91-4a8e-9621-42616e3febd1",
"FieldId": "b93ce9ca-29ce-48a3-a421-939d49fd7025",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7cbc9dae-8e91-4a8e-9621-42616e3febd1",
"FieldId": "b93ce9ca-29ce-48a3-a421-939d49fd7025",
"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": "08061636-ef89-40aa-8ab9-efb72e540bcf",
"Section": {
"TaskTypeSectionId": "3366e4f3-e066-4210-b49a-f8705c30eae7",
"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": "2576e455-a753-465d-a033-7b5e4ceb4452",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "787db827-d4ae-4335-b3d0-4dbe2f7d07e0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5bdc8d71-0e07-476f-9b83-f97f2f0cb16d",
"CreateDate": "2026-06-10T08:20:56.5612357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T08:20:56.5612357-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7cbc9dae-8e91-4a8e-9621-42616e3febd1",
"FieldId": "b93ce9ca-29ce-48a3-a421-939d49fd7025",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7cbc9dae-8e91-4a8e-9621-42616e3febd1",
"FieldId": "b93ce9ca-29ce-48a3-a421-939d49fd7025",
"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": "1ef1919a-5e81-4d80-a61d-05d40edf256d",
"CreateDate": "2026-06-10T08:20:56.5612357-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-10T08:20:56.5612357-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "072b62b7-f9e0-4437-9b20-45e013c03064",
"CompanyId": "fa354911-17cd-4020-b019-ffea67b22faa",
"TaskStatusTypeId": "65d4b6c1-f9a3-41c7-8383-f23de9cdef5c",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ed284480-126c-4926-ad55-498a3c39216e",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "072b62b7-f9e0-4437-9b20-45e013c03064",
"CompanyId": "fa354911-17cd-4020-b019-ffea67b22faa",
"TaskStatusTypeId": "65d4b6c1-f9a3-41c7-8383-f23de9cdef5c",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ed284480-126c-4926-ad55-498a3c39216e",
"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": "20ca5d1a-c13d-49f4-aa2a-aea851b4d484",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "72a9d16e-960c-49be-ba30-fe024b49b272",
"Section": {
"TaskTypeSectionId": "f3e4f3e2-272b-4161-8d4d-1af6ccf7c762",
"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": "e032e531-8237-4cfb-b3b6-f7a0e473694c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9548e349-0f27-4e0e-abf8-7a0034ad2ee8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "526130d3-8575-4721-a76f-b08ac64a32e7",
"CreateDate": "2026-06-10T08:20:56.5612357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T08:20:56.5612357-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "eb49504e-4f39-47ec-ab62-67c7d5619275",
"FieldId": "8cbdd6ed-2774-4088-9301-efdfd63f29d4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "eb49504e-4f39-47ec-ab62-67c7d5619275",
"FieldId": "8cbdd6ed-2774-4088-9301-efdfd63f29d4",
"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": "72a9d16e-960c-49be-ba30-fe024b49b272",
"Section": {
"TaskTypeSectionId": "f3e4f3e2-272b-4161-8d4d-1af6ccf7c762",
"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": "e032e531-8237-4cfb-b3b6-f7a0e473694c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9548e349-0f27-4e0e-abf8-7a0034ad2ee8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "526130d3-8575-4721-a76f-b08ac64a32e7",
"CreateDate": "2026-06-10T08:20:56.5612357-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T08:20:56.5612357-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "eb49504e-4f39-47ec-ab62-67c7d5619275",
"FieldId": "8cbdd6ed-2774-4088-9301-efdfd63f29d4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "eb49504e-4f39-47ec-ab62-67c7d5619275",
"FieldId": "8cbdd6ed-2774-4088-9301-efdfd63f29d4",
"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": "9b4dff33-6b02-4011-a5cf-f4fca2e83299",
"CreateDate": "2026-06-10T08:20:56.5612357-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-10T08:20:56.5612357-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}