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": "b49b7cee-bbfb-49de-aff2-6a0e3c597790",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "dd489dba-2ffb-4d2b-b789-9bc7a003e518",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1fb582af-855d-46e5-afb2-ce6ca27a9dc8",
"CreateDate": "2026-09-28T18:07:42.6927302-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T18:07:42.6927302-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d8660e89-b088-462e-89ec-ba0c167ffc76",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "69354c19-a4db-4b11-be05-d8903bd91177",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "36ab4865-3067-4fa1-ae72-2b910062626c",
"CreateDate": "2026-09-28T18:07:42.6927302-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T18:07:42.6927302-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f322f558-01e6-489d-aa95-14e313587ca2",
"FieldId": "05716d21-5f43-4841-bca9-0c18f1b4b8d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f322f558-01e6-489d-aa95-14e313587ca2",
"FieldId": "05716d21-5f43-4841-bca9-0c18f1b4b8d3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "26c9e42a-a4b9-403d-8210-dfaebd58d4c7",
"CreateDate": "2026-09-28T18:07:42.6927302-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T18:07:42.6927302-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": "763c4aa0-7d0b-4fb1-a959-3156e78bded2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9b822068-328e-421d-a702-b0d240c1f8a8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "23c3da9d-c4dd-4b10-9ce6-ce275d15f02c",
"CreateDate": "2026-09-28T18:07:42.6927302-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-28T18:07:42.6927302-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "bf72ad0d-f825-4d81-8060-d35728d340a9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "240a2a2f-ab84-4812-96cc-601540621eda",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6e6d9cb4-f700-4ea7-a9ee-055a3bdd6e82",
"CreateDate": "2026-09-28T18:07:42.6927302-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T18:07:42.6927302-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "58975948-fe05-4744-9251-90bf171b7bf6",
"FieldId": "6113c286-616d-42cd-a7f9-b5348858198a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "58975948-fe05-4744-9251-90bf171b7bf6",
"FieldId": "6113c286-616d-42cd-a7f9-b5348858198a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c62cff46-32c4-4b81-af63-6d700eea9069",
"CreateDate": "2026-09-28T18:07:42.6927302-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T18:07:42.6927302-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}