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": "a7bbacfd-51d2-4884-86b8-ab0193a04c16", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "c00fc1fd-4600-4ab6-adb9-8880dec42fa2", "Section": { "TaskTypeSectionId": "384b95e1-257e-4311-a1be-7a15e0c8a30b", "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": "419bc695-1c4e-45ae-a4a3-e6afc4b6af4b", "Name": "sample string 1" }, "Unit": { "UnitId": "70d20f93-ec9d-464c-a4aa-5484f7992642", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0466b4dd-01d4-4f53-9b78-c714f5b29375", "CreateDate": "2025-06-27T00:02:06.8995086-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:02:06.8995086-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c0cfaae-1047-45a1-8b8f-d5a7cf709afe", "FieldId": "1ff7c84e-62fa-4d3a-91d8-a2e8943c5109", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c0cfaae-1047-45a1-8b8f-d5a7cf709afe", "FieldId": "1ff7c84e-62fa-4d3a-91d8-a2e8943c5109", "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": "c00fc1fd-4600-4ab6-adb9-8880dec42fa2", "Section": { "TaskTypeSectionId": "384b95e1-257e-4311-a1be-7a15e0c8a30b", "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": "419bc695-1c4e-45ae-a4a3-e6afc4b6af4b", "Name": "sample string 1" }, "Unit": { "UnitId": "70d20f93-ec9d-464c-a4aa-5484f7992642", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0466b4dd-01d4-4f53-9b78-c714f5b29375", "CreateDate": "2025-06-27T00:02:06.8995086-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:02:06.8995086-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c0cfaae-1047-45a1-8b8f-d5a7cf709afe", "FieldId": "1ff7c84e-62fa-4d3a-91d8-a2e8943c5109", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c0cfaae-1047-45a1-8b8f-d5a7cf709afe", "FieldId": "1ff7c84e-62fa-4d3a-91d8-a2e8943c5109", "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": "744c244d-1b89-4f3c-9c6b-db058b2d7cda", "CreateDate": "2025-06-27T00:02:06.8995086-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:02:06.8995086-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "d45d4f15-9a76-4706-a84b-f7aca52cfc46", "CompanyId": "03d81e38-afa9-4e46-b6b0-285e1a1cbbd1", "TaskStatusTypeId": "a5babc89-0d02-4969-a623-31a62e4e40fa", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "ef2e3fe6-2cf0-49c5-9d53-bf1b82447095", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "d45d4f15-9a76-4706-a84b-f7aca52cfc46", "CompanyId": "03d81e38-afa9-4e46-b6b0-285e1a1cbbd1", "TaskStatusTypeId": "a5babc89-0d02-4969-a623-31a62e4e40fa", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "ef2e3fe6-2cf0-49c5-9d53-bf1b82447095", "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": "811b890b-3960-4d69-9f69-eaaa7947ede5", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "e179c554-4170-4923-8194-79c1cf5b1807", "Section": { "TaskTypeSectionId": "56919220-e765-4c28-9d26-9488fd7d3943", "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": "b67204b4-588b-416c-8cd2-58422a417519", "Name": "sample string 1" }, "Unit": { "UnitId": "2b5264e9-e57e-4b42-bae8-2d47bf514fb0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a45a407e-2771-4116-9ecf-33ce86fe2b06", "CreateDate": "2025-06-27T00:02:06.8995086-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:02:06.8995086-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "41b4a330-7465-47b2-ab26-522ddbee59c5", "FieldId": "645e2e40-b505-4a23-9566-f5ec3eaa6508", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "41b4a330-7465-47b2-ab26-522ddbee59c5", "FieldId": "645e2e40-b505-4a23-9566-f5ec3eaa6508", "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": "e179c554-4170-4923-8194-79c1cf5b1807", "Section": { "TaskTypeSectionId": "56919220-e765-4c28-9d26-9488fd7d3943", "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": "b67204b4-588b-416c-8cd2-58422a417519", "Name": "sample string 1" }, "Unit": { "UnitId": "2b5264e9-e57e-4b42-bae8-2d47bf514fb0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a45a407e-2771-4116-9ecf-33ce86fe2b06", "CreateDate": "2025-06-27T00:02:06.8995086-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T00:02:06.8995086-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "41b4a330-7465-47b2-ab26-522ddbee59c5", "FieldId": "645e2e40-b505-4a23-9566-f5ec3eaa6508", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "41b4a330-7465-47b2-ab26-522ddbee59c5", "FieldId": "645e2e40-b505-4a23-9566-f5ec3eaa6508", "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": "c1c5a271-fce0-4f6d-9861-15e9d64f3347", "CreateDate": "2025-06-27T00:02:06.8995086-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T00:02:06.8995086-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }