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": "29c7dec5-4ef2-40ca-bd42-09e83b2a057f",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "b6fbe92a-4dc6-49a3-a1ee-330d5f2b5a5f",
"Section": {
"TaskTypeSectionId": "c7f9bd70-b9d5-42a1-aab1-bd72bc0e5584",
"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": "3dfa906d-19e1-4fb7-abdd-461e4625108d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16df9bb2-aff1-4ae2-9db2-f403d7b5356a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c573f87b-5227-41c2-9e13-996aa4fcceec",
"CreateDate": "2026-08-12T11:13:48.6792281-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:13:48.6792281-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e6861785-7d55-4a11-bc97-590b351905ae",
"FieldId": "8cf6e4e8-301e-41a9-8edb-87d1268c22a2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e6861785-7d55-4a11-bc97-590b351905ae",
"FieldId": "8cf6e4e8-301e-41a9-8edb-87d1268c22a2",
"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": "b6fbe92a-4dc6-49a3-a1ee-330d5f2b5a5f",
"Section": {
"TaskTypeSectionId": "c7f9bd70-b9d5-42a1-aab1-bd72bc0e5584",
"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": "3dfa906d-19e1-4fb7-abdd-461e4625108d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "16df9bb2-aff1-4ae2-9db2-f403d7b5356a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c573f87b-5227-41c2-9e13-996aa4fcceec",
"CreateDate": "2026-08-12T11:13:48.6792281-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:13:48.6792281-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e6861785-7d55-4a11-bc97-590b351905ae",
"FieldId": "8cf6e4e8-301e-41a9-8edb-87d1268c22a2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e6861785-7d55-4a11-bc97-590b351905ae",
"FieldId": "8cf6e4e8-301e-41a9-8edb-87d1268c22a2",
"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": "ed34facf-2a5c-4a71-82d4-ae62d5d5eb00",
"CreateDate": "2026-08-12T11:13:48.6792281-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:13:48.6792281-07:00",
"LastModifiedUser": "sample string 7"
},
"Associations": [
{
"TaskStatusTypeTaskTypeId": "48c2ae8f-a948-4269-ac45-9fbe794b60a5",
"CompanyId": "b7791ea0-c8ab-4fcb-9c43-43c2c34f07c9",
"TaskStatusTypeId": "5657110b-00b8-442b-8fc0-dd3b17834f8d",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ef1cb38c-b7ec-4057-af59-b4c7770b7a2f",
"TaskTypeName": "sample string 4",
"Description": "sample string 5"
},
{
"TaskStatusTypeTaskTypeId": "48c2ae8f-a948-4269-ac45-9fbe794b60a5",
"CompanyId": "b7791ea0-c8ab-4fcb-9c43-43c2c34f07c9",
"TaskStatusTypeId": "5657110b-00b8-442b-8fc0-dd3b17834f8d",
"TaskStatusTypeName": "sample string 2",
"SourceSystemId": "sample string 3",
"TaskTypeId": "ef1cb38c-b7ec-4057-af59-b4c7770b7a2f",
"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": "5b5a31ec-d9ff-4237-b68c-3acd069c386b",
"Name": "sample string 1",
"Description": "sample string 2",
"CustomStatuses": true,
"Fields": [
{
"TaskTypeFieldId": "51bd5dd0-1532-4632-8356-03bbc6315c7e",
"Section": {
"TaskTypeSectionId": "80ea061c-5aa2-4d29-bbbe-173cb3f021cf",
"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": "c9ea1362-f22a-4bde-9c7f-3f172b26d09c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f86ee0d2-51bb-45bd-b81f-6a5252517c37",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3d1b40ee-682e-4e0a-8e0a-48ae90a789c5",
"CreateDate": "2026-08-12T11:13:48.7105335-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:13:48.7105335-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "88f6b4da-6321-4e62-8055-7e462b4001df",
"FieldId": "a6cd6530-41a6-4018-82a5-8ce865ef4827",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "88f6b4da-6321-4e62-8055-7e462b4001df",
"FieldId": "a6cd6530-41a6-4018-82a5-8ce865ef4827",
"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": "51bd5dd0-1532-4632-8356-03bbc6315c7e",
"Section": {
"TaskTypeSectionId": "80ea061c-5aa2-4d29-bbbe-173cb3f021cf",
"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": "c9ea1362-f22a-4bde-9c7f-3f172b26d09c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f86ee0d2-51bb-45bd-b81f-6a5252517c37",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3d1b40ee-682e-4e0a-8e0a-48ae90a789c5",
"CreateDate": "2026-08-12T11:13:48.7105335-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:13:48.7105335-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "88f6b4da-6321-4e62-8055-7e462b4001df",
"FieldId": "a6cd6530-41a6-4018-82a5-8ce865ef4827",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "88f6b4da-6321-4e62-8055-7e462b4001df",
"FieldId": "a6cd6530-41a6-4018-82a5-8ce865ef4827",
"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": "4df5dade-02d0-4f6e-aa58-08adc3d01d2c",
"CreateDate": "2026-08-12T11:13:48.7105335-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:13:48.7105335-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}