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": "ce6cceb8-394f-42b1-993d-bde5577298e2", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "cf3ea874-7d97-4a73-a39d-94eaeceec72d", "Section": { "TaskTypeSectionId": "6126594d-e46e-44e6-bd1b-d9da3e80a328", "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": "7cfb81a2-9fc5-4444-9635-655d741391d5", "Name": "sample string 1" }, "Unit": { "UnitId": "e7370461-7665-4b58-92b6-e3444bf2f0f3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d64e7f7c-6976-4f30-ba72-71a6b26f9d3e", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d691402f-0104-4c7f-a65c-f4c6fd7e5076", "FieldId": "6219dd96-78c5-49c9-9176-59121ff518a3", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d691402f-0104-4c7f-a65c-f4c6fd7e5076", "FieldId": "6219dd96-78c5-49c9-9176-59121ff518a3", "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": "cf3ea874-7d97-4a73-a39d-94eaeceec72d", "Section": { "TaskTypeSectionId": "6126594d-e46e-44e6-bd1b-d9da3e80a328", "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": "7cfb81a2-9fc5-4444-9635-655d741391d5", "Name": "sample string 1" }, "Unit": { "UnitId": "e7370461-7665-4b58-92b6-e3444bf2f0f3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d64e7f7c-6976-4f30-ba72-71a6b26f9d3e", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d691402f-0104-4c7f-a65c-f4c6fd7e5076", "FieldId": "6219dd96-78c5-49c9-9176-59121ff518a3", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d691402f-0104-4c7f-a65c-f4c6fd7e5076", "FieldId": "6219dd96-78c5-49c9-9176-59121ff518a3", "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": "1fed5d13-9688-4fd7-a568-bd9a92ebe5d3", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "ecf13d99-5a9a-4500-a6c1-535ea566c4da", "CompanyId": "91fc6a75-7d91-432a-afd2-32047fc391fe", "TaskStatusTypeId": "bc2c2bd3-3746-4b91-a9e4-5697f69415cb", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "ba4d2262-d883-46f6-8ff0-98221f0a663e", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "ecf13d99-5a9a-4500-a6c1-535ea566c4da", "CompanyId": "91fc6a75-7d91-432a-afd2-32047fc391fe", "TaskStatusTypeId": "bc2c2bd3-3746-4b91-a9e4-5697f69415cb", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "ba4d2262-d883-46f6-8ff0-98221f0a663e", "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": "5f13f1b1-0041-46a9-a72b-380f3b8dc886", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "65ca83eb-9538-4f2a-b775-25d65e197804", "Section": { "TaskTypeSectionId": "0305dbce-a30d-49bc-a4ee-361f6e4c90d4", "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": "1a71b6ff-864b-43ab-8469-785ee65b488c", "Name": "sample string 1" }, "Unit": { "UnitId": "c388a454-ad57-4f24-9630-c247745bbb7c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d7a05d51-5b87-4e27-b821-b5c84b9c0918", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "23cb79e5-58ec-4cab-8d85-ab183b0ad232", "FieldId": "ec61a4a9-52c2-479c-a74f-4353a09454cc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "23cb79e5-58ec-4cab-8d85-ab183b0ad232", "FieldId": "ec61a4a9-52c2-479c-a74f-4353a09454cc", "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": "65ca83eb-9538-4f2a-b775-25d65e197804", "Section": { "TaskTypeSectionId": "0305dbce-a30d-49bc-a4ee-361f6e4c90d4", "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": "1a71b6ff-864b-43ab-8469-785ee65b488c", "Name": "sample string 1" }, "Unit": { "UnitId": "c388a454-ad57-4f24-9630-c247745bbb7c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d7a05d51-5b87-4e27-b821-b5c84b9c0918", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "23cb79e5-58ec-4cab-8d85-ab183b0ad232", "FieldId": "ec61a4a9-52c2-479c-a74f-4353a09454cc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "23cb79e5-58ec-4cab-8d85-ab183b0ad232", "FieldId": "ec61a4a9-52c2-479c-a74f-4353a09454cc", "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": "786330db-0314-4ab1-85d2-49ee70758601", "CreateDate": "2025-04-24T13:29:02.7307981-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:29:02.7307981-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }