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": "e981391e-1811-4d86-be0b-8bdcff48fc1d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9e9a08ae-160e-45f5-970a-62addba3adb5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1e8d8ff3-bcad-49ef-a3fd-1e05e60db874",
"CreateDate": "2026-09-26T13:57:34.7366311-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:57:34.7366311-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "66517b91-2c0a-4300-8069-6f346900f848",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9d44cea5-08c0-4810-b7c5-4361957acbed",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b3dbdf0-168e-45fd-98a7-39923ce078e4",
"CreateDate": "2026-09-26T13:57:34.7366311-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:34.7366311-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e0d40ce9-b048-43e3-8a84-e4ad3bc5ee23",
"FieldId": "2e143224-15dc-44b8-9a08-009545ffe796",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e0d40ce9-b048-43e3-8a84-e4ad3bc5ee23",
"FieldId": "2e143224-15dc-44b8-9a08-009545ffe796",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0607c7cf-ac05-4605-b1c1-32c5285eb6ac",
"CreateDate": "2026-09-26T13:57:34.7366311-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:57:34.7366311-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": "c45282b2-071b-4a92-a90c-005c92bc47a9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f5086995-95ab-473b-8b3a-a6c049e09dca",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3e0f169f-8d03-49c8-b602-769c35301c17",
"CreateDate": "2026-09-26T13:57:34.7366311-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:57:34.7366311-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9ac4f91d-cdc5-452c-acbc-08f24ef399ed",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "679e1771-f745-4474-a27e-48e4c9597e80",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4471dcd4-2092-4570-8560-e7e4533e6bb2",
"CreateDate": "2026-09-26T13:57:34.7366311-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:57:34.7366311-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cf1be474-d6b5-4f89-abf2-f1a3e071e5b3",
"FieldId": "55ddc07b-4b53-4883-bf8c-9b73404b6417",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cf1be474-d6b5-4f89-abf2-f1a3e071e5b3",
"FieldId": "55ddc07b-4b53-4883-bf8c-9b73404b6417",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "6dcfeecc-79ce-48b1-b30a-890b5f01e4e0",
"CreateDate": "2026-09-26T13:57:34.7366311-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:57:34.7366311-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}