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": "7a2fe15b-8c9f-4e24-b1f8-7de6ebd94745",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6d37e5a3-500d-439a-8a22-551d98dad132",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5169716f-bc31-4ab0-aa29-d37fd200e432",
"CreateDate": "2026-05-11T08:13:57.1458729-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T08:13:57.1458729-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "62338034-dc78-49b8-b2c8-11b1f11b6820",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3150c4e2-c1c9-4a93-b7a7-5b747d1ecf47",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8cd2408b-b638-4bd9-a042-220ba3df7479",
"CreateDate": "2026-05-11T08:13:57.1458729-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T08:13:57.1458729-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "34210839-27f8-40c3-ac20-3dd1c5c93049",
"FieldId": "90108f2f-914e-4815-907e-7d947455fa7b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "34210839-27f8-40c3-ac20-3dd1c5c93049",
"FieldId": "90108f2f-914e-4815-907e-7d947455fa7b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "82005351-9ce2-4943-90ee-8ba50fec817e",
"CreateDate": "2026-05-11T08:13:57.1458729-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-11T08:13:57.1458729-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": "38fbb1ef-43f0-49c9-a660-e1121cf65ad0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8c0b12e5-508d-4638-8a6b-65f416a2c456",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c0ed3bba-6507-4e75-be34-6c85211127e7",
"CreateDate": "2026-05-11T08:13:57.1458729-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T08:13:57.1458729-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "941d836e-ce79-4aad-af41-186209a7b107",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "27e228a8-1303-40da-9806-055d52831e03",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ea595c23-35b7-44b0-bb20-0aab67ac5f2a",
"CreateDate": "2026-05-11T08:13:57.1458729-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T08:13:57.1458729-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3bdb77d2-4fa6-451d-a94f-5ab9eae47f98",
"FieldId": "d059b091-4ac7-45bf-8b24-83b9b562c184",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3bdb77d2-4fa6-451d-a94f-5ab9eae47f98",
"FieldId": "d059b091-4ac7-45bf-8b24-83b9b562c184",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2ff8f801-b213-4365-bc29-8b8957bc9bee",
"CreateDate": "2026-05-11T08:13:57.1458729-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-11T08:13:57.1458729-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}