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": "10f35c2b-9954-470a-a7b7-1b50ff8bab67",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "df803a79-0b01-4cee-a6d8-0b9508d21210",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0774fee3-26b1-4ea1-9ccb-bf53de058d4a",
"CreateDate": "2026-09-07T12:32:58.4503171-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-07T12:32:58.4503171-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7a47f3a1-af18-4176-84a7-113b8820999f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b7d442de-7c19-458e-899c-5c6139bf8660",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8b3ceb63-87fc-4279-a7e7-8112b820212e",
"CreateDate": "2026-09-07T12:32:58.4503171-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-07T12:32:58.4503171-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6d09504a-1f69-425f-8f4c-43408d4d80b5",
"FieldId": "2e39ca77-a9fd-498d-b81b-a9c47da6e00b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6d09504a-1f69-425f-8f4c-43408d4d80b5",
"FieldId": "2e39ca77-a9fd-498d-b81b-a9c47da6e00b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1b9ce6c2-519b-46fb-a6da-be366e45b3d0",
"CreateDate": "2026-09-07T12:32:58.4503171-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-07T12:32:58.4503171-07: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": "01ae7880-7338-4c3b-b84f-c2d827d6e83f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2bfd9dc1-033c-4549-8883-9ad6e1204ded",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a4c95884-41cf-4344-ab0d-27b74e34536b",
"CreateDate": "2026-09-07T12:32:58.4503171-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-07T12:32:58.4503171-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "0cd93ff9-b547-41c3-b5a9-a3d9333bc105",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "57f7a369-202d-4059-b5a6-dd33319be7f8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4694f357-a698-4fdf-937e-4018558a753c",
"CreateDate": "2026-09-07T12:32:58.4503171-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-07T12:32:58.4503171-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d5fa73cf-2f57-40f5-bf58-a805f01d5e5e",
"FieldId": "230c442c-d86d-45dd-a6df-fd5ad71ce8a8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d5fa73cf-2f57-40f5-bf58-a805f01d5e5e",
"FieldId": "230c442c-d86d-45dd-a6df-fd5ad71ce8a8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "02377736-74ef-4e0a-9c7f-dd2b2ae15632",
"CreateDate": "2026-09-07T12:32:58.4503171-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-07T12:32:58.4503171-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}