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": "89967e31-bacc-4f3f-b1ef-99edbb753f53",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a67c73c4-0b12-42fd-ab4d-3851fcb2d762",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e195bd51-59ec-487f-a5c4-3dff4ca96038",
"CreateDate": "2026-10-19T22:42:04.8737291-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-19T22:42:04.8737291-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "efbd4c5b-d1ce-440e-8741-3b879bb81961",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2b87e3e5-49f8-4119-898f-a86da50151be",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fca11e8a-7538-4ca1-a2cc-e58e0effc2c1",
"CreateDate": "2026-10-19T22:42:04.8737291-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-19T22:42:04.8737291-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "37f18210-b6f7-47b1-ad63-61e6b127c70a",
"FieldId": "62ce91d1-39d1-40d6-b4d7-bec1f9bbfd42",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "37f18210-b6f7-47b1-ad63-61e6b127c70a",
"FieldId": "62ce91d1-39d1-40d6-b4d7-bec1f9bbfd42",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "dc2ae9d1-9a6b-47b0-971f-6ef150bc4511",
"CreateDate": "2026-10-19T22:42:04.8737291-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T22:42:04.8737291-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": "184dcace-d3fb-430a-8e59-17680381ccb4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b875d47b-bf43-4970-b9e9-82a66636e1ce",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "33c3eb4a-14f5-4ce5-8104-223a87039483",
"CreateDate": "2026-10-19T22:42:04.8737291-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-19T22:42:04.8737291-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "2e8ce76a-fc7c-4be5-be59-22ec5431478a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "72457bed-cea9-482b-a005-63e219b6e200",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "231f976b-554d-43e4-a54d-2c89664b1922",
"CreateDate": "2026-10-19T22:42:04.8892271-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-19T22:42:04.8892271-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1a97448d-2b97-4814-b4ce-6bef77d47288",
"FieldId": "a2f19a07-21c3-43b8-a658-6e2b4c7930e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1a97448d-2b97-4814-b4ce-6bef77d47288",
"FieldId": "a2f19a07-21c3-43b8-a658-6e2b4c7930e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "8df70a05-09c8-4fca-b426-c35e0a60bd36",
"CreateDate": "2026-10-19T22:42:04.8892271-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-19T22:42:04.8892271-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}