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": "2ee97111-5f5a-49bb-ac7b-9dff86399257",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "34ee557b-af0a-4cc2-8bac-681265b47bd6",
"Section": {
"TaskTypeSectionId": "6f740a29-0cad-4f23-8126-3e21c6aa3213",
"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": "07b98ba0-4986-4997-93da-2fb8153f611a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8aa958aa-3d70-4d74-8bce-5ddc399e38ea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a84bdedf-2672-40b7-b129-934a778cc652",
"CreateDate": "2026-07-15T13:19:10.8404921-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.8404921-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cc49bcf4-40e7-4199-b6f7-6a67c849241e",
"FieldId": "ad0b23c4-7441-4580-adef-45afb96b7271",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cc49bcf4-40e7-4199-b6f7-6a67c849241e",
"FieldId": "ad0b23c4-7441-4580-adef-45afb96b7271",
"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": "34ee557b-af0a-4cc2-8bac-681265b47bd6",
"Section": {
"TaskTypeSectionId": "6f740a29-0cad-4f23-8126-3e21c6aa3213",
"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": "07b98ba0-4986-4997-93da-2fb8153f611a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8aa958aa-3d70-4d74-8bce-5ddc399e38ea",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a84bdedf-2672-40b7-b129-934a778cc652",
"CreateDate": "2026-07-15T13:19:10.8404921-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.8404921-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cc49bcf4-40e7-4199-b6f7-6a67c849241e",
"FieldId": "ad0b23c4-7441-4580-adef-45afb96b7271",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cc49bcf4-40e7-4199-b6f7-6a67c849241e",
"FieldId": "ad0b23c4-7441-4580-adef-45afb96b7271",
"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": "a34e2f1f-2d61-462a-8b40-725e49e94023",
"CreateDate": "2026-07-15T13:19:10.8404921-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:19:10.8404921-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "9d8018e2-0079-4a76-b9fa-a88b0ea5f9e7",
"CompanyId": "5e271e62-0de5-4058-b1ce-31a75138e36a",
"TaskStatusTypeId": "f65c67ac-b37f-4291-922e-c039e6243d85",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "fd58ad18-33bf-4e09-bcfe-de1f15d79309",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "9d8018e2-0079-4a76-b9fa-a88b0ea5f9e7",
"CompanyId": "5e271e62-0de5-4058-b1ce-31a75138e36a",
"TaskStatusTypeId": "f65c67ac-b37f-4291-922e-c039e6243d85",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "fd58ad18-33bf-4e09-bcfe-de1f15d79309",
"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": "8efa80a8-a5d3-48b8-9890-cae547b73268",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a187639d-e325-41a5-bb3c-7f06d9c80874",
"Section": {
"TaskTypeSectionId": "addb378c-a403-4557-949d-016ea5581110",
"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": "0f9ed8fb-2a9c-4515-8bc3-0e5599b76235",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aa910a3d-69ed-486b-a648-29885b49e580",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0c0f433f-962e-43f4-b9b3-261159443b19",
"CreateDate": "2026-07-15T13:19:10.8404921-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.8404921-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c90ee453-a13e-4442-885c-86c27d1a28d3",
"FieldId": "83225995-4274-469c-aea9-a4615c75a1c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c90ee453-a13e-4442-885c-86c27d1a28d3",
"FieldId": "83225995-4274-469c-aea9-a4615c75a1c6",
"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": "a187639d-e325-41a5-bb3c-7f06d9c80874",
"Section": {
"TaskTypeSectionId": "addb378c-a403-4557-949d-016ea5581110",
"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": "0f9ed8fb-2a9c-4515-8bc3-0e5599b76235",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aa910a3d-69ed-486b-a648-29885b49e580",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0c0f433f-962e-43f4-b9b3-261159443b19",
"CreateDate": "2026-07-15T13:19:10.8404921-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:19:10.8404921-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c90ee453-a13e-4442-885c-86c27d1a28d3",
"FieldId": "83225995-4274-469c-aea9-a4615c75a1c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c90ee453-a13e-4442-885c-86c27d1a28d3",
"FieldId": "83225995-4274-469c-aea9-a4615c75a1c6",
"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": "7d4dfa7f-e36a-4cb1-988e-ca327051de4c",
"CreateDate": "2026-07-15T13:19:10.8404921-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:19:10.8404921-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}