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": "6ee05658-e62a-43eb-9e49-d61dc7cc4906",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f17add80-c626-4655-a0e0-c27b26bd4929",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dc442ba6-d110-40c8-901e-53fe0ed106fc",
"CreateDate": "2026-07-13T01:35:31.2764591-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-13T01:35:31.2764591-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f48702d4-7785-4655-bb84-af6dbdbaf33c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bfd29c92-b193-4fef-881b-916a0c52864c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a10ad08c-cc60-4bc2-be34-e0d0c0dc376b",
"CreateDate": "2026-07-13T01:35:31.2764591-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T01:35:31.2764591-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "14d0cf04-f538-4937-8ceb-019f281deaa8",
"FieldId": "13c65f4e-1bed-4ab4-afb3-faa2281eeddb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "14d0cf04-f538-4937-8ceb-019f281deaa8",
"FieldId": "13c65f4e-1bed-4ab4-afb3-faa2281eeddb",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9a4e5c1a-a643-4efa-87b3-985fca3f08ac",
"CreateDate": "2026-07-13T01:35:31.2764591-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T01:35:31.2764591-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": "6451b2c9-b746-40e7-961c-701979a59c32",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "81cd90b9-f0ec-4086-bd23-3c1fa9b10223",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b4859ab9-bd1b-4bc3-939f-368956322053",
"CreateDate": "2026-07-13T01:35:31.2920801-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-13T01:35:31.2920801-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4f1d9937-4334-4080-a2cc-72e140b0f345",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4aaecffd-f69d-48af-a83c-1254e12acefe",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9aca6c6c-62ec-4b14-94d1-2a64c571d2a4",
"CreateDate": "2026-07-13T01:35:31.2920801-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T01:35:31.2920801-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6061b3e7-9447-41b8-bfa5-f1089dabf408",
"FieldId": "82250fd6-c007-4b6f-b95c-1ff0d2020f52",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6061b3e7-9447-41b8-bfa5-f1089dabf408",
"FieldId": "82250fd6-c007-4b6f-b95c-1ff0d2020f52",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "20efade0-b6bb-4ef8-a42e-28b46b7625a8",
"CreateDate": "2026-07-13T01:35:31.2920801-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T01:35:31.2920801-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}