POST PropertyTypes
Creates a new property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to create. PropertyTypeId should not be filled in.
PropertyType| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| DataType | DataType |
None. |
|
| Unit | Unit |
None. |
|
| MinValue | decimal number |
None. |
|
| MaxValue | decimal number |
None. |
|
| MinLength | integer |
None. |
|
| MaxLength | integer |
None. |
|
| HasValidValues | boolean |
None. |
|
| ValidValues | Collection of ValidValue |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyTypeId": "fed22093-4c30-4c57-958c-fb22a8fa7d40",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "10f97545-4c40-4be0-bab1-2e672563eee9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "db6aa67b-60b3-4c64-b9c0-8ad223631c26",
"CreateDate": "2026-03-04T00:52:44.716349-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T00:52:44.716349-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "c043f238-8bb7-45e8-9868-934f34260bea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "72589aef-f746-4ac3-b45f-bb82645b0c18",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d22229a6-893e-4798-8451-6b0f6e2c2f22",
"CreateDate": "2026-03-04T00:52:44.716349-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-04T00:52:44.716349-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "936fa7c9-1828-48a7-b650-e54d984c55e1",
"FieldId": "0e01641b-3901-4fe1-ba2d-aafb961325e4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "936fa7c9-1828-48a7-b650-e54d984c55e1",
"FieldId": "0e01641b-3901-4fe1-ba2d-aafb961325e4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a0d64369-d44a-4e93-a2a4-f866c1b481a2",
"CreateDate": "2026-03-04T00:52:44.716349-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T00:52:44.716349-08:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the created property type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | PropertyType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PropertyTypeId": "b42fcc5b-d60e-4aa9-aa66-49fce17fa568",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4464e841-1b0c-4266-9dc0-1da58afad51d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7f05ca6f-dc62-4f2a-988b-e98a2b8071e1",
"CreateDate": "2026-03-04T00:52:44.716349-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T00:52:44.716349-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "16afc773-0201-416e-97e2-83da8ad4254e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b789fdba-370d-48de-b704-61629bf7e67e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "aa630406-80e5-4822-ae84-b7f9ffdeef9f",
"CreateDate": "2026-03-04T00:52:44.716349-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-04T00:52:44.716349-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "30ea69d2-a2e6-42fc-b83e-12f00fba965a",
"FieldId": "72e0c929-a47c-44f4-83c1-c84172682fb6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "30ea69d2-a2e6-42fc-b83e-12f00fba965a",
"FieldId": "72e0c929-a47c-44f4-83c1-c84172682fb6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "52bf7ef6-daa0-43ea-a58a-bf1e4f93e42c",
"CreateDate": "2026-03-04T00:52:44.716349-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-04T00:52:44.716349-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}