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": "564ec5c2-86cd-4586-a257-4deae0d1dc83",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "efe3be90-d79f-463a-975d-995ef83fc118",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2dc08ba1-51b8-4084-858c-7264d6bcc271",
"CreateDate": "2026-05-18T00:14:16.0234838-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-18T00:14:16.0234838-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "bc8ba813-924b-4c35-a3ef-f51d5803e836",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40747853-0327-456e-98bc-13e2991919e3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e3aee543-26fa-4629-8ad1-031940704d93",
"CreateDate": "2026-05-18T00:14:16.0234838-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-18T00:14:16.0234838-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1fff2f18-0d3a-4447-b85e-58c9f17dacf9",
"FieldId": "ca2da2dd-ca19-4126-a569-8c074bf9c191",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1fff2f18-0d3a-4447-b85e-58c9f17dacf9",
"FieldId": "ca2da2dd-ca19-4126-a569-8c074bf9c191",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "611ee0fd-8ff1-4da2-8f88-11ba5e00e8e5",
"CreateDate": "2026-05-18T00:14:16.0234838-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-18T00:14:16.0234838-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": "6b76fd1e-ec42-40ab-a0f2-859606af30cd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "665072f5-e1ed-4d68-8aa9-cb7168134640",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2dcd63bf-531e-4b0d-8dcf-34e00c9c5115",
"CreateDate": "2026-05-18T00:14:16.0234838-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-18T00:14:16.0234838-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "8074ef83-82ee-490a-8aa7-7a17a8fa78dd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fe9ab242-6bff-42a8-8e07-7a9c7929b531",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3ede69d2-a9bc-491e-8ab6-c6929c06a7db",
"CreateDate": "2026-05-18T00:14:16.0234838-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-18T00:14:16.0234838-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f91207a3-b26b-41e8-85f6-d5d0c6bd82ab",
"FieldId": "e2a7bbc4-233d-41bc-b798-c93e61e26819",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f91207a3-b26b-41e8-85f6-d5d0c6bd82ab",
"FieldId": "e2a7bbc4-233d-41bc-b798-c93e61e26819",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1471abd3-3a1c-43e3-bc9d-ee578e3ffc5a",
"CreateDate": "2026-05-18T00:14:16.0234838-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-18T00:14:16.0234838-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}