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": "e636dcd7-5273-4ba3-b929-d721cdbef4be", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "11e9d73e-2d58-4748-b400-815144a4ec01", "Section": { "TaskTypeSectionId": "a2f30f2e-b700-4775-8fc4-0e99d48275e6", "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": "348455a6-a586-4aac-ad4b-0c48d88129fb", "Name": "sample string 1" }, "Unit": { "UnitId": "4c1875ed-3bfa-429b-926d-2467bbec6f85", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "11dd5f15-56ab-4915-8c29-7e08fd1d57f2", "CreateDate": "2025-01-20T20:13:14.9373343-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:13:14.9373343-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f11b6015-aca9-45fe-9b12-2e6f3e3e512f", "FieldId": "183c543f-e132-474c-be47-36942bffa0af", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f11b6015-aca9-45fe-9b12-2e6f3e3e512f", "FieldId": "183c543f-e132-474c-be47-36942bffa0af", "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": "11e9d73e-2d58-4748-b400-815144a4ec01", "Section": { "TaskTypeSectionId": "a2f30f2e-b700-4775-8fc4-0e99d48275e6", "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": "348455a6-a586-4aac-ad4b-0c48d88129fb", "Name": "sample string 1" }, "Unit": { "UnitId": "4c1875ed-3bfa-429b-926d-2467bbec6f85", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "11dd5f15-56ab-4915-8c29-7e08fd1d57f2", "CreateDate": "2025-01-20T20:13:14.9373343-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:13:14.9373343-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f11b6015-aca9-45fe-9b12-2e6f3e3e512f", "FieldId": "183c543f-e132-474c-be47-36942bffa0af", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f11b6015-aca9-45fe-9b12-2e6f3e3e512f", "FieldId": "183c543f-e132-474c-be47-36942bffa0af", "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": "67e38f17-1a03-479d-9904-9e7322d8d50e", "CreateDate": "2025-01-20T20:13:14.9373343-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:13:14.9373343-08:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "b0bdf5d5-c750-4875-92c1-af23de99b1ee", "CompanyId": "49c8571c-cd41-4e7b-95da-09d5367447cb", "TaskStatusTypeId": "0bda6c1b-794d-4902-989d-76f927df9f9c", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "f709c55b-7b15-4ac4-a22a-d9bcd2e82c80", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "b0bdf5d5-c750-4875-92c1-af23de99b1ee", "CompanyId": "49c8571c-cd41-4e7b-95da-09d5367447cb", "TaskStatusTypeId": "0bda6c1b-794d-4902-989d-76f927df9f9c", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "f709c55b-7b15-4ac4-a22a-d9bcd2e82c80", "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": "662a31b9-5529-40db-922b-dfc0b3856ed5", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "da0564b0-3690-45f0-8d6b-b7915ddb4d50", "Section": { "TaskTypeSectionId": "d9f766f2-3059-459d-bfad-4a24c6666a49", "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": "6a91350b-a82b-451f-bb67-73437f80ba1e", "Name": "sample string 1" }, "Unit": { "UnitId": "dbaa4a77-24c6-46cd-98fc-2b29dadc41df", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f2396669-4062-4d2a-99e4-67c98132605c", "CreateDate": "2025-01-20T20:13:14.9685136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:13:14.9685136-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "52a069d4-7986-4974-b188-c72a10ed7c6e", "FieldId": "99a065bf-581b-4668-bc30-918016e49ec4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "52a069d4-7986-4974-b188-c72a10ed7c6e", "FieldId": "99a065bf-581b-4668-bc30-918016e49ec4", "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": "da0564b0-3690-45f0-8d6b-b7915ddb4d50", "Section": { "TaskTypeSectionId": "d9f766f2-3059-459d-bfad-4a24c6666a49", "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": "6a91350b-a82b-451f-bb67-73437f80ba1e", "Name": "sample string 1" }, "Unit": { "UnitId": "dbaa4a77-24c6-46cd-98fc-2b29dadc41df", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f2396669-4062-4d2a-99e4-67c98132605c", "CreateDate": "2025-01-20T20:13:14.9685136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:13:14.9685136-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "52a069d4-7986-4974-b188-c72a10ed7c6e", "FieldId": "99a065bf-581b-4668-bc30-918016e49ec4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "52a069d4-7986-4974-b188-c72a10ed7c6e", "FieldId": "99a065bf-581b-4668-bc30-918016e49ec4", "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": "ee9b5597-545b-4362-869b-472854733df5", "CreateDate": "2025-01-20T20:13:14.9685136-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:13:14.9685136-08:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }