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": "6695da02-4fbf-4182-b6c6-2eb10e1190bc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "80163125-f23a-48b6-adcd-9436a1e4d55b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e670a89e-e58d-48e4-970a-2fd3b72799b0",
"CreateDate": "2026-03-07T18:37:33.5875125-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T18:37:33.5875125-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a1d8999e-a6a1-45a2-9fe4-c6246bd7ff2b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e23b139c-d008-4cfc-8e5c-6c6774d5ea0f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "53028dea-c54e-4a8c-a4a5-889a6450fb6e",
"CreateDate": "2026-03-07T18:37:33.5875125-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-07T18:37:33.5875125-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9f0a2b15-c35e-4f4a-96af-3cf15e50e087",
"FieldId": "34bfe1db-1cb0-4b1b-8bfa-05b3862e14ee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9f0a2b15-c35e-4f4a-96af-3cf15e50e087",
"FieldId": "34bfe1db-1cb0-4b1b-8bfa-05b3862e14ee",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "62cc47b6-6c49-4154-9f3c-94c46daade16",
"CreateDate": "2026-03-07T18:37:33.5875125-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-07T18:37:33.5875125-08: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": "f4e10a4b-ff43-4863-bf63-81b4e12a0929",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9bdb6953-fd0d-4394-b083-82a3eb82273c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4a055174-d172-4cab-bd56-e17f039d583e",
"CreateDate": "2026-03-07T18:37:33.5875125-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-07T18:37:33.5875125-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c42a2d38-a2a5-4a85-9ec3-1b7123edb4ab",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5b77de13-42d4-4e9d-8b0a-f3b33b75a9ad",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8797bb1a-be0c-4d0e-a8e8-973f26e5d7da",
"CreateDate": "2026-03-07T18:37:33.5875125-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-07T18:37:33.5875125-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6b5f769a-2142-4e59-bbd3-ba26d6902210",
"FieldId": "b0c905df-67c3-4666-b16a-9e2e2b3f3b20",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6b5f769a-2142-4e59-bbd3-ba26d6902210",
"FieldId": "b0c905df-67c3-4666-b16a-9e2e2b3f3b20",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e6617166-d6f9-463b-a5f7-f22136a855b5",
"CreateDate": "2026-03-07T18:37:33.5875125-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-07T18:37:33.5875125-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}