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": "6d933fdb-d1d6-4982-897b-61b1dc8ae6da",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "d4a43a0d-f3d1-4b33-8f52-a48a0833dbb4",
"Section": {
"TaskTypeSectionId": "b931c132-21e5-44cd-88b0-7bd0b2c8837d",
"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": "bb4eab80-4c34-44e0-8d19-bf1921f0088a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4937759-15dd-4e06-9a76-21820e7b9af7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "42333ed7-effb-4dc4-b90a-14a1f35d7062",
"CreateDate": "2026-07-29T15:35:19.385542-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-29T15:35:19.385542-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "05b54c51-7be4-44ff-a740-8d0791edaecb",
"FieldId": "61cb159a-7afe-45f0-9898-59a9434a1021",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "05b54c51-7be4-44ff-a740-8d0791edaecb",
"FieldId": "61cb159a-7afe-45f0-9898-59a9434a1021",
"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": "d4a43a0d-f3d1-4b33-8f52-a48a0833dbb4",
"Section": {
"TaskTypeSectionId": "b931c132-21e5-44cd-88b0-7bd0b2c8837d",
"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": "bb4eab80-4c34-44e0-8d19-bf1921f0088a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4937759-15dd-4e06-9a76-21820e7b9af7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "42333ed7-effb-4dc4-b90a-14a1f35d7062",
"CreateDate": "2026-07-29T15:35:19.385542-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-29T15:35:19.385542-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "05b54c51-7be4-44ff-a740-8d0791edaecb",
"FieldId": "61cb159a-7afe-45f0-9898-59a9434a1021",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "05b54c51-7be4-44ff-a740-8d0791edaecb",
"FieldId": "61cb159a-7afe-45f0-9898-59a9434a1021",
"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": "9d24afd5-d727-4767-9cce-f0685735a6f7",
"CreateDate": "2026-07-29T15:35:19.385542-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-29T15:35:19.385542-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "22dc54c4-3dd7-49a6-a1d3-523c8fdc8600",
"CompanyId": "621125cf-e8f7-49e7-ad4f-0a0647907bc6",
"TaskStatusTypeId": "cefcc375-7620-4e84-a28b-457f353d0d09",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "3279942b-0e60-4e23-957e-0d3a730a1cff",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "22dc54c4-3dd7-49a6-a1d3-523c8fdc8600",
"CompanyId": "621125cf-e8f7-49e7-ad4f-0a0647907bc6",
"TaskStatusTypeId": "cefcc375-7620-4e84-a28b-457f353d0d09",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "3279942b-0e60-4e23-957e-0d3a730a1cff",
"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": "eff274ca-a91b-4cdb-b070-e4249d5d99aa",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "77dc845f-8812-476b-8799-958608808ded",
"Section": {
"TaskTypeSectionId": "ea120923-3063-41d4-8acf-2975f0fbafcf",
"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": "b8b09a6b-bb87-4d2f-8f6b-114ce9a8341a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8b1e7bdf-36ec-4abd-8b39-eb32e6800b42",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "76736de5-596e-47a9-9212-b41625d1b08a",
"CreateDate": "2026-07-29T15:35:19.385542-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-29T15:35:19.385542-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e254c78-f0ec-45a7-983b-b158436d573b",
"FieldId": "38275670-161a-4707-af41-8e0b2f1ae5de",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e254c78-f0ec-45a7-983b-b158436d573b",
"FieldId": "38275670-161a-4707-af41-8e0b2f1ae5de",
"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": "77dc845f-8812-476b-8799-958608808ded",
"Section": {
"TaskTypeSectionId": "ea120923-3063-41d4-8acf-2975f0fbafcf",
"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": "b8b09a6b-bb87-4d2f-8f6b-114ce9a8341a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8b1e7bdf-36ec-4abd-8b39-eb32e6800b42",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "76736de5-596e-47a9-9212-b41625d1b08a",
"CreateDate": "2026-07-29T15:35:19.385542-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-29T15:35:19.385542-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e254c78-f0ec-45a7-983b-b158436d573b",
"FieldId": "38275670-161a-4707-af41-8e0b2f1ae5de",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e254c78-f0ec-45a7-983b-b158436d573b",
"FieldId": "38275670-161a-4707-af41-8e0b2f1ae5de",
"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": "4d4b8475-c144-43ef-a354-791b9e90d2d0",
"CreateDate": "2026-07-29T15:35:19.385542-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-29T15:35:19.385542-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}