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": "8d50bb30-6360-4d43-abde-53caed4c93f0",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "b84f5fdb-647f-4094-b3f2-afbf3e1cbbad",
"Section": {
"TaskTypeSectionId": "dabc7be5-3173-4e9e-82cc-c2eeb6161197",
"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": "13c1f6e5-bd3f-4dd9-9339-fbeb6337f901",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "00ff92e0-8b1b-4f79-a937-4c22a8f0e2de",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "35b7726b-b524-4460-8e75-78858839a12b",
"CreateDate": "2026-08-09T12:44:02.5338642-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T12:44:02.5338642-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "27d0c7e7-4f70-4087-9a1a-9a8774cc0f18",
"FieldId": "25194d22-0d4a-4b56-b358-52851d3d01cc",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "27d0c7e7-4f70-4087-9a1a-9a8774cc0f18",
"FieldId": "25194d22-0d4a-4b56-b358-52851d3d01cc",
"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": "b84f5fdb-647f-4094-b3f2-afbf3e1cbbad",
"Section": {
"TaskTypeSectionId": "dabc7be5-3173-4e9e-82cc-c2eeb6161197",
"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": "13c1f6e5-bd3f-4dd9-9339-fbeb6337f901",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "00ff92e0-8b1b-4f79-a937-4c22a8f0e2de",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "35b7726b-b524-4460-8e75-78858839a12b",
"CreateDate": "2026-08-09T12:44:02.5338642-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T12:44:02.5338642-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "27d0c7e7-4f70-4087-9a1a-9a8774cc0f18",
"FieldId": "25194d22-0d4a-4b56-b358-52851d3d01cc",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "27d0c7e7-4f70-4087-9a1a-9a8774cc0f18",
"FieldId": "25194d22-0d4a-4b56-b358-52851d3d01cc",
"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": "c1a07b7a-ddf4-4f96-b13b-828e5f772026",
"CreateDate": "2026-08-09T12:44:02.5338642-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T12:44:02.5338642-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "6980c83d-031c-4b4b-8552-de7070a26431",
"CompanyId": "108242fa-4771-47c4-900b-e9eb391b81cc",
"TaskStatusTypeId": "b9210a3d-0a19-4310-b4d8-8c1e6a0b4b09",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ae402d05-618b-4d35-b678-875f68b134d3",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "6980c83d-031c-4b4b-8552-de7070a26431",
"CompanyId": "108242fa-4771-47c4-900b-e9eb391b81cc",
"TaskStatusTypeId": "b9210a3d-0a19-4310-b4d8-8c1e6a0b4b09",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ae402d05-618b-4d35-b678-875f68b134d3",
"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": "94df479e-6d9f-48d1-befb-2ea602719350",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "22fc9f73-5bf3-4906-ae80-e7c81bc96584",
"Section": {
"TaskTypeSectionId": "5fe1c91a-a1cb-4d1e-8d94-5f97505b64f3",
"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": "e00df0fe-a47c-4d84-a9c7-10549185ecd4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c624bcb3-d1ed-4250-bb74-68fb16b501d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d7b73d25-30f0-4059-a228-daf5e232e156",
"CreateDate": "2026-08-09T12:44:02.5494879-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T12:44:02.5494879-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bb6bbf70-67dd-42ab-bceb-8075577fc7d8",
"FieldId": "5319ea2a-845f-42ff-a7d1-39c485cda4f7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bb6bbf70-67dd-42ab-bceb-8075577fc7d8",
"FieldId": "5319ea2a-845f-42ff-a7d1-39c485cda4f7",
"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": "22fc9f73-5bf3-4906-ae80-e7c81bc96584",
"Section": {
"TaskTypeSectionId": "5fe1c91a-a1cb-4d1e-8d94-5f97505b64f3",
"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": "e00df0fe-a47c-4d84-a9c7-10549185ecd4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c624bcb3-d1ed-4250-bb74-68fb16b501d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d7b73d25-30f0-4059-a228-daf5e232e156",
"CreateDate": "2026-08-09T12:44:02.5494879-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T12:44:02.5494879-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bb6bbf70-67dd-42ab-bceb-8075577fc7d8",
"FieldId": "5319ea2a-845f-42ff-a7d1-39c485cda4f7",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bb6bbf70-67dd-42ab-bceb-8075577fc7d8",
"FieldId": "5319ea2a-845f-42ff-a7d1-39c485cda4f7",
"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": "e9097f77-ee66-479b-85e0-225335267617",
"CreateDate": "2026-08-09T12:44:02.5494879-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T12:44:02.5494879-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}