POST TaskTypes
Request Information
URI Parameters
None.
Body Parameters
TaskTypeParams| Name | Description | Type | Additional information |
|---|---|---|---|
| Task | TaskType |
None. |
|
| Associations | Collection of TaskStatusTypeTaskType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Task": {
"TaskTypeId": "1a4de4ec-09a4-4550-8650-91f0b2577b48",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "44f4288b-e105-48d9-beda-231da55c0dbe",
"Section": {
"TaskTypeSectionId": "f4739675-dce0-4dfd-94f1-346f0ae7cb01",
"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": "6dd6bdfa-875d-4566-b4e4-4a4c8debf3b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "29983eaa-0e00-4940-956f-daecad253f5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4a2d3a23-e326-452e-ad04-c9db385ff85e",
"CreateDate": "2026-09-02T00:31:07.99914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:31:07.99914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "566c96b9-0703-4b85-80bf-665b8a037e9a",
"FieldId": "2ed9e696-11f3-411d-91d5-fe8afab85c50",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "566c96b9-0703-4b85-80bf-665b8a037e9a",
"FieldId": "2ed9e696-11f3-411d-91d5-fe8afab85c50",
"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": "44f4288b-e105-48d9-beda-231da55c0dbe",
"Section": {
"TaskTypeSectionId": "f4739675-dce0-4dfd-94f1-346f0ae7cb01",
"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": "6dd6bdfa-875d-4566-b4e4-4a4c8debf3b0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "29983eaa-0e00-4940-956f-daecad253f5c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4a2d3a23-e326-452e-ad04-c9db385ff85e",
"CreateDate": "2026-09-02T00:31:07.99914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:31:07.99914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "566c96b9-0703-4b85-80bf-665b8a037e9a",
"FieldId": "2ed9e696-11f3-411d-91d5-fe8afab85c50",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "566c96b9-0703-4b85-80bf-665b8a037e9a",
"FieldId": "2ed9e696-11f3-411d-91d5-fe8afab85c50",
"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": "d57d381a-ac15-49f5-9eaf-7ad8258a8aea",
"CreateDate": "2026-09-02T00:31:07.99914-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:31:07.99914-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "4184e507-41bb-4f9b-85f6-0a511f721ad4",
"CompanyId": "c81abb95-2a5e-471b-9a82-b3b5b0a44761",
"TaskStatusTypeId": "1f8eda63-8ace-4fb3-b1e9-f34f55096eca",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c93c4853-e465-4bb3-ad76-9c636dc94bbf",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "4184e507-41bb-4f9b-85f6-0a511f721ad4",
"CompanyId": "c81abb95-2a5e-471b-9a82-b3b5b0a44761",
"TaskStatusTypeId": "1f8eda63-8ace-4fb3-b1e9-f34f55096eca",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c93c4853-e465-4bb3-ad76-9c636dc94bbf",
"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": "23ccc45a-65f6-451f-8cfb-a3393c7d9283",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "eb8fc31d-889a-41da-99a1-ea8b6b7d375d",
"Section": {
"TaskTypeSectionId": "96530a9d-9d1f-4002-b3a5-b9ebdd424ab7",
"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": "18936b4c-c1ad-45a3-8464-813ed9a5aa8d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b2c359f-ed26-4511-b231-fe912f9e5be5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "28690340-0692-4ace-b793-7289dde9da20",
"CreateDate": "2026-09-02T00:31:07.99914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:31:07.99914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8636ed64-b524-40b1-b445-7118a01429f1",
"FieldId": "c06c4e7d-94a4-415c-974d-1d970c74fbbc",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8636ed64-b524-40b1-b445-7118a01429f1",
"FieldId": "c06c4e7d-94a4-415c-974d-1d970c74fbbc",
"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": "eb8fc31d-889a-41da-99a1-ea8b6b7d375d",
"Section": {
"TaskTypeSectionId": "96530a9d-9d1f-4002-b3a5-b9ebdd424ab7",
"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": "18936b4c-c1ad-45a3-8464-813ed9a5aa8d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6b2c359f-ed26-4511-b231-fe912f9e5be5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "28690340-0692-4ace-b793-7289dde9da20",
"CreateDate": "2026-09-02T00:31:07.99914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:31:07.99914-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8636ed64-b524-40b1-b445-7118a01429f1",
"FieldId": "c06c4e7d-94a4-415c-974d-1d970c74fbbc",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8636ed64-b524-40b1-b445-7118a01429f1",
"FieldId": "c06c4e7d-94a4-415c-974d-1d970c74fbbc",
"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": "1006b9b4-5ddb-42c9-a2ce-f22c09ee600f",
"CreateDate": "2026-09-02T00:31:07.99914-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:31:07.99914-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}