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": "25078045-f128-47d1-b431-89e3c0fcf214",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4c0677d7-7b56-43bd-bcec-4dc3f9d0ee66",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ee8e547-3d43-4dfe-a5da-e79b5d71fb28",
"CreateDate": "2026-07-27T07:41:55.1122044-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-27T07:41:55.1122044-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9f496b86-a886-43a0-8780-1060c1cff17e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4ba74b78-5c3e-47d0-a1c1-8c8429020ddf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "280c5843-756b-48d8-ae86-4d7ad27cf65e",
"CreateDate": "2026-07-27T07:41:55.1122044-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-27T07:41:55.1122044-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6be116cc-92ae-4c7e-acd9-3f607197bf59",
"FieldId": "87dfed4f-9312-4f7f-a134-eb64de2035f6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6be116cc-92ae-4c7e-acd9-3f607197bf59",
"FieldId": "87dfed4f-9312-4f7f-a134-eb64de2035f6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "da0535a7-969f-4a9b-b8d5-ad3e0f10c32d",
"CreateDate": "2026-07-27T07:41:55.1122044-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-27T07:41:55.1122044-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": "b8c97ef5-b1b2-4f88-9fd9-b921f95c0710",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3b91ad92-cd38-4f72-8c19-197cef46f05f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "76505bbf-7bb5-4d01-9461-2358580d158c",
"CreateDate": "2026-07-27T07:41:55.1122044-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-27T07:41:55.1122044-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "81550e59-b1dc-49d4-9949-6792a21c4218",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "330d3956-6f1a-456a-9420-d17f7b2396be",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7a40ccb8-9e21-4a65-ab21-52bbf430a20b",
"CreateDate": "2026-07-27T07:41:55.1122044-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-27T07:41:55.1122044-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "90202a2b-5d3f-471d-87e4-8af613f794a8",
"FieldId": "275c1a7c-45f1-4d3f-805f-d1d6687a32ee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "90202a2b-5d3f-471d-87e4-8af613f794a8",
"FieldId": "275c1a7c-45f1-4d3f-805f-d1d6687a32ee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "db344d74-0bcb-44b8-ade7-0809c4621dbb",
"CreateDate": "2026-07-27T07:41:55.1122044-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-27T07:41:55.1122044-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}