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": "4b1e76c0-eb16-4b78-b120-997e6f7d843d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2177a4ac-4f89-41f9-8528-b45284e1ef06",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b86be63e-a587-404b-9f8b-d87a3d42a6ad",
"CreateDate": "2026-08-31T10:39:21.6602652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T10:39:21.6602652-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "ac6b5ed8-bbd3-4069-a208-2ecef6c98277",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "066bf546-9805-4747-b44a-2cce4de7c52d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c0143391-b804-42c5-b3f1-4044a04f9f91",
"CreateDate": "2026-08-31T10:39:21.6602652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T10:39:21.6602652-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f181ee48-a4d5-4c73-ab76-2f78b1914bb4",
"FieldId": "671d68aa-febd-483a-8cf8-8584a8e8f6e2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f181ee48-a4d5-4c73-ab76-2f78b1914bb4",
"FieldId": "671d68aa-febd-483a-8cf8-8584a8e8f6e2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e50621ab-cfb8-44cc-86c3-9e026893a0cd",
"CreateDate": "2026-08-31T10:39:21.6602652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T10:39:21.6602652-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": "ef507501-0824-4041-b86a-293e494c4909",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "086e98f1-b81a-45d6-85aa-a8aa76be6f63",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "397996c9-5878-4de4-9b87-627c40dbbe27",
"CreateDate": "2026-08-31T10:39:21.6758684-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-31T10:39:21.6758684-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "98380002-a16d-48d8-b450-83eb7e7244e9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7b7c449e-d44c-47a5-81bb-483cbdfc9297",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "65593bc8-4d15-4647-bb28-7d9cc964469e",
"CreateDate": "2026-08-31T10:39:21.6758684-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-31T10:39:21.6758684-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6553903e-37a2-4e6e-a320-61e5dbff6e03",
"FieldId": "b725aace-5942-4642-a0be-56171c18d212",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6553903e-37a2-4e6e-a320-61e5dbff6e03",
"FieldId": "b725aace-5942-4642-a0be-56171c18d212",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "4035faaf-f2d6-4778-be43-3cb3f05a80b7",
"CreateDate": "2026-08-31T10:39:21.6758684-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-31T10:39:21.6758684-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}