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": "dfc49216-1c9e-47f7-9d0d-f96fd3aa1db1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2b5b631a-f627-45a0-b6b4-41cc8423cf75",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4796f1b8-9d46-4a64-936a-405a1908ab63",
"CreateDate": "2026-08-09T23:41:34.2779458-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:41:34.2779458-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "40402b98-24ff-4362-8424-49693560b633",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9342a4f2-c8b2-4c14-b7ba-fbd3d3c09261",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9fbfe6b3-05b7-4e2f-afa3-cf50a0421264",
"CreateDate": "2026-08-09T23:41:34.2779458-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:41:34.2779458-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "45b40757-66f2-4ab1-8b44-50cb45ae2dc2",
"FieldId": "a8d75ba3-0486-4394-9c15-b0df66bc9488",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "45b40757-66f2-4ab1-8b44-50cb45ae2dc2",
"FieldId": "a8d75ba3-0486-4394-9c15-b0df66bc9488",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "39362109-605f-495c-8e40-d28271cd1a4e",
"CreateDate": "2026-08-09T23:41:34.2779458-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:41:34.2779458-07: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": "fca3541e-b0f4-49b5-81f6-ca2185a80174",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a9d2c668-23c2-40e1-b1fc-3f99800dabe0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1660180e-722e-458c-9a5e-8b318b0a9bc0",
"CreateDate": "2026-08-09T23:41:34.2935013-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:41:34.2935013-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "5149a40c-9b30-42d2-aa23-74485660b47a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "02b1459a-6603-4203-a80b-fec93e3a52f6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "28064823-e3ce-4685-8687-ef3654984061",
"CreateDate": "2026-08-09T23:41:34.2935013-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:41:34.2935013-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "28bc017b-960c-44c9-809e-d4effcbc8c73",
"FieldId": "51489570-c8ef-41ba-a3e4-5e01adaf513e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "28bc017b-960c-44c9-809e-d4effcbc8c73",
"FieldId": "51489570-c8ef-41ba-a3e4-5e01adaf513e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c51de45a-d633-4908-8f20-83bec8870026",
"CreateDate": "2026-08-09T23:41:34.2935013-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:41:34.2935013-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}