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": "c6e17554-722f-4721-ae1b-10934d277fd1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f9cfdeec-6788-42de-9cd5-76d34f6726ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "edfbcfc1-17c9-49c5-9107-fd692a4386ba",
"CreateDate": "2026-05-24T23:59:02.3316474-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-24T23:59:02.3316474-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "b27ef881-9aea-40b7-9a5b-2a3f8d5851ee",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "441ef1b3-64a8-444d-9413-1025db73a5cc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fd6553c1-0df3-48bd-b607-a148b40b3800",
"CreateDate": "2026-05-24T23:59:02.3316474-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T23:59:02.3316474-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "70f421fb-5cfe-4408-9c9a-96eaf71a6394",
"FieldId": "b9bfa72c-5b1d-4027-ace6-d12cbd457802",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "70f421fb-5cfe-4408-9c9a-96eaf71a6394",
"FieldId": "b9bfa72c-5b1d-4027-ace6-d12cbd457802",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "891434f4-f4e2-4184-98cb-b47bb144aefa",
"CreateDate": "2026-05-24T23:59:02.3316474-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-24T23:59:02.3316474-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": "aceca04e-81a9-49b4-8f5d-c6433b7cb323",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "eb82c2a9-33ce-499a-86a2-568676e651a8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "24238a45-22f8-4361-bc72-e93d1111f57d",
"CreateDate": "2026-05-24T23:59:02.3316474-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-24T23:59:02.3316474-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "43b2a86a-3086-4654-90e8-1d84cd2dac45",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "99ad198b-3b5c-41e6-9b63-0d84b62b9211",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6c37b125-a78b-4df5-9972-4d1216357f19",
"CreateDate": "2026-05-24T23:59:02.3316474-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-24T23:59:02.3316474-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "872f6660-68c5-47ab-afdc-4d10e3eb00ce",
"FieldId": "48775e43-088e-408c-a5ee-372436d31ea6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "872f6660-68c5-47ab-afdc-4d10e3eb00ce",
"FieldId": "48775e43-088e-408c-a5ee-372436d31ea6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2086631d-a191-421f-99d0-dff096a96f7a",
"CreateDate": "2026-05-24T23:59:02.3316474-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-24T23:59:02.3316474-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}