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": "22238457-1b18-4479-8ed1-35d86b89a12a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "22307705-b268-4b7f-98cd-f81a9c505a5a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8195c868-22f8-440c-8446-903982156466",
"CreateDate": "2026-11-30T23:56:18.3933835-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T23:56:18.3933835-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4fc7a708-f99b-4655-bad8-850d7ad1093b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d63b56c1-00db-456a-a3d2-3567b0a8086b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "05c1c6c6-094f-48a8-8951-5a954268e020",
"CreateDate": "2026-11-30T23:56:18.3933835-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T23:56:18.3933835-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b7418d72-d056-4d0e-af6c-920c473d6700",
"FieldId": "bc2a41cb-8b90-4586-808f-8b5198040dde",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b7418d72-d056-4d0e-af6c-920c473d6700",
"FieldId": "bc2a41cb-8b90-4586-808f-8b5198040dde",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "fa6a94f0-476c-40bc-bb8b-b6ed0d70c072",
"CreateDate": "2026-11-30T23:56:18.3933835-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T23:56:18.3933835-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": "12dfb875-f05a-4beb-b771-671e117f8ad1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1f6dca1a-036f-4d0c-96da-67570b3ab79d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7ee743a3-6f69-462a-bea5-d3f1c97eaaa5",
"CreateDate": "2026-11-30T23:56:18.3933835-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-30T23:56:18.3933835-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "723f6551-2f35-489b-a6cf-539b68245894",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb62bd3f-d0b6-4d3d-b018-4a6fa6c18696",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7fe2232d-95ed-4140-b431-fcb9d06951f9",
"CreateDate": "2026-11-30T23:56:18.3933835-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-30T23:56:18.3933835-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fa91a36b-bac1-4b4a-9f4a-adc5fb5aa724",
"FieldId": "60df9cd3-c823-4d3b-a96b-01986e8f17ae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fa91a36b-bac1-4b4a-9f4a-adc5fb5aa724",
"FieldId": "60df9cd3-c823-4d3b-a96b-01986e8f17ae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "322316a9-4e25-4f0b-94b4-d811c308ae1e",
"CreateDate": "2026-11-30T23:56:18.3933835-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-30T23:56:18.3933835-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}