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": "711661c5-1409-4fa6-b268-b3685d4a936b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "44c25d9a-d142-456e-b24b-f768ee182c33",
"Section": {
"TaskTypeSectionId": "c86513ee-a112-4972-a22e-28f2b11f841a",
"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": "c0bf8e6e-cd1c-4418-8e84-4e9d1441d007",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ecc619e5-e346-4b85-bc71-e8981b85c0b2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e7e7a038-7db3-4020-a5c2-49f6f5e950e2",
"CreateDate": "2025-12-13T22:24:12.3631037-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T22:24:12.3631037-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "de1e7739-2e3b-4630-8a69-afa580e5dab1",
"FieldId": "ece0d2b3-e0f6-4107-8244-7015e08526a1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "de1e7739-2e3b-4630-8a69-afa580e5dab1",
"FieldId": "ece0d2b3-e0f6-4107-8244-7015e08526a1",
"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": "44c25d9a-d142-456e-b24b-f768ee182c33",
"Section": {
"TaskTypeSectionId": "c86513ee-a112-4972-a22e-28f2b11f841a",
"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": "c0bf8e6e-cd1c-4418-8e84-4e9d1441d007",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ecc619e5-e346-4b85-bc71-e8981b85c0b2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e7e7a038-7db3-4020-a5c2-49f6f5e950e2",
"CreateDate": "2025-12-13T22:24:12.3631037-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T22:24:12.3631037-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "de1e7739-2e3b-4630-8a69-afa580e5dab1",
"FieldId": "ece0d2b3-e0f6-4107-8244-7015e08526a1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "de1e7739-2e3b-4630-8a69-afa580e5dab1",
"FieldId": "ece0d2b3-e0f6-4107-8244-7015e08526a1",
"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": "704772a0-f82c-419f-be8c-9bc8bfe170f9",
"CreateDate": "2025-12-13T22:24:12.3631037-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T22:24:12.3631037-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "c1de2d78-36eb-4d9a-9440-4ff00d3fd198",
"CompanyId": "edbd023f-7b7a-44e3-84e0-54ce38347b42",
"TaskStatusTypeId": "c51bb1eb-70a7-4b0f-a4cc-ce33baecd133",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "684f967d-d25d-4081-bd84-decda5d8c17d",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "c1de2d78-36eb-4d9a-9440-4ff00d3fd198",
"CompanyId": "edbd023f-7b7a-44e3-84e0-54ce38347b42",
"TaskStatusTypeId": "c51bb1eb-70a7-4b0f-a4cc-ce33baecd133",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "684f967d-d25d-4081-bd84-decda5d8c17d",
"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": "ff2870ae-ba44-42c2-908b-be18ce8b72f3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "97cdf8a3-40d6-4773-86de-02d8015e689f",
"Section": {
"TaskTypeSectionId": "07524daa-c655-4472-aa8f-dd022d4a51eb",
"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": "59bd14fd-7dc7-4e86-b484-7e2ed484cbbc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9ccb876e-6a99-4230-898a-2fe7a6b297f1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "343f7d56-150a-483b-b983-be268d4dbd94",
"CreateDate": "2025-12-13T22:24:12.3786779-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T22:24:12.3786779-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "50d65af2-1e71-4d27-9325-d05a1b4231a2",
"FieldId": "b7aab0f1-4a70-44fe-b66e-6791ce6e00df",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "50d65af2-1e71-4d27-9325-d05a1b4231a2",
"FieldId": "b7aab0f1-4a70-44fe-b66e-6791ce6e00df",
"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": "97cdf8a3-40d6-4773-86de-02d8015e689f",
"Section": {
"TaskTypeSectionId": "07524daa-c655-4472-aa8f-dd022d4a51eb",
"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": "59bd14fd-7dc7-4e86-b484-7e2ed484cbbc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9ccb876e-6a99-4230-898a-2fe7a6b297f1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "343f7d56-150a-483b-b983-be268d4dbd94",
"CreateDate": "2025-12-13T22:24:12.3786779-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T22:24:12.3786779-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "50d65af2-1e71-4d27-9325-d05a1b4231a2",
"FieldId": "b7aab0f1-4a70-44fe-b66e-6791ce6e00df",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "50d65af2-1e71-4d27-9325-d05a1b4231a2",
"FieldId": "b7aab0f1-4a70-44fe-b66e-6791ce6e00df",
"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": "32b49917-da3d-4d8a-8c65-2404aa252db1",
"CreateDate": "2025-12-13T22:24:12.3786779-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T22:24:12.3786779-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}