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": "557966ed-8af7-49f5-a750-543ba48197d0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1ba334c5-4cef-45ae-b6c8-c73177fb8010",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "87dd92b6-f797-4f27-bb5a-0bc22fc98d4b",
"CreateDate": "2026-08-17T16:00:32.5132176-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T16:00:32.5132176-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d12af8ad-9868-49f0-9177-1ed139587367",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dcd4f89b-1b2f-46f1-92e6-210a439d0d5d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "79253410-7e80-4e60-b3b1-a896d9204e77",
"CreateDate": "2026-08-17T16:00:32.5132176-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T16:00:32.5132176-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b4666d8a-cb86-4ac4-a57e-191f656dda47",
"FieldId": "811b69b8-8ef9-44b0-84ec-012fcd204d3f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b4666d8a-cb86-4ac4-a57e-191f656dda47",
"FieldId": "811b69b8-8ef9-44b0-84ec-012fcd204d3f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5af7d6e1-52ed-496c-b536-063d0d82883b",
"CreateDate": "2026-08-17T16:00:32.5132176-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T16:00:32.5132176-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": "80d65a47-fb4d-4981-b1bd-0f86af2e1f2d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2d64a15e-e284-47d7-bdaf-596187d8ca64",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7dd5dc2-0209-41cc-be7e-577c6b36d61b",
"CreateDate": "2026-08-17T16:00:32.5132176-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-17T16:00:32.5132176-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "50923815-d60f-495b-b297-dd08ff115b1d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a5b3b46e-c1d8-4589-831c-aacbdf59897e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1d3f49ee-3488-4730-ae81-43874b1861f9",
"CreateDate": "2026-08-17T16:00:32.5132176-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-17T16:00:32.5132176-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ab24f16-0499-4409-8e42-bb904a379bc4",
"FieldId": "8956ec26-3f74-4057-bf94-81ce0275f89f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ab24f16-0499-4409-8e42-bb904a379bc4",
"FieldId": "8956ec26-3f74-4057-bf94-81ce0275f89f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b47869e2-c570-4a4a-928b-fec2db15cf8a",
"CreateDate": "2026-08-17T16:00:32.5132176-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-17T16:00:32.5132176-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}