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": "e216f619-ab4f-43b5-ad19-40e7b7d46c5a",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "2c7d4a42-7ed7-43e2-8ba8-31ae7470639c",
"Section": {
"TaskTypeSectionId": "85b01efc-a1ad-4fbe-9775-28ee4ae241b6",
"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": "6317b771-c7fd-4179-aaa2-49f6702c4252",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ea6c995d-959c-42c7-80ce-5e7ed291eb97",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a8d3505b-cce5-4070-9d1e-cdad4074d5c9",
"CreateDate": "2026-07-08T10:13:00.0004702-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-08T10:13:00.0004702-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c1b9afae-689d-4a90-9bf5-bfb0084267ef",
"FieldId": "06ed1139-2e4d-4b6a-8325-9346ca4cefff",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c1b9afae-689d-4a90-9bf5-bfb0084267ef",
"FieldId": "06ed1139-2e4d-4b6a-8325-9346ca4cefff",
"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": "2c7d4a42-7ed7-43e2-8ba8-31ae7470639c",
"Section": {
"TaskTypeSectionId": "85b01efc-a1ad-4fbe-9775-28ee4ae241b6",
"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": "6317b771-c7fd-4179-aaa2-49f6702c4252",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ea6c995d-959c-42c7-80ce-5e7ed291eb97",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a8d3505b-cce5-4070-9d1e-cdad4074d5c9",
"CreateDate": "2026-07-08T10:13:00.0004702-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-08T10:13:00.0004702-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c1b9afae-689d-4a90-9bf5-bfb0084267ef",
"FieldId": "06ed1139-2e4d-4b6a-8325-9346ca4cefff",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c1b9afae-689d-4a90-9bf5-bfb0084267ef",
"FieldId": "06ed1139-2e4d-4b6a-8325-9346ca4cefff",
"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": "073845ba-9b47-47f0-9783-f6a68f064e77",
"CreateDate": "2026-07-08T10:13:00.0004702-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-08T10:13:00.0004702-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "475fec34-eb00-4184-8cbd-9b15bb157c98",
"CompanyId": "b5bff866-1023-4301-9f38-c149001a803b",
"TaskStatusTypeId": "a8f22cba-1075-4238-8ae1-526548467655",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "bb49bbf2-34f5-4451-80a3-f4b597694226",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "475fec34-eb00-4184-8cbd-9b15bb157c98",
"CompanyId": "b5bff866-1023-4301-9f38-c149001a803b",
"TaskStatusTypeId": "a8f22cba-1075-4238-8ae1-526548467655",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "bb49bbf2-34f5-4451-80a3-f4b597694226",
"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": "d632cf48-bf0f-40d5-914d-49a00de40e0d",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "c80c7e60-4421-4612-8103-fabb4ca3fdc0",
"Section": {
"TaskTypeSectionId": "576de161-6c3d-4350-b5b3-948c45b674a4",
"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": "60b2e93d-b811-42a4-87e9-ebf3d8ffb51c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e7bec52c-4fa7-4ce0-a402-ee0bff1885e4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "72fb883e-6933-4f60-8aee-238f769495be",
"CreateDate": "2026-07-08T10:13:00.0004702-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-08T10:13:00.0004702-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "51adcd9d-3052-44a9-910c-ac4a0b411c0c",
"FieldId": "ae9512f4-fe41-4763-8a44-e619a23819a2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "51adcd9d-3052-44a9-910c-ac4a0b411c0c",
"FieldId": "ae9512f4-fe41-4763-8a44-e619a23819a2",
"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": "c80c7e60-4421-4612-8103-fabb4ca3fdc0",
"Section": {
"TaskTypeSectionId": "576de161-6c3d-4350-b5b3-948c45b674a4",
"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": "60b2e93d-b811-42a4-87e9-ebf3d8ffb51c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e7bec52c-4fa7-4ce0-a402-ee0bff1885e4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "72fb883e-6933-4f60-8aee-238f769495be",
"CreateDate": "2026-07-08T10:13:00.0004702-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-08T10:13:00.0004702-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "51adcd9d-3052-44a9-910c-ac4a0b411c0c",
"FieldId": "ae9512f4-fe41-4763-8a44-e619a23819a2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "51adcd9d-3052-44a9-910c-ac4a0b411c0c",
"FieldId": "ae9512f4-fe41-4763-8a44-e619a23819a2",
"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": "324a1d3e-85e9-4c43-8bea-6d9f29d5a13b",
"CreateDate": "2026-07-08T10:13:00.0004702-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-08T10:13:00.0004702-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}