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": "6b0c6133-0bd5-4467-9be1-87496f2a83f1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cbf51e04-d6c2-4bfa-baf9-ea13390db2d9",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "630df593-6a1a-4fa5-8597-b88dfa36c72c",
"CreateDate": "2026-02-02T06:55:23.8462878-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:55:23.8462878-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "58827383-769d-4a4a-af6f-ae92ed150681",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f4648ba7-728a-4a93-bccb-0bcce7778742",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5636d063-11df-4326-9c09-117a4b07b860",
"CreateDate": "2026-02-02T06:55:23.8462878-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:55:23.8462878-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7c7df70d-b7a1-4a99-99b1-c82ccc465eec",
"FieldId": "0b860226-3f31-4e78-9a77-98d8126add08",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7c7df70d-b7a1-4a99-99b1-c82ccc465eec",
"FieldId": "0b860226-3f31-4e78-9a77-98d8126add08",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "90f884d7-936b-43a8-9524-9223b6d4630a",
"CreateDate": "2026-02-02T06:55:23.8462878-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:55:23.8462878-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": "9b5bc849-df29-4373-a2e0-94e1f27aa860",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a3570dac-6f96-4cb4-9aae-cb81dba41ea6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7925d368-e83c-4a8f-b4e6-9fd4f1de7b3e",
"CreateDate": "2026-02-02T06:55:23.8618914-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T06:55:23.8618914-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "75b47ff8-7146-4fb9-ab1c-b98f86bba9f2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6e5e6de6-0400-4be3-a06f-f9ddb9d3bbc9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "19c4d324-1200-4d70-b6a0-13df3bd3cedb",
"CreateDate": "2026-02-02T06:55:23.8618914-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T06:55:23.8618914-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c10cecbf-270a-4028-ac08-5808054f8001",
"FieldId": "94d92973-4b34-4f2c-a46e-cbec8581e5f8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c10cecbf-270a-4028-ac08-5808054f8001",
"FieldId": "94d92973-4b34-4f2c-a46e-cbec8581e5f8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a748d7f2-b568-497b-b9f4-b310ebc9026b",
"CreateDate": "2026-02-02T06:55:23.8618914-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T06:55:23.8618914-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}