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": "742ac7ba-448d-427b-a0bb-1160a046d6a5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "96393aa1-c28c-4522-bbb9-9d397b6bee3f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "77462be6-38a0-4542-8a2a-675e1f782573",
"CreateDate": "2025-12-03T15:51:00.0210124-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-03T15:51:00.0210124-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "3b930a76-b963-44b7-b54d-354d6d93eee4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "01758dce-2161-44a7-83da-1380937ee54d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bb36dae9-9da1-4c86-ac14-e75cb6669e61",
"CreateDate": "2025-12-03T15:51:00.0210124-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-03T15:51:00.0210124-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e8aee3a9-31f9-4b08-bcfa-98fce282dd3b",
"FieldId": "ec1a942a-7b84-4d48-8ea7-2670121bbcc9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e8aee3a9-31f9-4b08-bcfa-98fce282dd3b",
"FieldId": "ec1a942a-7b84-4d48-8ea7-2670121bbcc9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "3dae1344-4aed-402a-b67a-b5bd621bd0d9",
"CreateDate": "2025-12-03T15:51:00.0210124-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-03T15:51:00.0210124-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": "433feaad-ae5b-4b58-a9cd-432b81db177b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "da7ed506-e956-4054-a9af-1c7599b3f3f2",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce1f54bb-46dd-4630-b08f-da3075fcaf59",
"CreateDate": "2025-12-03T15:51:00.0210124-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-03T15:51:00.0210124-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6b7c9d1a-81ac-425f-8535-927e4977b8ff",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a32d8d21-8451-4783-90bb-b39b9fc223c8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7c1ebe96-6234-4e8c-9be4-6535a8f89858",
"CreateDate": "2025-12-03T15:51:00.0210124-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-03T15:51:00.0210124-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2a85aa20-f603-427c-a183-2450998e2f6d",
"FieldId": "1a09a2cf-14f6-450a-ae10-7f5a14679894",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2a85aa20-f603-427c-a183-2450998e2f6d",
"FieldId": "1a09a2cf-14f6-450a-ae10-7f5a14679894",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "fa044e88-8f24-431f-b6c8-d7a16171f86e",
"CreateDate": "2025-12-03T15:51:00.0210124-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-03T15:51:00.0210124-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}