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": "417cd192-9cb0-47de-ae61-26f81f38c130",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e916e3f4-e68e-4744-9dc7-6a8e0562772d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6b0f333d-1bc5-4b1b-ad38-fa6d37ed7a19",
"CreateDate": "2026-11-21T19:05:01.5365676-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T19:05:01.5365676-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6692dae6-88f2-4833-9988-e6de925950d8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c74d9ab-04d1-4bc7-9a98-234fc7f60d32",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cf5331fe-72e0-4d23-8761-63cb4fef9dd7",
"CreateDate": "2026-11-21T19:05:01.5365676-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T19:05:01.5365676-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "209015d0-d11e-4f70-a66b-80802cf1b467",
"FieldId": "59e47c22-c76d-4eed-9818-5391fe0d714a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "209015d0-d11e-4f70-a66b-80802cf1b467",
"FieldId": "59e47c22-c76d-4eed-9818-5391fe0d714a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "107c9675-9a3e-4fde-b9b6-2fa00445072d",
"CreateDate": "2026-11-21T19:05:01.5365676-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T19:05:01.5365676-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": "55fc5998-9962-4e4b-b329-ee5ebafe5cd1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ece09527-e0d2-48db-8e45-8b13c185b6a8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "faec1dd4-28a1-45d2-b5aa-1d233ffe985c",
"CreateDate": "2026-11-21T19:05:01.5365676-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T19:05:01.5365676-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e344cbc8-6029-4564-b381-7f72a1d515d0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1f400cae-fe15-4fe2-b4b1-6fc0cf80d330",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b8eda3e7-f4ec-41a5-9b54-11f289d28312",
"CreateDate": "2026-11-21T19:05:01.5365676-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T19:05:01.5365676-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "10b06342-f45e-4d39-9e8d-96e9b2327733",
"FieldId": "b0c0cb20-2f5c-4120-97ed-58a47b81b27a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "10b06342-f45e-4d39-9e8d-96e9b2327733",
"FieldId": "b0c0cb20-2f5c-4120-97ed-58a47b81b27a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ac33c029-cb39-4214-8175-6742d8a8a8e8",
"CreateDate": "2026-11-21T19:05:01.5365676-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T19:05:01.5365676-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}