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": "15ebeb52-1dad-497f-9dbe-1329c8d75419",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "31867fe3-b40e-42f6-af32-0c4b2f23c67a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e191caae-a253-4a48-9628-a21b3f38cef1",
"CreateDate": "2026-11-09T22:54:17.1121164-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-09T22:54:17.1121164-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9b434a9a-299d-401b-be7c-adb57a30f2d0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "60760f51-13e8-4726-8105-600c89a5b498",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "95a4cd25-b8fb-41f9-b457-7bbfde67d03b",
"CreateDate": "2026-11-09T22:54:17.1121164-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-09T22:54:17.1121164-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "26700757-c859-4b26-a789-a9316e919d1d",
"FieldId": "642543f0-0c89-4fd5-ba1e-a3bad9a260a6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "26700757-c859-4b26-a789-a9316e919d1d",
"FieldId": "642543f0-0c89-4fd5-ba1e-a3bad9a260a6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "132eb870-d63e-4c11-8a77-f7951e9dd286",
"CreateDate": "2026-11-09T22:54:17.1121164-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-09T22:54:17.1121164-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": "8fc0a641-e011-4790-882c-9c39d20bfe60",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a99fad29-21d2-4ccd-a639-193d4cf048f8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7ce92c9f-075e-48d9-8486-3ec78c4565a7",
"CreateDate": "2026-11-09T22:54:17.1121164-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-09T22:54:17.1121164-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "e66fba40-ad88-41c5-b8e0-ca72afca5782",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f91b87cd-594e-4fb2-b818-9bf99c9f62d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a8d2876d-250b-4557-96e2-e09d38514819",
"CreateDate": "2026-11-09T22:54:17.1121164-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-09T22:54:17.1121164-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "661f0e76-a03d-4e5f-9021-963df9d422f9",
"FieldId": "85b77837-bf26-4098-ac05-ec6c829c9760",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "661f0e76-a03d-4e5f-9021-963df9d422f9",
"FieldId": "85b77837-bf26-4098-ac05-ec6c829c9760",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0bca11a9-762c-4769-b1f5-55c82b78d613",
"CreateDate": "2026-11-09T22:54:17.1121164-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-09T22:54:17.1121164-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}