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": "a8e4b04f-4b8f-450c-a7b1-2fd23ad960b7", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "58fbb2a4-6f07-407c-a5e1-7d06e1706d1a", "Section": { "TaskTypeSectionId": "b8e4ce6e-d9be-459b-ba88-129cb52bcc55", "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": "44280d35-1ced-4ece-9504-ad487e9fbdcb", "Name": "sample string 1" }, "Unit": { "UnitId": "e38e2866-ec7f-4275-aa53-d1a61d3af7b2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4557972d-0039-4047-8c86-79eaf59e7f18", "CreateDate": "2025-08-23T22:45:56.2944599-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:45:56.2944599-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a4f4256c-c62d-4a65-81fb-48d754234c20", "FieldId": "5c280285-be49-46a9-b0f0-a56809c6daf1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a4f4256c-c62d-4a65-81fb-48d754234c20", "FieldId": "5c280285-be49-46a9-b0f0-a56809c6daf1", "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": "58fbb2a4-6f07-407c-a5e1-7d06e1706d1a", "Section": { "TaskTypeSectionId": "b8e4ce6e-d9be-459b-ba88-129cb52bcc55", "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": "44280d35-1ced-4ece-9504-ad487e9fbdcb", "Name": "sample string 1" }, "Unit": { "UnitId": "e38e2866-ec7f-4275-aa53-d1a61d3af7b2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4557972d-0039-4047-8c86-79eaf59e7f18", "CreateDate": "2025-08-23T22:45:56.2944599-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:45:56.2944599-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a4f4256c-c62d-4a65-81fb-48d754234c20", "FieldId": "5c280285-be49-46a9-b0f0-a56809c6daf1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a4f4256c-c62d-4a65-81fb-48d754234c20", "FieldId": "5c280285-be49-46a9-b0f0-a56809c6daf1", "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": "a84b177b-3eaf-4a19-bc43-ca1fe581fa06", "CreateDate": "2025-08-23T22:45:56.2944599-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:45:56.2944599-07:00", "LastModifiedUser": "sample string 7" }, "Associations": [ { "TaskStatusTypeTaskTypeId": "c1ed247e-9327-41ae-afee-3871fd9103e8", "CompanyId": "a1f08ca4-3203-4ee3-aa8d-f7ea61d1e13c", "TaskStatusTypeId": "04a64845-6373-41d0-87a0-67a198b5fac3", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "96eb772d-0502-447d-9393-b3c2d5f248ae", "TaskTypeName": "sample string 4", "Description": "sample string 5" }, { "TaskStatusTypeTaskTypeId": "c1ed247e-9327-41ae-afee-3871fd9103e8", "CompanyId": "a1f08ca4-3203-4ee3-aa8d-f7ea61d1e13c", "TaskStatusTypeId": "04a64845-6373-41d0-87a0-67a198b5fac3", "TaskStatusTypeName": "sample string 2", "SourceSystemId": "sample string 3", "TaskTypeId": "96eb772d-0502-447d-9393-b3c2d5f248ae", "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": "a36638c4-de4d-4203-9b85-9e2fad8623ed", "Name": "sample string 1", "Description": "sample string 2", "CustomStatuses": true, "Fields": [ { "TaskTypeFieldId": "865a5c48-0417-49f3-8c56-fa11732aa1ba", "Section": { "TaskTypeSectionId": "785224dc-040e-4c25-b7ea-cd4c952dd331", "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": "bb6f6d57-d09d-4849-9530-56383bbe1c0e", "Name": "sample string 1" }, "Unit": { "UnitId": "b446a6ea-b4de-4dca-8802-e05707d426e7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "50107d40-ca9e-43ba-af54-fb7376444192", "CreateDate": "2025-08-23T22:45:56.2944599-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:45:56.2944599-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5e9354e7-c7b1-4850-80b4-ed5551680fb3", "FieldId": "212b67d8-2dd9-469b-a3eb-fb710e942347", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5e9354e7-c7b1-4850-80b4-ed5551680fb3", "FieldId": "212b67d8-2dd9-469b-a3eb-fb710e942347", "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": "865a5c48-0417-49f3-8c56-fa11732aa1ba", "Section": { "TaskTypeSectionId": "785224dc-040e-4c25-b7ea-cd4c952dd331", "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": "bb6f6d57-d09d-4849-9530-56383bbe1c0e", "Name": "sample string 1" }, "Unit": { "UnitId": "b446a6ea-b4de-4dca-8802-e05707d426e7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "50107d40-ca9e-43ba-af54-fb7376444192", "CreateDate": "2025-08-23T22:45:56.2944599-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:45:56.2944599-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5e9354e7-c7b1-4850-80b4-ed5551680fb3", "FieldId": "212b67d8-2dd9-469b-a3eb-fb710e942347", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5e9354e7-c7b1-4850-80b4-ed5551680fb3", "FieldId": "212b67d8-2dd9-469b-a3eb-fb710e942347", "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": "52be9a49-eaba-43d4-802b-204517954574", "CreateDate": "2025-08-23T22:45:56.2944599-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:45:56.2944599-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }