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": "d156c50e-0195-4c4c-81a1-fee150ef9274",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "14a38c6f-2ffa-4fa2-b642-92ab87e8ba90",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4df03718-72f0-4cb0-b39b-013affea0e8a",
"CreateDate": "2026-09-02T00:31:44.6281731-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:31:44.6281731-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "1a28dab4-e2b8-48aa-a396-a21fba8f0a20",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5fb454ba-f3fc-4df9-b81b-077a361a9849",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84f071f9-959d-44da-94c2-90e562966abc",
"CreateDate": "2026-09-02T00:31:44.6281731-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:31:44.6281731-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2409bfc8-a229-40be-bebd-bf8128fbf2ef",
"FieldId": "0bed42bd-4338-42a8-b4c6-c01ee34de677",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2409bfc8-a229-40be-bebd-bf8128fbf2ef",
"FieldId": "0bed42bd-4338-42a8-b4c6-c01ee34de677",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "eb40c61c-7c4a-4b83-9767-d3a74abbb73f",
"CreateDate": "2026-09-02T00:31:44.6281731-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:31:44.6281731-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": "4bd05fac-89d1-4177-b23f-75c18b0e1d21",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "eeb57173-592a-47e3-8767-113ee1a49ba7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3dd553fc-c1b0-49e0-bb03-dedb2e6985fc",
"CreateDate": "2026-09-02T00:31:44.6281731-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:31:44.6281731-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b7b5c13b-27b1-4661-8e1a-f375ee3068e1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8dccd0b9-e770-452a-aabe-33014863e2c6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c4970c6c-c666-4093-a953-b46123a3dfb4",
"CreateDate": "2026-09-02T00:31:44.6281731-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T00:31:44.6281731-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4f4f62ff-0036-494b-8b09-8ac6a2b80aa7",
"FieldId": "48a33cfc-d018-4331-8d32-a6d03427e4c4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4f4f62ff-0036-494b-8b09-8ac6a2b80aa7",
"FieldId": "48a33cfc-d018-4331-8d32-a6d03427e4c4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f25ee83a-1eec-4f69-9bb3-def3f3a7e89e",
"CreateDate": "2026-09-02T00:31:44.6281731-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-02T00:31:44.6281731-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}