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": "c70cd2f1-0d60-47c8-b461-ea8bae33ebb1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b0064bf2-adc0-4d08-8aae-92664fb1c92d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d96ad4f-5621-4ce3-8390-46dd0f6b65a0",
"CreateDate": "2026-08-03T08:31:41.4877455-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T08:31:41.4877455-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "23463993-091e-4515-b3b5-465dbe77385c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "58702013-c040-4b69-a6d7-305234063a87",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e9daeb6b-7d70-4a2a-89af-3ce37f64189d",
"CreateDate": "2026-08-03T08:31:41.4877455-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T08:31:41.4877455-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7eb042a4-8b95-46e6-9472-43cfe8a50f72",
"FieldId": "6dd2a23c-7c14-4bdd-ae35-4dc3151c8dc9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7eb042a4-8b95-46e6-9472-43cfe8a50f72",
"FieldId": "6dd2a23c-7c14-4bdd-ae35-4dc3151c8dc9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "db7882f4-75c7-4a37-b942-fe287d640b92",
"CreateDate": "2026-08-03T08:31:41.4877455-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T08:31:41.4877455-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": "06ce596a-d616-4fb9-adf3-3a1fd7732fca",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0db44da3-8318-48a7-b788-6f40c4443f92",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f0622f98-c037-440f-8ceb-16dd2ba4ef24",
"CreateDate": "2026-08-03T08:31:41.5033641-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T08:31:41.5033641-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "11289303-13fc-4310-aea5-e0c26e482a7f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d35da804-8c69-40f6-86bf-5dd9ad6717dd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a7617c41-be2c-492c-81b2-865690c1a2bb",
"CreateDate": "2026-08-03T08:31:41.5033641-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T08:31:41.5033641-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6dfa8b07-8000-4995-9915-d549800078ed",
"FieldId": "f7eba5c7-c622-4a34-98f7-1314c524443c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6dfa8b07-8000-4995-9915-d549800078ed",
"FieldId": "f7eba5c7-c622-4a34-98f7-1314c524443c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "3e954e35-1746-4246-8c94-2919f35e2c2d",
"CreateDate": "2026-08-03T08:31:41.5033641-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T08:31:41.5033641-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}