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": "643c8f7a-b7c5-423e-8722-9ee9a8ffe565",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cbc29909-958c-41b1-8626-c6918420ee08",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ffccb5b1-968f-41bc-a782-2345659913ac",
"CreateDate": "2026-08-10T08:50:20.6965914-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-10T08:50:20.6965914-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a91365cf-9d15-44f6-a1fa-58b811f622b1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0826599c-7cf6-4421-9b17-c4e51a808c04",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c4b33243-4823-4415-b5b8-f3051bb28535",
"CreateDate": "2026-08-10T08:50:20.6965914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-10T08:50:20.6965914-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e1c28431-5458-49a5-86d8-0d697e99905f",
"FieldId": "283be21e-2f1b-4910-97fe-77b96c7df41e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e1c28431-5458-49a5-86d8-0d697e99905f",
"FieldId": "283be21e-2f1b-4910-97fe-77b96c7df41e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0a90c87d-9ee7-43e1-82d4-7aac56eae676",
"CreateDate": "2026-08-10T08:50:20.6965914-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-10T08:50:20.6965914-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": "0424c341-d844-4126-ac13-79e0c97be65f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "334697a2-8437-4b79-8b4a-1a17007d0f43",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "82f260dc-f899-4d65-a2e5-229e8becff74",
"CreateDate": "2026-08-10T08:50:20.6965914-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-10T08:50:20.6965914-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "78cc9360-d5d5-4601-9852-0faf66c655af",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "566b496d-2cd6-4f92-9213-44819752bfbd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f9743d88-79a6-4f11-89c0-6a6856d01ddf",
"CreateDate": "2026-08-10T08:50:20.6965914-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-10T08:50:20.6965914-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ce020cc1-164f-4b80-9cea-49040f75a537",
"FieldId": "48df8c64-546e-4929-abe5-1a1e3e82b325",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ce020cc1-164f-4b80-9cea-49040f75a537",
"FieldId": "48df8c64-546e-4929-abe5-1a1e3e82b325",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c45a2bce-8025-4d75-8c53-74917e9c3f09",
"CreateDate": "2026-08-10T08:50:20.6965914-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-10T08:50:20.6965914-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}