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": "fa2b9200-215f-49f1-ade6-8a240a6e3e0d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "48c3d416-60fa-49a0-a9ac-7d484c6c7104",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a14736d0-b8ce-4611-a175-b60a0b9e6139",
"CreateDate": "2026-11-02T20:23:51.7926052-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T20:23:51.7926052-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4b4602f2-b6d4-4a4c-a6ed-0b2f6ae8c1bd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8903c82d-8a49-4019-97df-a83675a34dd9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9f65375e-e359-4245-8cf2-ee763242e26e",
"CreateDate": "2026-11-02T20:23:51.7926052-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T20:23:51.7926052-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d97d20ba-10bd-4bed-adc5-adc7a8d0148a",
"FieldId": "97825eb5-ccd0-472e-86e0-064b3d368e19",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d97d20ba-10bd-4bed-adc5-adc7a8d0148a",
"FieldId": "97825eb5-ccd0-472e-86e0-064b3d368e19",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b2af0545-ab71-4b76-81cb-89f7ca0ee151",
"CreateDate": "2026-11-02T20:23:51.7926052-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T20:23:51.7926052-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": "07f0e67c-7c3d-45c6-a248-f9693d0fe253",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2a50c298-b739-42b5-903e-5edb118c281b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1d0cf2c0-2ea7-40fe-943e-71405586f3d4",
"CreateDate": "2026-11-02T20:23:51.7926052-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-02T20:23:51.7926052-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "60750a8a-823d-4c29-af92-5fc9a3cc0289",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7251ebd7-1c9c-40d6-a5fb-d0422dfdd684",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "63999d65-ec42-4cfe-ba82-7d50c9388182",
"CreateDate": "2026-11-02T20:23:51.7926052-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-02T20:23:51.7926052-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da35487a-5e1b-427f-b56f-14753b94d972",
"FieldId": "fd6a110a-ed42-4049-a44d-6501fad18f2a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da35487a-5e1b-427f-b56f-14753b94d972",
"FieldId": "fd6a110a-ed42-4049-a44d-6501fad18f2a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9a1b2c94-63e0-4810-a591-600be5e9c208",
"CreateDate": "2026-11-02T20:23:51.7926052-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-02T20:23:51.7926052-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}