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": "7f64db5a-d5ab-4c1d-bc56-628311828a11",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4cc4f29e-5bb1-41b4-9ca5-6c818a7ebca7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4ddc1c0c-c076-43de-8192-41652d3a2f64",
"CreateDate": "2026-03-29T02:57:53.4990856-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-29T02:57:53.4990856-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "26fe677c-081b-430b-9c38-d72c9e0d84c5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c0d2835e-4b90-4958-afa2-e236fb3489f9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2ff18ca8-f6e4-497c-83b9-cd1548daacd2",
"CreateDate": "2026-03-29T02:57:53.4990856-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-29T02:57:53.4990856-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e28e01ad-cb58-4e0e-a56b-c25de3f43a27",
"FieldId": "207a4755-afcc-4e81-98a4-56a2d1188b1f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e28e01ad-cb58-4e0e-a56b-c25de3f43a27",
"FieldId": "207a4755-afcc-4e81-98a4-56a2d1188b1f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f5e9acfb-2bc4-4330-b719-e699cac1562b",
"CreateDate": "2026-03-29T02:57:53.4990856-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-29T02:57:53.4990856-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": "2baacad1-2a8a-477f-ad61-93c8bec681e3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7efa6500-aac4-4128-9c68-19cedd02d4ab",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7cd91ff0-63ef-4d3d-a421-96494dae9e2f",
"CreateDate": "2026-03-29T02:57:53.4990856-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-29T02:57:53.4990856-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4460933e-a519-4e64-95e3-654da986e041",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9dc09d64-13ed-440f-99e6-6635f7b34560",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0592c445-778f-4f5d-ae45-c5e85569fb6b",
"CreateDate": "2026-03-29T02:57:53.4990856-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-29T02:57:53.4990856-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "20ff09a4-12cd-46f2-91fa-114b7ed06fb9",
"FieldId": "9e722ad0-f397-40db-a515-4ab69b54095a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "20ff09a4-12cd-46f2-91fa-114b7ed06fb9",
"FieldId": "9e722ad0-f397-40db-a515-4ab69b54095a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "8c9f3177-7cce-4879-b111-c7951eb94982",
"CreateDate": "2026-03-29T02:57:53.4990856-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-29T02:57:53.4990856-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}