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": "f2ccfdcd-e75c-401f-98a1-ae117aa2d7f7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7a6869f9-43ce-4d28-aea7-1a33ec4e1138",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d590bf59-2c45-4d22-a29d-a95b62d773b5",
"CreateDate": "2026-02-23T06:47:50.3541169-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T06:47:50.3541169-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "e7ea972a-9fc5-4da9-8673-ded7fdf9bc46",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fa781838-40e5-401a-9b20-eac841715ee7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9ebdbd65-fa1c-48ab-b87e-8a067fdd1639",
"CreateDate": "2026-02-23T06:47:50.3541169-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T06:47:50.3541169-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "076029ed-807a-4ed0-b328-222b2a291724",
"FieldId": "49c52e3c-ae99-4c06-80a3-0d98451b09e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "076029ed-807a-4ed0-b328-222b2a291724",
"FieldId": "49c52e3c-ae99-4c06-80a3-0d98451b09e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "53099fe5-5f4e-44fa-863e-d28c25d96a3b",
"CreateDate": "2026-02-23T06:47:50.3541169-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T06:47:50.3541169-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": "3c01aaea-cabe-4bbe-a5f8-1f36a866d176",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4906bae3-466b-4202-9ab3-faf6d9719208",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "346e11bb-5cd5-4b92-9a7a-41b7fdf177e5",
"CreateDate": "2026-02-23T06:47:50.3541169-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T06:47:50.3541169-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6b9efbc1-5cd6-4fb2-a39d-73d22ed5ea0e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "63c52f7a-74d4-46b7-aded-01234c745189",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "220dc10c-7744-4951-9c55-a76cf0fd8d30",
"CreateDate": "2026-02-23T06:47:50.3541169-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T06:47:50.3541169-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "18da605d-2e24-4894-9714-3666c01c99a4",
"FieldId": "62968a4b-a54c-4aa7-b6f6-e8d78dfed733",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "18da605d-2e24-4894-9714-3666c01c99a4",
"FieldId": "62968a4b-a54c-4aa7-b6f6-e8d78dfed733",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5d95eccf-d78a-4783-b0a4-8d0f183f5416",
"CreateDate": "2026-02-23T06:47:50.3541169-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T06:47:50.3541169-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}