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": "c405f48f-5374-4341-b4e2-4d67c1aad3ae",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5b418d95-94de-4007-8805-c5b55e2d792f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f018387f-a9eb-429b-b8f4-f4619fa4da36",
"CreateDate": "2025-12-13T01:10:32.4755168-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T01:10:32.4755168-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "35274fe8-e511-46bd-98bc-0a288b5298d9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "685df909-c5e3-4ce0-b210-b088bc5f3bd8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d323de80-928c-4f31-b8d6-509458a1a22a",
"CreateDate": "2025-12-13T01:10:32.4755168-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T01:10:32.4755168-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c81dfbbc-77a4-49c0-9b22-5d54b698d97a",
"FieldId": "f95955ac-2209-405e-88cd-7a410d3b91c4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c81dfbbc-77a4-49c0-9b22-5d54b698d97a",
"FieldId": "f95955ac-2209-405e-88cd-7a410d3b91c4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0452e56d-6b27-4b2d-a099-7c5050383ff1",
"CreateDate": "2025-12-13T01:10:32.4755168-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T01:10:32.4755168-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": "a4d302e2-7309-4e09-9959-4e5a8162031b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "aaf43da4-729f-4341-a1b2-893b28b147e8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5c5ffeb7-ee77-4029-abd2-ce88974bf6d4",
"CreateDate": "2025-12-13T01:10:32.4755168-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T01:10:32.4755168-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4a2bae5b-f0c1-43b4-be42-547b746abeaf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d90a53cb-f239-42d8-96b1-f3ab6f43a477",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6a99d4ec-acb4-4517-b0c4-fc2d567c49eb",
"CreateDate": "2025-12-13T01:10:32.4755168-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T01:10:32.4755168-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5c169cf7-0238-408c-a4e8-55ee4a8203fd",
"FieldId": "1123c14a-3eab-4ea4-8e59-a91c70785f47",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5c169cf7-0238-408c-a4e8-55ee4a8203fd",
"FieldId": "1123c14a-3eab-4ea4-8e59-a91c70785f47",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e44aecec-9e00-4b80-a6be-e524006ab713",
"CreateDate": "2025-12-13T01:10:32.4755168-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T01:10:32.4755168-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}