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": "37dcb610-668f-4c65-94ad-328022f4b656",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "16960ffb-6cb6-4428-a976-c89bbfbda612",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1556a90b-3808-4945-9910-5d4a58de8500",
"CreateDate": "2026-01-22T20:08:44.5453861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T20:08:44.5453861-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a8492680-a397-41b9-90d4-e9809abdf3ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c843a540-ae31-441b-bb6d-b33cf064b611",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "75abe5cc-9783-46de-ae82-ea3f1c83a668",
"CreateDate": "2026-01-22T20:08:44.5453861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T20:08:44.5453861-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b15829c6-d140-444f-9b7f-f24bd109e888",
"FieldId": "f9f10207-2f68-4652-87a4-dadc2076cef8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b15829c6-d140-444f-9b7f-f24bd109e888",
"FieldId": "f9f10207-2f68-4652-87a4-dadc2076cef8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d8614b9f-4a77-489a-85d1-c6dcb44a665a",
"CreateDate": "2026-01-22T20:08:44.5453861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T20:08:44.5453861-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": "142edec9-7d8a-488f-87d0-13aac13bf0ca",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "48718688-054e-4641-9f73-e32828d075c3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ff791f38-cd42-40dc-bea1-b76bcf47b713",
"CreateDate": "2026-01-22T20:08:44.5453861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T20:08:44.5453861-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "dd87eea3-e6c8-402c-8a81-a668c600bc86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fd81483a-9314-4c83-ae7a-e1061a798e4c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5b5a78fb-c65a-4231-bed4-7dc40c72b594",
"CreateDate": "2026-01-22T20:08:44.5453861-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-22T20:08:44.5453861-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1cf3a037-f388-482a-ae8b-578441772e58",
"FieldId": "43f77d51-5c9c-4f9d-9a0d-4e4eb2fc37ba",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1cf3a037-f388-482a-ae8b-578441772e58",
"FieldId": "43f77d51-5c9c-4f9d-9a0d-4e4eb2fc37ba",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "3d6f1b63-2fdc-4770-b52e-9012c7f4a17b",
"CreateDate": "2026-01-22T20:08:44.5453861-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-22T20:08:44.5453861-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}