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": "a0258f1b-ceb7-4368-a59f-a83591cab1c0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3a43f6d2-27e6-4da6-94e0-608dfa718c5d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d90f53c-c0ad-4abf-b35e-eee250af242f",
"CreateDate": "2026-07-20T05:37:38.3555928-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T05:37:38.3555928-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "52a4d811-a5da-4371-9496-57b23cb742c1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3a25793d-51a4-447f-8d16-a60f18e9dccb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "45f80caa-214a-4692-b2ea-40c2508f09f1",
"CreateDate": "2026-07-20T05:37:38.3555928-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T05:37:38.3555928-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "eb550b07-2a6c-491d-b69a-c64da590d2ce",
"FieldId": "7189dd7c-24cb-4e9a-8187-c8334a485067",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "eb550b07-2a6c-491d-b69a-c64da590d2ce",
"FieldId": "7189dd7c-24cb-4e9a-8187-c8334a485067",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b5e60fdf-44ff-4b37-897b-a60ccc8ef92a",
"CreateDate": "2026-07-20T05:37:38.3555928-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T05:37:38.3555928-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": "8fa012ea-22b2-4236-a454-5468269822d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e4445c23-e7dc-45d2-80ef-c302a8cf0c30",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "56f0017d-0015-4933-ade8-18a24bd46eb0",
"CreateDate": "2026-07-20T05:37:38.3555928-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-20T05:37:38.3555928-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a8821592-807c-4513-b006-35100618421a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2985d254-044b-4793-8c0d-6779827a001b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "479d0c54-acc8-4987-ac81-dc71ab4f631f",
"CreateDate": "2026-07-20T05:37:38.3555928-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T05:37:38.3555928-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "453337f7-9c07-4352-96b9-0b48c96f75b0",
"FieldId": "05b427f7-0a40-4237-8833-aface693d164",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "453337f7-9c07-4352-96b9-0b48c96f75b0",
"FieldId": "05b427f7-0a40-4237-8833-aface693d164",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "bb1469c0-247c-43d6-bf98-6bb4a8ffc55a",
"CreateDate": "2026-07-20T05:37:38.3555928-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-20T05:37:38.3555928-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}