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": "23c5ff36-b0dc-4f3f-bbd9-beeac685351f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "20ad5318-7898-4929-b911-5052173f622f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1b8374f1-98e1-4971-a107-0e47cbf707d3",
"CreateDate": "2026-01-06T16:37:06.2310814-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:06.2310814-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "10f3e9a2-7fe2-4a2d-96e6-97c993443459",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c110f4ae-7a5c-408b-b0ba-4877eff19aa9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5328abdc-5954-40fa-a0f3-8e31a90ed7ec",
"CreateDate": "2026-01-06T16:37:06.2310814-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-06T16:37:06.2310814-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fe27afb6-8d5f-4f83-af8f-8efa54d9f637",
"FieldId": "825597a9-0ead-406f-97ea-8827cb0697ad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fe27afb6-8d5f-4f83-af8f-8efa54d9f637",
"FieldId": "825597a9-0ead-406f-97ea-8827cb0697ad",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "31861d6c-6013-432a-a473-9e600367dbab",
"CreateDate": "2026-01-06T16:37:06.2310814-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-06T16:37:06.2310814-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": "b4dabdc1-1bf7-4640-b60f-17dd5849dab1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f82507f2-184c-46de-ad4b-9c486b68cee8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a0205a82-5634-4bae-b013-5734f364f7c7",
"CreateDate": "2026-01-06T16:37:06.2310814-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-06T16:37:06.2310814-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "3955146a-5219-4dc4-bca1-06d5890f413c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bad9dbe2-8a96-45e8-883d-78a0fa183b1f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dd3319ab-39ad-4aea-8acf-6d3974622059",
"CreateDate": "2026-01-06T16:37:06.2310814-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-06T16:37:06.2310814-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "75c57ea2-dcd8-4ad4-8d7c-cad0a00401ef",
"FieldId": "b014dd00-5969-4870-840e-8c36c450ea2c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "75c57ea2-dcd8-4ad4-8d7c-cad0a00401ef",
"FieldId": "b014dd00-5969-4870-840e-8c36c450ea2c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "77e85c82-82a4-486c-ba40-99d16b97938c",
"CreateDate": "2026-01-06T16:37:06.2310814-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-06T16:37:06.2310814-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}