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": "7393353c-2bf4-45c7-90ef-64a2dfd0a681",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d2d53bae-75aa-4c8d-b63f-c4c1f5ef8144",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9d0cdfa7-b605-44db-9b27-719f9617488b",
"CreateDate": "2026-08-11T22:23:45.3108667-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:45.3108667-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "854d89c7-2761-44e8-87f6-569d2c00064a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3aa12b85-8c31-4ee8-8150-753634156df2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f97a9646-7906-447a-ae56-d781ea294d06",
"CreateDate": "2026-08-11T22:23:45.3108667-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:45.3108667-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8239c1e5-3087-4251-a656-fe76d2372d60",
"FieldId": "7764f467-62e5-4667-839b-f7ee6de5fd6b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8239c1e5-3087-4251-a656-fe76d2372d60",
"FieldId": "7764f467-62e5-4667-839b-f7ee6de5fd6b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5415ce79-a9af-46e0-8a16-025e01300a65",
"CreateDate": "2026-08-11T22:23:45.3108667-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:23:45.3108667-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": "ac8e29a7-d329-4c90-9b0a-41e0f366767d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f9880434-a355-4794-8802-4929dca8d182",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0169901a-f849-4cdc-aeaf-9016e2e402e1",
"CreateDate": "2026-08-11T22:23:45.3264926-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:23:45.3264926-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c4666723-49b3-4e9f-b5c7-2258a5638fef",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6c4a3712-2b72-4769-82ca-d27f9bcf9a1d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "aefaf7b8-f4f1-407e-804b-c220e07ec52e",
"CreateDate": "2026-08-11T22:23:45.3264926-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:23:45.3264926-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aa50b868-4fd7-4c78-ab2e-bcb5474818f7",
"FieldId": "f4576e0a-c36b-4629-b739-9246c02139c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aa50b868-4fd7-4c78-ab2e-bcb5474818f7",
"FieldId": "f4576e0a-c36b-4629-b739-9246c02139c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "278145ce-cf2f-46ad-b8de-0fe657e0bdef",
"CreateDate": "2026-08-11T22:23:45.3264926-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:23:45.3264926-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}