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": "a9a65a52-6b42-4269-b5ad-42f3fdfebbb7",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "54446dbe-544e-48c1-be0f-cc3ed06269a0",
"Section": {
"TaskTypeSectionId": "75db533e-88e4-4628-80ce-26ea2139a0f3",
"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": "e3438593-1abc-4b00-8f99-2fed7948cd0b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "96f0d396-b1e5-4ffa-9b93-2b5c2255615e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1b4fd395-498e-4a68-bda9-10e925cd5ecb",
"CreateDate": "2026-05-20T22:10:55.0248795-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:10:55.0248795-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "be4adcfd-d173-46a7-a24a-02072338dfa5",
"FieldId": "4ed4ac97-203a-4e05-a461-cacfc42608f6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "be4adcfd-d173-46a7-a24a-02072338dfa5",
"FieldId": "4ed4ac97-203a-4e05-a461-cacfc42608f6",
"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": "54446dbe-544e-48c1-be0f-cc3ed06269a0",
"Section": {
"TaskTypeSectionId": "75db533e-88e4-4628-80ce-26ea2139a0f3",
"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": "e3438593-1abc-4b00-8f99-2fed7948cd0b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "96f0d396-b1e5-4ffa-9b93-2b5c2255615e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1b4fd395-498e-4a68-bda9-10e925cd5ecb",
"CreateDate": "2026-05-20T22:10:55.0248795-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:10:55.0248795-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "be4adcfd-d173-46a7-a24a-02072338dfa5",
"FieldId": "4ed4ac97-203a-4e05-a461-cacfc42608f6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "be4adcfd-d173-46a7-a24a-02072338dfa5",
"FieldId": "4ed4ac97-203a-4e05-a461-cacfc42608f6",
"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": "5d461320-3eda-421b-a21a-a32f48e88294",
"CreateDate": "2026-05-20T22:10:55.0248795-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:10:55.0248795-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "3e13aca0-46f9-45a2-980a-c081da5e3cd4",
"CompanyId": "5997574e-2d28-40b9-be0f-7d06b6db5112",
"TaskStatusTypeId": "a0a3dbba-fc6c-4f12-8d48-74b95f49d321",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "f7ed46c4-2f71-4cfc-9c08-91e60f65cf48",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "3e13aca0-46f9-45a2-980a-c081da5e3cd4",
"CompanyId": "5997574e-2d28-40b9-be0f-7d06b6db5112",
"TaskStatusTypeId": "a0a3dbba-fc6c-4f12-8d48-74b95f49d321",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "f7ed46c4-2f71-4cfc-9c08-91e60f65cf48",
"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": "2bb40bbe-1ea9-47d2-9b46-3fe1540112e2",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "8484c3ba-0974-430b-8941-8f4a1dbda0d8",
"Section": {
"TaskTypeSectionId": "887ddec6-d894-43e4-828b-912dff8984dc",
"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": "48224d13-d067-4840-8350-b2518175bb7d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "584734a1-c55a-479d-b30f-57b925634fa4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cee2ca92-69ae-44b0-9f3c-8dd4d00ec416",
"CreateDate": "2026-05-20T22:10:55.0248795-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:10:55.0248795-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "767f0af3-a27f-42b8-85b8-606be208fd55",
"FieldId": "34d3a26a-cc17-409b-acc9-0ddccba1792b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "767f0af3-a27f-42b8-85b8-606be208fd55",
"FieldId": "34d3a26a-cc17-409b-acc9-0ddccba1792b",
"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": "8484c3ba-0974-430b-8941-8f4a1dbda0d8",
"Section": {
"TaskTypeSectionId": "887ddec6-d894-43e4-828b-912dff8984dc",
"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": "48224d13-d067-4840-8350-b2518175bb7d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "584734a1-c55a-479d-b30f-57b925634fa4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cee2ca92-69ae-44b0-9f3c-8dd4d00ec416",
"CreateDate": "2026-05-20T22:10:55.0248795-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:10:55.0248795-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "767f0af3-a27f-42b8-85b8-606be208fd55",
"FieldId": "34d3a26a-cc17-409b-acc9-0ddccba1792b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "767f0af3-a27f-42b8-85b8-606be208fd55",
"FieldId": "34d3a26a-cc17-409b-acc9-0ddccba1792b",
"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": "225ef54c-773a-46b6-88ff-ee06c7f8f7d1",
"CreateDate": "2026-05-20T22:10:55.0248795-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:10:55.0248795-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}