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": "8dbfdfe4-264b-48b8-9ef5-03b8694bbb00",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1b6279b7-eb2c-458d-8fab-7a0572ce0e10",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "fddaa294-1a84-4199-bd16-a77cefbeed87",
"CreateDate": "2026-09-21T20:39:41.1157433-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T20:39:41.1157433-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "afe01291-b1ab-4de3-a87b-be6a07f4e358",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5a7c2077-cb13-450c-a3df-abe39a618ec8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f6b4369c-a8b5-4dc6-a7f9-2bf24e5730a0",
"CreateDate": "2026-09-21T20:39:41.1157433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T20:39:41.1157433-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "203edbad-8821-4066-a631-b7987fef00ca",
"FieldId": "2519bc76-fb87-4b29-afa3-adf20e07985b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "203edbad-8821-4066-a631-b7987fef00ca",
"FieldId": "2519bc76-fb87-4b29-afa3-adf20e07985b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b119e75b-edf4-4a49-b3a2-de2e5989dda0",
"CreateDate": "2026-09-21T20:39:41.1157433-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T20:39:41.1157433-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": "0b93da10-b62e-4e85-b1a7-0a2299eb4a60",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ae66d4f9-05b7-477a-8c14-29bf3ccdd80f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e53fe794-9373-44fd-a0ad-f789a568a0e7",
"CreateDate": "2026-09-21T20:39:41.1157433-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-21T20:39:41.1157433-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d1215813-4e9c-4249-b023-facb7dcc1e29",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "88001144-2906-48c4-a084-f9228f2a42c7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fd681729-cacf-4f85-8031-eee4f499f4aa",
"CreateDate": "2026-09-21T20:39:41.1157433-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-21T20:39:41.1157433-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9cd22a2a-42f2-4062-93d5-ff3ebdf42fa2",
"FieldId": "63da6130-4a81-4499-a4ce-690f64091356",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9cd22a2a-42f2-4062-93d5-ff3ebdf42fa2",
"FieldId": "63da6130-4a81-4499-a4ce-690f64091356",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "cab479cf-2c71-4552-ad85-6408f34602ac",
"CreateDate": "2026-09-21T20:39:41.1157433-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-21T20:39:41.1157433-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}