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": "49f5675e-8fac-49ce-aead-14f25a4a3489",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "56a7a4f2-2217-4abe-b0b2-2eae4be984c5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "512b3203-a1a1-4cbb-9963-a2ae04b74a30",
"CreateDate": "2025-10-13T15:29:46.6526148-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-10-13T15:29:46.6526148-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "1f45caa9-f9fe-4af4-b927-a832971f5134",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77cd56fc-b994-4ddc-8457-b939f7e5a937",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3312835d-e913-4311-9c03-45c6a31de71f",
"CreateDate": "2025-10-13T15:29:46.6526148-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-13T15:29:46.6526148-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "27cc9c12-b164-413c-a9ba-7ceb51525143",
"FieldId": "2ca56f45-031c-4e55-978e-73c7d72ffc00",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "27cc9c12-b164-413c-a9ba-7ceb51525143",
"FieldId": "2ca56f45-031c-4e55-978e-73c7d72ffc00",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "cbe46a81-8877-4641-9644-20ae06417df0",
"CreateDate": "2025-10-13T15:29:46.6526148-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-13T15:29:46.6526148-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": "39c0f063-394c-4787-af8d-ea73e6ddc310",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c67bb9fc-4b9e-4323-b467-e18fd2f2f9fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "98eccb6f-39d3-4176-baab-0a0a9275911b",
"CreateDate": "2025-10-13T15:29:46.6526148-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-10-13T15:29:46.6526148-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "59011a5d-e0e7-4147-a454-d2c47ae0ca49",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bc08ab2b-b4ef-4080-a373-22fcf878da81",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dacaf651-58b6-4af8-ae81-3cff872cd0d2",
"CreateDate": "2025-10-13T15:29:46.6526148-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-13T15:29:46.6526148-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "82e18a10-52cd-4859-9b16-c1e488262b0e",
"FieldId": "4e0f4c9c-5b26-4b57-bf42-08eabef24fc4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "82e18a10-52cd-4859-9b16-c1e488262b0e",
"FieldId": "4e0f4c9c-5b26-4b57-bf42-08eabef24fc4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "8bf3996b-5bb1-4288-bc0b-82ca993a1fd9",
"CreateDate": "2025-10-13T15:29:46.6526148-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-13T15:29:46.6526148-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}