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": "5cbd3371-2d1f-4e3c-8625-a5c58456bc0a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "9b9a2d41-85c4-4409-acbb-30545ed14670",
"Section": {
"TaskTypeSectionId": "51e3f854-642e-454f-9317-6301520edbb3",
"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": "2b4e2888-7267-44d9-bb76-b6c40fcce08b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "79274426-b5a2-40b4-9db8-d014c00777c9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "62a038b0-45ee-45b3-b13f-3bddd71d3f14",
"CreateDate": "2026-09-09T11:04:33.5536284-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-09T11:04:33.5536284-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ae2fb2dd-77ea-4a86-a529-2950d105f08b",
"FieldId": "116a659e-72ab-4e99-8354-1cb5c450e196",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ae2fb2dd-77ea-4a86-a529-2950d105f08b",
"FieldId": "116a659e-72ab-4e99-8354-1cb5c450e196",
"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": "9b9a2d41-85c4-4409-acbb-30545ed14670",
"Section": {
"TaskTypeSectionId": "51e3f854-642e-454f-9317-6301520edbb3",
"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": "2b4e2888-7267-44d9-bb76-b6c40fcce08b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "79274426-b5a2-40b4-9db8-d014c00777c9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "62a038b0-45ee-45b3-b13f-3bddd71d3f14",
"CreateDate": "2026-09-09T11:04:33.5536284-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-09T11:04:33.5536284-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ae2fb2dd-77ea-4a86-a529-2950d105f08b",
"FieldId": "116a659e-72ab-4e99-8354-1cb5c450e196",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ae2fb2dd-77ea-4a86-a529-2950d105f08b",
"FieldId": "116a659e-72ab-4e99-8354-1cb5c450e196",
"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": "65d569e8-5e3d-46a7-afec-d1f9a905bd99",
"CreateDate": "2026-09-09T11:04:33.5536284-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-09T11:04:33.5536284-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "45b56b30-605c-4ba4-b8a7-00ee3d99818c",
"CompanyId": "8f22e451-9563-49eb-a1b0-48eeef376cf5",
"TaskStatusTypeId": "0cc10696-f46e-49a3-b864-ae0561189e2a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d57f9501-7b42-494a-93a0-00ae9d2f8154",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "45b56b30-605c-4ba4-b8a7-00ee3d99818c",
"CompanyId": "8f22e451-9563-49eb-a1b0-48eeef376cf5",
"TaskStatusTypeId": "0cc10696-f46e-49a3-b864-ae0561189e2a",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "d57f9501-7b42-494a-93a0-00ae9d2f8154",
"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": "519fb829-b239-48f3-963e-edb1245ae256",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "ad8f66ca-44ed-4613-ac11-fc8415a254d7",
"Section": {
"TaskTypeSectionId": "05258147-caa4-4cda-bf80-b8aeab8cca28",
"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": "738f6c79-ca04-4d44-966b-8d62fb55bdc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "67ca26d7-5a43-4d57-9c83-123a2c11077f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f48d06c8-d243-4a1c-8931-b38979c4d483",
"CreateDate": "2026-09-09T11:04:33.5536284-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-09T11:04:33.5536284-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6302fa79-3f91-4d37-aeb4-fd025cd6f054",
"FieldId": "cd216203-911a-4381-97b9-be8c76b7237a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6302fa79-3f91-4d37-aeb4-fd025cd6f054",
"FieldId": "cd216203-911a-4381-97b9-be8c76b7237a",
"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": "ad8f66ca-44ed-4613-ac11-fc8415a254d7",
"Section": {
"TaskTypeSectionId": "05258147-caa4-4cda-bf80-b8aeab8cca28",
"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": "738f6c79-ca04-4d44-966b-8d62fb55bdc2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "67ca26d7-5a43-4d57-9c83-123a2c11077f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f48d06c8-d243-4a1c-8931-b38979c4d483",
"CreateDate": "2026-09-09T11:04:33.5536284-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-09T11:04:33.5536284-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6302fa79-3f91-4d37-aeb4-fd025cd6f054",
"FieldId": "cd216203-911a-4381-97b9-be8c76b7237a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6302fa79-3f91-4d37-aeb4-fd025cd6f054",
"FieldId": "cd216203-911a-4381-97b9-be8c76b7237a",
"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": "7ec377c0-b61e-414f-ad51-6fdba2da0a84",
"CreateDate": "2026-09-09T11:04:33.5536284-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-09T11:04:33.5536284-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}