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 string |
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": "598ac5b0-6093-4e3c-9760-286b8c4f9e9c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8c344eea-7f53-4ddb-a5ad-7566aab09779",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "04fe8d5d-e45b-4a82-ab1b-a771cdccedeb",
"CreateDate": "2025-11-15T02:20:02.8494215-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T02:20:02.8494215-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "55f22df4-3880-4296-b18e-25ed0c35703c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "00f2211e-1af2-418d-a0d1-5890dd2f6a1c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "93f8e7bd-0ab9-4535-8f1f-fb3f0a587ecd",
"CreateDate": "2025-11-15T02:20:02.8494215-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T02:20:02.8494215-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "60e50045-6de9-4bd5-82ea-e292922f80f0",
"CreateDate": "2025-11-15T02:20:02.8494215-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T02:20:02.8494215-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": "ccb888ff-2025-4b0a-a38a-03655fcd4867",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "656f86a6-fc46-44d7-bdee-33b724b8865a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7ae24527-0354-4b3b-aa93-120a021a06cf",
"CreateDate": "2025-11-15T02:20:02.8494215-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T02:20:02.8494215-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "73f4dda9-de87-4aca-bea9-a153c9a08a4d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "57760c58-1ea0-43b2-84a3-cc7d79e63bfb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "130d3c0d-6271-44ed-a339-7145a16dd8ac",
"CreateDate": "2025-11-15T02:20:02.8494215-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-15T02:20:02.8494215-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "db2b2f7b-f1ae-4b04-95fd-06a625114a2e",
"CreateDate": "2025-11-15T02:20:02.8494215-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-15T02:20:02.8494215-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}