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": "e8be7217-442a-4b3b-8785-7a8d4cbb8134",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "cf1ebac5-4c1f-4a03-985a-d273a29a17dd",
"Section": {
"TaskTypeSectionId": "1ec87b85-ed91-4441-96b2-b3195b185825",
"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": "9e65e20f-8e45-4a04-af91-ac7572bef943",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eb938057-705c-47f9-bd9a-2fe46b34696e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "161aa7d7-3015-4a90-a53b-79b1e3a04032",
"CreateDate": "2026-02-15T12:51:58.8076992-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:51:58.8076992-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c51604be-2899-494e-8e16-2d306f781514",
"FieldId": "9966494e-b9c9-42ef-bdf1-7a5053852a01",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c51604be-2899-494e-8e16-2d306f781514",
"FieldId": "9966494e-b9c9-42ef-bdf1-7a5053852a01",
"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": "cf1ebac5-4c1f-4a03-985a-d273a29a17dd",
"Section": {
"TaskTypeSectionId": "1ec87b85-ed91-4441-96b2-b3195b185825",
"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": "9e65e20f-8e45-4a04-af91-ac7572bef943",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eb938057-705c-47f9-bd9a-2fe46b34696e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "161aa7d7-3015-4a90-a53b-79b1e3a04032",
"CreateDate": "2026-02-15T12:51:58.8076992-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:51:58.8076992-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c51604be-2899-494e-8e16-2d306f781514",
"FieldId": "9966494e-b9c9-42ef-bdf1-7a5053852a01",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c51604be-2899-494e-8e16-2d306f781514",
"FieldId": "9966494e-b9c9-42ef-bdf1-7a5053852a01",
"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": "33fff95e-0a8a-47be-92e3-3eb61d9956f4",
"CreateDate": "2026-02-15T12:51:58.8076992-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:51:58.8076992-08:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "862bc8b8-9345-49ac-b128-a91dfaa2eddb",
"CompanyId": "76136eee-d11b-40a8-84eb-b0b9d15017f9",
"TaskStatusTypeId": "80014c84-bd35-4d19-abfe-8cc7c9c85dde",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c452ed14-172e-458f-bb14-2379fca23ca0",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "862bc8b8-9345-49ac-b128-a91dfaa2eddb",
"CompanyId": "76136eee-d11b-40a8-84eb-b0b9d15017f9",
"TaskStatusTypeId": "80014c84-bd35-4d19-abfe-8cc7c9c85dde",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "c452ed14-172e-458f-bb14-2379fca23ca0",
"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": "ba68cf99-4fb7-4501-b11a-baad363a67a1",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "704c15d9-b223-4b18-93c8-401d87837f6f",
"Section": {
"TaskTypeSectionId": "077422b1-444d-466b-a877-9f75011e1338",
"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": "bb544202-afb2-4bf0-a987-59611b1574b5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9b1382eb-ad8b-4299-b3cb-7266baa70cbd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "17c153d7-4722-4437-bd05-166aaac4585c",
"CreateDate": "2026-02-15T12:51:58.8233248-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:51:58.8233248-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "53b6a268-cacd-49d5-9e4a-3a9e2a40a8f4",
"FieldId": "fd3d1203-1897-494b-8412-9f9eceab9018",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "53b6a268-cacd-49d5-9e4a-3a9e2a40a8f4",
"FieldId": "fd3d1203-1897-494b-8412-9f9eceab9018",
"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": "704c15d9-b223-4b18-93c8-401d87837f6f",
"Section": {
"TaskTypeSectionId": "077422b1-444d-466b-a877-9f75011e1338",
"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": "bb544202-afb2-4bf0-a987-59611b1574b5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9b1382eb-ad8b-4299-b3cb-7266baa70cbd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "17c153d7-4722-4437-bd05-166aaac4585c",
"CreateDate": "2026-02-15T12:51:58.8233248-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-15T12:51:58.8233248-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "53b6a268-cacd-49d5-9e4a-3a9e2a40a8f4",
"FieldId": "fd3d1203-1897-494b-8412-9f9eceab9018",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "53b6a268-cacd-49d5-9e4a-3a9e2a40a8f4",
"FieldId": "fd3d1203-1897-494b-8412-9f9eceab9018",
"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": "9ea8256e-dfab-44e2-af37-6688b97b2ca4",
"CreateDate": "2026-02-15T12:51:58.8233248-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-15T12:51:58.8233248-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}