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": "11cae313-4156-4a16-be5e-c75c18591aa3",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "a88d93a7-383f-4f03-92a0-56fe3253b93a",
"Section": {
"TaskTypeSectionId": "c0310314-764c-4569-95a9-d17f3133e6ff",
"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": "189d1b95-5665-4217-b0a5-7b3c9b327a1b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b69a3569-c963-416b-91a9-4c5aa2291917",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6b17fb5f-1ad0-444b-b814-4ff5e1e9c8db",
"CreateDate": "2026-10-27T23:44:20.1838888-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:44:20.1838888-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c8374088-121c-4022-b9af-6458107f00ce",
"FieldId": "c273fa78-b2ea-48b0-93e7-4688bb4c3eed",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c8374088-121c-4022-b9af-6458107f00ce",
"FieldId": "c273fa78-b2ea-48b0-93e7-4688bb4c3eed",
"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": "a88d93a7-383f-4f03-92a0-56fe3253b93a",
"Section": {
"TaskTypeSectionId": "c0310314-764c-4569-95a9-d17f3133e6ff",
"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": "189d1b95-5665-4217-b0a5-7b3c9b327a1b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b69a3569-c963-416b-91a9-4c5aa2291917",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6b17fb5f-1ad0-444b-b814-4ff5e1e9c8db",
"CreateDate": "2026-10-27T23:44:20.1838888-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:44:20.1838888-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c8374088-121c-4022-b9af-6458107f00ce",
"FieldId": "c273fa78-b2ea-48b0-93e7-4688bb4c3eed",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c8374088-121c-4022-b9af-6458107f00ce",
"FieldId": "c273fa78-b2ea-48b0-93e7-4688bb4c3eed",
"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": "448c1b9f-3b5f-4a74-ae8c-f8cfa16ceafc",
"CreateDate": "2026-10-27T23:44:20.1838888-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:44:20.1838888-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "82e393a6-24a6-4a33-a4dc-e4fec4e35404",
"CompanyId": "2884c21d-7d0b-4f71-b2bd-2f34515d079a",
"TaskStatusTypeId": "0e12daec-b600-44d6-b155-a891ba67dd0e",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "acc22d8b-fbdc-46b1-941c-ba1535417962",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "82e393a6-24a6-4a33-a4dc-e4fec4e35404",
"CompanyId": "2884c21d-7d0b-4f71-b2bd-2f34515d079a",
"TaskStatusTypeId": "0e12daec-b600-44d6-b155-a891ba67dd0e",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "acc22d8b-fbdc-46b1-941c-ba1535417962",
"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": "6b12f10c-a7a6-4376-ab5d-139e9c2e4470",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "597534db-4ee0-4899-8aa1-5bfe1e8d532a",
"Section": {
"TaskTypeSectionId": "6bc5b970-a110-401c-97c0-a4c67aaa9c1c",
"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": "99821c35-7617-45fd-806d-538b57e8e385",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9c829466-80f6-4421-8c68-f659b1cb5506",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3c8c66bc-8f79-4cf5-b57b-30a4c0ccf4b5",
"CreateDate": "2026-10-27T23:44:20.1995602-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:44:20.1995602-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d19a304d-0fdc-406e-8608-a13f815ad712",
"FieldId": "9a74d97d-e66f-4921-911a-8128ce5ac317",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d19a304d-0fdc-406e-8608-a13f815ad712",
"FieldId": "9a74d97d-e66f-4921-911a-8128ce5ac317",
"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": "597534db-4ee0-4899-8aa1-5bfe1e8d532a",
"Section": {
"TaskTypeSectionId": "6bc5b970-a110-401c-97c0-a4c67aaa9c1c",
"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": "99821c35-7617-45fd-806d-538b57e8e385",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9c829466-80f6-4421-8c68-f659b1cb5506",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3c8c66bc-8f79-4cf5-b57b-30a4c0ccf4b5",
"CreateDate": "2026-10-27T23:44:20.1995602-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:44:20.1995602-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d19a304d-0fdc-406e-8608-a13f815ad712",
"FieldId": "9a74d97d-e66f-4921-911a-8128ce5ac317",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d19a304d-0fdc-406e-8608-a13f815ad712",
"FieldId": "9a74d97d-e66f-4921-911a-8128ce5ac317",
"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": "911d8065-a6bc-4b37-bfbf-61fb7c9efd7b",
"CreateDate": "2026-10-27T23:44:20.1995602-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:44:20.1995602-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}