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": "46fa5a3f-82e0-437c-a3ca-66108da20a8a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c814df38-b594-4a24-8b75-25cc536cfafa",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e3fd66ba-5aa8-4ae6-a9d5-1cf6e83da0c1",
"CreateDate": "2026-06-01T02:25:02.6942305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T02:25:02.6942305-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fe269165-dd3f-4d31-b5a6-92b537a2ee10",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "41a1c507-9cf5-406f-9531-2d301e8dab62",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1f8f779a-ae95-430a-b60b-7c9d4d3d2535",
"CreateDate": "2026-06-01T02:25:02.6942305-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T02:25:02.6942305-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6d848fd4-81f7-4aba-a4c1-5c3df976cb38",
"FieldId": "49dd9bf9-2d89-4e0f-8bff-a33cb95c1b65",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6d848fd4-81f7-4aba-a4c1-5c3df976cb38",
"FieldId": "49dd9bf9-2d89-4e0f-8bff-a33cb95c1b65",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "323839ee-1750-4b51-a4c5-389da8970804",
"CreateDate": "2026-06-01T02:25:02.6942305-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T02:25:02.6942305-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": "b2deb8bf-5b25-4d6a-b047-17a76472fcc6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ccfc2b69-f849-48c9-8f23-471a9fed0aa2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fe15fa9f-bc63-4452-9396-f083d686a8cc",
"CreateDate": "2026-06-01T02:25:02.6942305-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T02:25:02.6942305-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "61187283-6472-4faf-af5f-df1d533bece5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "57615c14-88f7-4da5-95bb-53a40c91b72f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69144ea5-b01c-49d3-98bd-f9c8cac234b6",
"CreateDate": "2026-06-01T02:25:02.6942305-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T02:25:02.6942305-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cd1c008f-03d7-4879-a1e1-843caf2ace16",
"FieldId": "07ffeb38-cca9-4deb-b1ae-e31fb7b3626b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cd1c008f-03d7-4879-a1e1-843caf2ace16",
"FieldId": "07ffeb38-cca9-4deb-b1ae-e31fb7b3626b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "fbfe0808-0631-4700-9fb3-407759d32be5",
"CreateDate": "2026-06-01T02:25:02.6942305-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T02:25:02.6942305-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}