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": "119b3593-e904-4277-9265-b4be3f27141d", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "df3f04b6-aebe-461e-ab2c-8a06c70fdfa2", "Section": { "TaskTypeSectionId": "5a47d0e3-95fb-48cf-9fba-d01883f307b2", "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": "0b2eb8c1-a41b-41c3-853b-020edc273d06", "Name": "sample string 1" }, "Unit": { "UnitId": "7c334e9c-52d4-453f-85f8-0e7db911679e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1dd81abf-7388-42b7-8b1b-7b67750ad4b3", "CreateDate": "2025-08-29T17:21:12.852383-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.852383-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "70738902-dc49-413c-a064-a8d5c037f9d9", "FieldId": "d3ed012b-4a7a-4645-97a3-2bbf5ae1859d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "70738902-dc49-413c-a064-a8d5c037f9d9", "FieldId": "d3ed012b-4a7a-4645-97a3-2bbf5ae1859d", "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": "df3f04b6-aebe-461e-ab2c-8a06c70fdfa2", "Section": { "TaskTypeSectionId": "5a47d0e3-95fb-48cf-9fba-d01883f307b2", "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": "0b2eb8c1-a41b-41c3-853b-020edc273d06", "Name": "sample string 1" }, "Unit": { "UnitId": "7c334e9c-52d4-453f-85f8-0e7db911679e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1dd81abf-7388-42b7-8b1b-7b67750ad4b3", "CreateDate": "2025-08-29T17:21:12.852383-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.852383-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "70738902-dc49-413c-a064-a8d5c037f9d9", "FieldId": "d3ed012b-4a7a-4645-97a3-2bbf5ae1859d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "70738902-dc49-413c-a064-a8d5c037f9d9", "FieldId": "d3ed012b-4a7a-4645-97a3-2bbf5ae1859d", "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": "e0a80728-70e5-4740-8900-89b6ca88ebfc", "CreateDate": "2025-08-29T17:21:12.852383-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:21:12.852383-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "492037d1-db00-48ef-8a60-3dd46f143ef0", "CompanyId": "8557dda5-96d9-45d8-81da-d9f2faa813eb", "TaskStatusTypeId": "3658f1f2-a7e3-44e1-b8d0-fc033091c261", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "58bfe1ad-68a1-484a-843f-c714f897f7bf", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "492037d1-db00-48ef-8a60-3dd46f143ef0", "CompanyId": "8557dda5-96d9-45d8-81da-d9f2faa813eb", "TaskStatusTypeId": "3658f1f2-a7e3-44e1-b8d0-fc033091c261", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "58bfe1ad-68a1-484a-843f-c714f897f7bf", "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": "5b3b8a92-d7d2-46d5-bb46-201d503c4732", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "27f17558-5af1-4831-bd98-8bdf5c59be95", "Section": { "TaskTypeSectionId": "48e3d305-c1f3-4349-9f78-0ed608e0a829", "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": "5604b8e0-88d8-4e95-bc8d-888188b3fb08", "Name": "sample string 1" }, "Unit": { "UnitId": "4d6e5df7-0d71-42f3-864e-fe9f0271215f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3565cb32-e9ac-4695-94ad-19e716c84934", "CreateDate": "2025-08-29T17:21:12.8679757-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.8679757-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2f924485-d13e-43f4-a1e6-0272607e4ace", "FieldId": "7e01685f-ff6b-4c2e-a42a-518ae87a8dcf", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2f924485-d13e-43f4-a1e6-0272607e4ace", "FieldId": "7e01685f-ff6b-4c2e-a42a-518ae87a8dcf", "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": "27f17558-5af1-4831-bd98-8bdf5c59be95", "Section": { "TaskTypeSectionId": "48e3d305-c1f3-4349-9f78-0ed608e0a829", "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": "5604b8e0-88d8-4e95-bc8d-888188b3fb08", "Name": "sample string 1" }, "Unit": { "UnitId": "4d6e5df7-0d71-42f3-864e-fe9f0271215f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3565cb32-e9ac-4695-94ad-19e716c84934", "CreateDate": "2025-08-29T17:21:12.8679757-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:21:12.8679757-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2f924485-d13e-43f4-a1e6-0272607e4ace", "FieldId": "7e01685f-ff6b-4c2e-a42a-518ae87a8dcf", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2f924485-d13e-43f4-a1e6-0272607e4ace", "FieldId": "7e01685f-ff6b-4c2e-a42a-518ae87a8dcf", "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": "a70ba1f6-4463-455c-a7c3-162b3dcb22dd", "CreateDate": "2025-08-29T17:21:12.8679757-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:21:12.8679757-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }