POST PropertyTypes
Creates a new property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to create. PropertyTypeId should not be filled in.
PropertyTypeName | 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": "d2885950-6599-45c2-8673-ed1039c62c65", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "086153fe-b3a3-4369-bc73-333a7d691452", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "93cde3a8-4197-4984-99cd-a0f5b7937587", "CreateDate": "2025-09-14T21:37:51.4275192-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-14T21:37:51.4275192-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "def638fd-d949-4754-9c64-2c339444a848", "Name": "sample string 1" }, "Unit": { "UnitId": "7de853a8-0cf1-4a67-a869-8db781b526f0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "81e668cb-6065-44a5-a10d-f8683f2ad832", "CreateDate": "2025-09-14T21:37:51.4275192-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-14T21:37:51.4275192-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "130ad348-c08b-46d9-8396-eba62f525e65", "FieldId": "e9c548e9-1a63-4f3f-9b98-32d5cc23ae92", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "130ad348-c08b-46d9-8396-eba62f525e65", "FieldId": "e9c548e9-1a63-4f3f-9b98-32d5cc23ae92", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "63e59cc9-ebcf-4e4c-9d09-9c9078725146", "CreateDate": "2025-09-14T21:37:51.4275192-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-14T21:37:51.4275192-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": "45e699f8-7c17-49a3-8dc8-0a9a2b6b75e0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7726339b-4c70-47a1-87c1-8a212e017898", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "df608301-7f27-46f5-85c1-f36d5b708e6d", "CreateDate": "2025-09-14T21:37:51.443146-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-14T21:37:51.443146-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "e723c799-ff7e-43af-83d3-aa40d19401b2", "Name": "sample string 1" }, "Unit": { "UnitId": "4b3da7d6-2e7a-444e-9592-cab57f8e1779", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6449852b-3773-4005-b367-b0b0e0d80f29", "CreateDate": "2025-09-14T21:37:51.443146-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-14T21:37:51.443146-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "34214738-bfeb-44e1-9705-520849e420a7", "FieldId": "f4c5b594-d6f1-447e-a9f0-a0bf21042a68", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "34214738-bfeb-44e1-9705-520849e420a7", "FieldId": "f4c5b594-d6f1-447e-a9f0-a0bf21042a68", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "c00b4456-cb84-4083-bbfa-c91401ddb722", "CreateDate": "2025-09-14T21:37:51.443146-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-14T21:37:51.443146-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }