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": "18e343c7-37d0-473e-9347-077e5723dd08",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7ed5c218-9b63-4f04-86d6-395acb629a8b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec7d0b99-c620-4980-800a-080dfb4c775c",
"CreateDate": "2025-11-13T07:29:35.3906952-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-13T07:29:35.3906952-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "05b9d1fc-b3b9-42b6-a49d-22dcc9004634",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3fd5805c-f77c-4079-865a-0d8303f156ed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4674d5bf-201e-4f50-931c-f65e84083fb1",
"CreateDate": "2025-11-13T07:29:35.3906952-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-13T07:29:35.3906952-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d9fac855-1ec0-4526-bca3-37c8989e98fe",
"FieldId": "cf9ecded-c87a-475a-944e-a5b5546ee7aa",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d9fac855-1ec0-4526-bca3-37c8989e98fe",
"FieldId": "cf9ecded-c87a-475a-944e-a5b5546ee7aa",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e1091887-c3b8-4616-bdfd-32e4e8073310",
"CreateDate": "2025-11-13T07:29:35.3906952-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-13T07:29:35.3906952-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": "23602f16-e7a8-4992-b6fb-d78630ddb206",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0da92b6c-6712-4c6f-bcc3-cbc75eca149c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8940adc3-84aa-4c01-8bcf-00dcb204731d",
"CreateDate": "2025-11-13T07:29:35.3906952-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-13T07:29:35.3906952-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9920bbf3-2760-4719-9192-d9e96ffc352b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9fa92d98-c82d-4a70-96ac-b146858ca99a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "000c0560-10ab-4934-9f62-e9c79fbfdce0",
"CreateDate": "2025-11-13T07:29:35.3906952-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-13T07:29:35.3906952-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b4c27bc0-3c36-412c-9741-ccd487028ea6",
"FieldId": "e50f0f1c-7b17-4f45-89f8-835d68d2cc3a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b4c27bc0-3c36-412c-9741-ccd487028ea6",
"FieldId": "e50f0f1c-7b17-4f45-89f8-835d68d2cc3a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4b5e05da-d478-41a7-8d4b-dffcdd1282c9",
"CreateDate": "2025-11-13T07:29:35.3906952-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-13T07:29:35.3906952-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}