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": "eda3d6f7-6d44-4613-b915-2db08c96d60a", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "d1c3c621-1d7e-43ea-9db3-7276c27253d7", "Section": { "TaskTypeSectionId": "244faeb3-1688-47f9-9e5b-7817ad3abb3b", "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": "23ddfde1-8b94-46dd-a4dc-fa23669a3455", "Name": "sample string 1" }, "Unit": { "UnitId": "d10352e5-3328-4b06-b38f-9e95cb95c688", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "836fcf70-5ea9-4123-b859-908f8bb7bc4f", "CreateDate": "2025-06-16T13:36:52.3763936-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:36:52.3763936-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7e306e53-f9dd-4b60-8f45-a6575fd73f48", "FieldId": "b7d85879-c67e-4472-b61c-fe8147d5544a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7e306e53-f9dd-4b60-8f45-a6575fd73f48", "FieldId": "b7d85879-c67e-4472-b61c-fe8147d5544a", "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": "d1c3c621-1d7e-43ea-9db3-7276c27253d7", "Section": { "TaskTypeSectionId": "244faeb3-1688-47f9-9e5b-7817ad3abb3b", "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": "23ddfde1-8b94-46dd-a4dc-fa23669a3455", "Name": "sample string 1" }, "Unit": { "UnitId": "d10352e5-3328-4b06-b38f-9e95cb95c688", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "836fcf70-5ea9-4123-b859-908f8bb7bc4f", "CreateDate": "2025-06-16T13:36:52.3763936-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:36:52.3763936-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7e306e53-f9dd-4b60-8f45-a6575fd73f48", "FieldId": "b7d85879-c67e-4472-b61c-fe8147d5544a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7e306e53-f9dd-4b60-8f45-a6575fd73f48", "FieldId": "b7d85879-c67e-4472-b61c-fe8147d5544a", "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": "11fe8a14-a2e1-46fd-a257-71486ab9e76f", "CreateDate": "2025-06-16T13:36:52.3763936-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:36:52.3763936-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "2f127def-6b1f-4283-82b5-cba548d24af6", "CompanyId": "6d108db3-9be5-495f-a29f-5bf5385b96d1", "TaskStatusTypeId": "da0bcf19-b698-4308-b624-239a62b134c3", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "c3e0ba8c-17b4-4635-bfb2-42bb507ecdd1", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "2f127def-6b1f-4283-82b5-cba548d24af6", "CompanyId": "6d108db3-9be5-495f-a29f-5bf5385b96d1", "TaskStatusTypeId": "da0bcf19-b698-4308-b624-239a62b134c3", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "c3e0ba8c-17b4-4635-bfb2-42bb507ecdd1", "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": "36da3371-dda1-4109-9ec5-ffe8ae975392", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "505c7cf0-55ff-499d-a6dd-ed021e3426fb", "Section": { "TaskTypeSectionId": "e1a4a6b0-46b0-4a57-8743-68792693313a", "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": "3228a956-b42a-48f9-b3e5-b84c7ace44ca", "Name": "sample string 1" }, "Unit": { "UnitId": "dcaa704d-2fd5-4c73-8d88-45e6207ebfcd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2e5d59ba-a1f0-46c3-b314-f7c94251ad0e", "CreateDate": "2025-06-16T13:36:52.3763936-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:36:52.3763936-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "fa9be424-f9fe-4e79-ae7e-11fcc7bd00d1", "FieldId": "09a0b3c2-1fc0-45ac-9458-67f58b2e032e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "fa9be424-f9fe-4e79-ae7e-11fcc7bd00d1", "FieldId": "09a0b3c2-1fc0-45ac-9458-67f58b2e032e", "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": "505c7cf0-55ff-499d-a6dd-ed021e3426fb", "Section": { "TaskTypeSectionId": "e1a4a6b0-46b0-4a57-8743-68792693313a", "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": "3228a956-b42a-48f9-b3e5-b84c7ace44ca", "Name": "sample string 1" }, "Unit": { "UnitId": "dcaa704d-2fd5-4c73-8d88-45e6207ebfcd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2e5d59ba-a1f0-46c3-b314-f7c94251ad0e", "CreateDate": "2025-06-16T13:36:52.3763936-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T13:36:52.3763936-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "fa9be424-f9fe-4e79-ae7e-11fcc7bd00d1", "FieldId": "09a0b3c2-1fc0-45ac-9458-67f58b2e032e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "fa9be424-f9fe-4e79-ae7e-11fcc7bd00d1", "FieldId": "09a0b3c2-1fc0-45ac-9458-67f58b2e032e", "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": "f21a7a48-08d8-4c3f-9638-d7f02449d4b0", "CreateDate": "2025-06-16T13:36:52.3763936-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T13:36:52.3763936-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }