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": "30318342-b419-436f-82d7-3b34e1ad5e2f", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "54e7e1b4-f2d6-4345-8e00-7a363bac067f", "Section": { "TaskTypeSectionId": "3e22d272-fa7d-4225-ae83-3ad1c257502d", "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": "e2610fbd-f480-49ab-965c-e55a501ff30f", "Name": "sample string 1" }, "Unit": { "UnitId": "83c63e05-13a1-4a18-90cd-4f5bd2ed35d1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ec364bb5-33e5-4343-9e50-8a9c8cb37fa4", "CreateDate": "2025-08-24T09:59:17.7218008-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:17.7218008-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c78218c2-3b0c-4f92-93d1-36622fe76bff", "FieldId": "4b869332-aaed-4c50-b56a-c531d1a97c06", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c78218c2-3b0c-4f92-93d1-36622fe76bff", "FieldId": "4b869332-aaed-4c50-b56a-c531d1a97c06", "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": "54e7e1b4-f2d6-4345-8e00-7a363bac067f", "Section": { "TaskTypeSectionId": "3e22d272-fa7d-4225-ae83-3ad1c257502d", "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": "e2610fbd-f480-49ab-965c-e55a501ff30f", "Name": "sample string 1" }, "Unit": { "UnitId": "83c63e05-13a1-4a18-90cd-4f5bd2ed35d1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ec364bb5-33e5-4343-9e50-8a9c8cb37fa4", "CreateDate": "2025-08-24T09:59:17.7218008-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:17.7218008-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c78218c2-3b0c-4f92-93d1-36622fe76bff", "FieldId": "4b869332-aaed-4c50-b56a-c531d1a97c06", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c78218c2-3b0c-4f92-93d1-36622fe76bff", "FieldId": "4b869332-aaed-4c50-b56a-c531d1a97c06", "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": "c25402e6-f1fd-4193-81fc-293d2cb76bd1", "CreateDate": "2025-08-24T09:59:17.7218008-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T09:59:17.7218008-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "6ca6ee3a-e71e-4e34-9950-066780d9b9ef", "CompanyId": "ad71f268-73d0-4ddb-ade5-6af9ec53320a", "TaskStatusTypeId": "52368221-260e-4bfb-8b7e-5145aac4b4f4", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "bd25adc1-94a6-42bf-a939-310af16d01f9", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "6ca6ee3a-e71e-4e34-9950-066780d9b9ef", "CompanyId": "ad71f268-73d0-4ddb-ade5-6af9ec53320a", "TaskStatusTypeId": "52368221-260e-4bfb-8b7e-5145aac4b4f4", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "bd25adc1-94a6-42bf-a939-310af16d01f9", "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": "86a4bfc5-f2c8-4bd1-9a7c-7d3f476d9121", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "3fa43733-e9c0-4121-9bc3-cbd0913cc7d3", "Section": { "TaskTypeSectionId": "30aef4a4-6c4b-4307-b79b-1d34098b0c59", "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": "acc4f19d-d9af-42d6-af48-8a9cca6b682f", "Name": "sample string 1" }, "Unit": { "UnitId": "4bacf715-9333-444e-83bc-1d920c7b856a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "70cb956a-50a5-42d0-b293-74caf2922524", "CreateDate": "2025-08-24T09:59:17.7218008-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:17.7218008-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c4abc6f-3468-445f-bb45-829d65393e69", "FieldId": "9619be8b-fe0d-4e34-a27b-9ac148591dfe", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c4abc6f-3468-445f-bb45-829d65393e69", "FieldId": "9619be8b-fe0d-4e34-a27b-9ac148591dfe", "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": "3fa43733-e9c0-4121-9bc3-cbd0913cc7d3", "Section": { "TaskTypeSectionId": "30aef4a4-6c4b-4307-b79b-1d34098b0c59", "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": "acc4f19d-d9af-42d6-af48-8a9cca6b682f", "Name": "sample string 1" }, "Unit": { "UnitId": "4bacf715-9333-444e-83bc-1d920c7b856a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "70cb956a-50a5-42d0-b293-74caf2922524", "CreateDate": "2025-08-24T09:59:17.7218008-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T09:59:17.7218008-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c4abc6f-3468-445f-bb45-829d65393e69", "FieldId": "9619be8b-fe0d-4e34-a27b-9ac148591dfe", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c4abc6f-3468-445f-bb45-829d65393e69", "FieldId": "9619be8b-fe0d-4e34-a27b-9ac148591dfe", "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": "5db71a27-2542-47d3-96a1-526b2ee6b537", "CreateDate": "2025-08-24T09:59:17.7218008-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T09:59:17.7218008-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }