POST TaskTypes
Request Information
URI Parameters
None.
Body Parameters
TaskTypeParamsName | Description | Type | Additional information |
---|---|---|---|
Task | TaskType |
None. |
|
Associations | Collection of TaskStatusTypeTaskType |
None. |
Request Formats
application/json, text/json
Sample:
{ "Task": { "TaskTypeId": "e04ab835-514d-4f1e-9ed3-dff04d32869f", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "ff7977d0-5eaa-4d51-9500-aab31f2991be", "Section": { "TaskTypeSectionId": "64e35d03-1543-4bd2-a8a8-5a9d1bca7db0", "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": "0c2ac0aa-c82d-43cf-b38a-dcf3f3ddf458", "Name": "sample string 1" }, "Unit": { "UnitId": "dfc5107e-14e5-447c-b3ba-79e33fecff84", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b4a95ba9-f189-4f4c-bc49-5b3f279ed754", "CreateDate": "2025-10-13T15:16:37.8137131-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:16:37.8137131-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3a478b2f-eff3-4c49-8e1b-eae3a802c31f", "FieldId": "a43661d4-50fd-48a5-8f02-8ced9271f990", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3a478b2f-eff3-4c49-8e1b-eae3a802c31f", "FieldId": "a43661d4-50fd-48a5-8f02-8ced9271f990", "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": "ff7977d0-5eaa-4d51-9500-aab31f2991be", "Section": { "TaskTypeSectionId": "64e35d03-1543-4bd2-a8a8-5a9d1bca7db0", "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": "0c2ac0aa-c82d-43cf-b38a-dcf3f3ddf458", "Name": "sample string 1" }, "Unit": { "UnitId": "dfc5107e-14e5-447c-b3ba-79e33fecff84", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b4a95ba9-f189-4f4c-bc49-5b3f279ed754", "CreateDate": "2025-10-13T15:16:37.8137131-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:16:37.8137131-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3a478b2f-eff3-4c49-8e1b-eae3a802c31f", "FieldId": "a43661d4-50fd-48a5-8f02-8ced9271f990", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3a478b2f-eff3-4c49-8e1b-eae3a802c31f", "FieldId": "a43661d4-50fd-48a5-8f02-8ced9271f990", "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": "38e8af19-4272-4fbf-8ffc-f8b2a05b7805", "CreateDate": "2025-10-13T15:16:37.8137131-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:16:37.8137131-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "0be9c72e-1251-4281-ab26-e0729bb693c3", "CompanyId": "2e32d03f-723d-42c7-8783-6b19c7026d4c", "TaskStatusTypeId": "0b887065-2847-4aad-abbb-3f77e8b47662", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "634d7fb3-5042-4931-8b99-c5b5ee8449a3", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "0be9c72e-1251-4281-ab26-e0729bb693c3", "CompanyId": "2e32d03f-723d-42c7-8783-6b19c7026d4c", "TaskStatusTypeId": "0b887065-2847-4aad-abbb-3f77e8b47662", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "634d7fb3-5042-4931-8b99-c5b5ee8449a3", "TaskTypeName": "sample string 4", "Description": "sample string 5" } ] }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | TaskType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "TaskTypeId": "7e9df990-c691-46c4-ad73-afc9a783d1d6", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "f71b68f6-b96d-4976-81d8-bb75afb7f02b", "Section": { "TaskTypeSectionId": "e51a7b3b-23e7-4730-9966-ecf5e522e568", "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": "2c26b360-5f63-4a53-ae15-4b2b5523853d", "Name": "sample string 1" }, "Unit": { "UnitId": "b599e2f7-9210-4cc4-8d7b-afcdd697826c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8cc586ba-16c6-4a60-9dcc-61288f074e1b", "CreateDate": "2025-10-13T15:16:37.8137131-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:16:37.8137131-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9fe93c2c-c363-4c63-95ec-eb0af1e32157", "FieldId": "ae2725f3-d4d1-43d3-9e42-c3a57c4a6e7a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9fe93c2c-c363-4c63-95ec-eb0af1e32157", "FieldId": "ae2725f3-d4d1-43d3-9e42-c3a57c4a6e7a", "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": "f71b68f6-b96d-4976-81d8-bb75afb7f02b", "Section": { "TaskTypeSectionId": "e51a7b3b-23e7-4730-9966-ecf5e522e568", "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": "2c26b360-5f63-4a53-ae15-4b2b5523853d", "Name": "sample string 1" }, "Unit": { "UnitId": "b599e2f7-9210-4cc4-8d7b-afcdd697826c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8cc586ba-16c6-4a60-9dcc-61288f074e1b", "CreateDate": "2025-10-13T15:16:37.8137131-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:16:37.8137131-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9fe93c2c-c363-4c63-95ec-eb0af1e32157", "FieldId": "ae2725f3-d4d1-43d3-9e42-c3a57c4a6e7a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9fe93c2c-c363-4c63-95ec-eb0af1e32157", "FieldId": "ae2725f3-d4d1-43d3-9e42-c3a57c4a6e7a", "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": "1e313fa5-59ad-4605-8c6a-f088d03ac3a2", "CreateDate": "2025-10-13T15:16:37.8137131-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:16:37.8137131-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }