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": "9fae65ec-a2c2-4c10-b644-ae2b647e9156",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "96b97438-b42b-4e58-833c-ad0cd37f8e1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "33d302c8-527e-4cee-8be0-f5b44f8d328c",
"CreateDate": "2026-06-17T17:25:16.3559682-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:16.3559682-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "cc743356-5444-47d0-82a6-2e4c1c3ffcaf",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f63f0f39-acc1-4b9e-995d-32dfd48d756f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "37efc1e2-b64b-4d8e-bd84-429bfa4d4069",
"CreateDate": "2026-06-17T17:25:16.3559682-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:25:16.3559682-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bfe7f2d2-fd8f-4265-9abb-5555b805a1b3",
"FieldId": "0bad52a2-dcaa-4c03-97cc-4f320ad5752f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bfe7f2d2-fd8f-4265-9abb-5555b805a1b3",
"FieldId": "0bad52a2-dcaa-4c03-97cc-4f320ad5752f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "83cba35a-4d81-47b3-8f58-b2055db503c6",
"CreateDate": "2026-06-17T17:25:16.3559682-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:25:16.3559682-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": "18c4b214-2c4f-4f74-80cf-c43f393551b6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "28bc023b-c31a-46fe-b1b8-53d792b125e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "22eb2ff0-cfa7-4768-9e73-d0d5553a4563",
"CreateDate": "2026-06-17T17:25:16.3559682-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:16.3559682-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "38ed3b1b-f498-45d6-a317-8a1b725ad6ad",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ac819642-ed4e-44de-9f80-10e0cee99f1e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "191f3560-61c2-457d-866d-ec6d0db82f87",
"CreateDate": "2026-06-17T17:25:16.3559682-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:25:16.3559682-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cafcc77f-ac26-4617-9fbe-b56b8bf64ec8",
"FieldId": "f810bdcb-6924-4212-973b-9f31613a9eb2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cafcc77f-ac26-4617-9fbe-b56b8bf64ec8",
"FieldId": "f810bdcb-6924-4212-973b-9f31613a9eb2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5c1c9cd8-047f-414c-a24a-b683fc8cafbd",
"CreateDate": "2026-06-17T17:25:16.3559682-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:25:16.3559682-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}