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": "64f7239d-3acf-4ad9-b165-93c12431c2a8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bbe8bdb1-1bc4-49cf-8f1b-926307265143", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6fc73dc9-b0da-437d-a0fe-74e757f25d28", "CreateDate": "2025-07-05T09:53:22.6245209-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-05T09:53:22.6245209-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "d1b6a475-59b5-4b4c-8581-0e30ff5f02a6", "Name": "sample string 1" }, "Unit": { "UnitId": "5be72d0e-25d6-4253-8164-daaeaaf143f1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "29b5177b-6b0f-410d-9d7f-4b127796c76c", "CreateDate": "2025-07-05T09:53:22.6245209-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-05T09:53:22.6245209-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2bb1056c-635c-49b1-8815-2c42788ee8d1", "FieldId": "6d7afd96-c3ea-4165-8953-c72840c3d47a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2bb1056c-635c-49b1-8815-2c42788ee8d1", "FieldId": "6d7afd96-c3ea-4165-8953-c72840c3d47a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "7e2fbaf0-cf73-4507-ac5c-483aa59d6c87", "CreateDate": "2025-07-05T09:53:22.6245209-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-05T09:53:22.6245209-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": "2c72c837-6633-448b-aa5c-38f3afe7bd48", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0618cb22-307e-40d0-ad21-1e0828cde4b9", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8fdedc13-0b13-4a2d-992a-8e2e76f22bc6", "CreateDate": "2025-07-05T09:53:22.6245209-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-05T09:53:22.6245209-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "28eb1479-4052-4c13-b353-eb8b6b55fe74", "Name": "sample string 1" }, "Unit": { "UnitId": "0dce9aff-2437-47e9-8df0-945cc222bf90", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "085c596b-26ac-40bd-b40e-b754e4921955", "CreateDate": "2025-07-05T09:53:22.6245209-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-05T09:53:22.6245209-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "fcbc06b3-b502-438e-ba18-7e9c0f131221", "FieldId": "aa987813-b9a8-47d4-909a-d8e0acb44586", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "fcbc06b3-b502-438e-ba18-7e9c0f131221", "FieldId": "aa987813-b9a8-47d4-909a-d8e0acb44586", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "d3605309-3083-479e-84b9-63c65266c92c", "CreateDate": "2025-07-05T09:53:22.6245209-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-05T09:53:22.6245209-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }