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": "1f34f724-b5ee-49f1-ac46-f9d8749ed222",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7b22d610-2fe0-4b7c-b6f4-d4ee4bd3c445",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "cca735ea-1cb5-4a1d-8401-a7ac5df18f41",
"CreateDate": "2026-04-27T22:28:01.1978108-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-27T22:28:01.1978108-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "0a9b2a2a-dc46-4687-96ec-e694aaa2a7ad",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f92a9ebd-dffe-4f88-b922-efa473275af7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e3cbee5f-bcd8-4dc2-b325-c2bde3f9325c",
"CreateDate": "2026-04-27T22:28:01.1978108-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T22:28:01.1978108-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bac2eed2-08ce-44d1-8fe6-3025b2e72aa6",
"FieldId": "bc876a72-9466-4891-8b58-29a4c217ca8d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bac2eed2-08ce-44d1-8fe6-3025b2e72aa6",
"FieldId": "bc876a72-9466-4891-8b58-29a4c217ca8d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2e7a7ffb-f8be-4e28-8e51-c49244fd0fa4",
"CreateDate": "2026-04-27T22:28:01.1978108-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T22:28:01.1978108-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": "5d162abb-af48-41bd-9ac9-a7dd24815fcb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1bf2524b-c543-4e07-8d28-edcb71934ea7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "44ec1c0e-3bb4-40f1-a4bf-37b4793f8307",
"CreateDate": "2026-04-27T22:28:01.1978108-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-27T22:28:01.1978108-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c32aa113-64fc-4dfd-815a-e8db9bab95ac",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dd5804d7-76d5-4227-b33d-3935d8f74f85",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b3600fa9-7afa-46a5-8d89-ae03577f7d90",
"CreateDate": "2026-04-27T22:28:01.1978108-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T22:28:01.1978108-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8b4a9f10-7bfd-444d-b080-6d6390c2b518",
"FieldId": "d845a7b3-3653-4092-9c49-a349116395ae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8b4a9f10-7bfd-444d-b080-6d6390c2b518",
"FieldId": "d845a7b3-3653-4092-9c49-a349116395ae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "17be37ae-49d5-4250-9c25-89f85774b4be",
"CreateDate": "2026-04-27T22:28:01.1978108-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T22:28:01.1978108-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}