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": "926e6898-5705-4c72-9554-553238c16a0b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8e82daf6-755f-4b06-9ddc-8116bce335bf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ea2d737e-9f55-410e-b826-6f0745ecf16e",
"CreateDate": "2026-09-14T13:44:26.082694-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-14T13:44:26.082694-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "39d342f2-4332-4724-828a-524b716ce6d6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "88d0e25d-3631-45b0-93d5-600134920d7c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ab78d63c-177e-4864-a26c-e2aa4f16d25e",
"CreateDate": "2026-09-14T13:44:26.082694-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-14T13:44:26.082694-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0a9173bb-2f0f-4cb4-9afe-8efa534923a7",
"FieldId": "6b160d64-e6b8-4140-81e2-eb74c3af1281",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0a9173bb-2f0f-4cb4-9afe-8efa534923a7",
"FieldId": "6b160d64-e6b8-4140-81e2-eb74c3af1281",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c1e5c226-1d80-4f13-9981-bbae9550f517",
"CreateDate": "2026-09-14T13:44:26.082694-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-14T13:44:26.082694-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": "daf11ff8-3b16-40fe-bd2d-4bc1acac41cb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "350540aa-0319-42a5-b198-7eb03913c756",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "89641ba3-16ec-4aae-83f1-576b11f60dd1",
"CreateDate": "2026-09-14T13:44:26.082694-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-14T13:44:26.082694-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "19a97179-02a1-477b-bdce-c25d56731f49",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b8b1a4b5-81aa-484c-b08c-a4c6b7a21fe7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a0f200fe-daa6-4f90-956a-c5cdce9a3968",
"CreateDate": "2026-09-14T13:44:26.082694-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-14T13:44:26.082694-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "47039049-59b8-4fdb-9266-b8384ba7d43c",
"FieldId": "dba007a5-46d1-443d-9b5f-a91c17276ca1",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "47039049-59b8-4fdb-9266-b8384ba7d43c",
"FieldId": "dba007a5-46d1-443d-9b5f-a91c17276ca1",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f9768126-5f11-4307-8988-170d50c5a0fc",
"CreateDate": "2026-09-14T13:44:26.082694-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-14T13:44:26.082694-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}