POST Properties

Creates a new property.

Request Information

URI Parameters

None.

Body Parameters

Property to be created. PropertyId should not be filled in.

Property
NameDescriptionTypeAdditional information
PropertyId

globally unique identifier

None.

Asset

Asset

None.

ValueText

string

None.

DisplayText

string

None.

PropertyType

PropertyType

None.

IsValid

boolean

None.

IsValidMessage

string

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:
{
  "PropertyId": "41c8940a-2b1f-4f4d-a488-813cdcc1d020",
  "Asset": {
    "AssetId": "7b5274d1-1093-4c12-8d3b-0c051835d91f",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "89828b44-0544-436b-801a-f5f8893c4b51",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "41dc4b8c-eaab-495e-83aa-b3a75ad5f127",
      "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "9ba048b5-8770-41a6-9a28-7227842583b6",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
      "MeasurementValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "45d205bf-70fd-47e4-b0fc-fb79793ddf32",
      "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
    "MeasurementValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "b687d189-052a-4edf-b937-a1cea486eb74",
    "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "ValueText": "sample string 1",
  "DisplayText": "sample string 2",
  "PropertyType": {
    "PropertyTypeId": "45aaf30a-92c7-42d2-9410-da0afd0055c9",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "89828b44-0544-436b-801a-f5f8893c4b51",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "41dc4b8c-eaab-495e-83aa-b3a75ad5f127",
      "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "DataType": {
      "DataTypeId": "387964dc-134c-4a82-8155-6ccad03def46",
      "Name": "sample string 1"
    },
    "Unit": {
      "UnitId": "7dbd1a08-3916-4402-a8a7-470dba7f266f",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "SourceSystemId": "sample string 3",
      "CompanyId": "ee610caf-3f23-428d-886e-1e62af2d8ef6",
      "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "MinValue": 1.0,
    "MaxValue": 1.0,
    "MinLength": 1,
    "MaxLength": 1,
    "HasValidValues": true,
    "ValidValues": [
      {
        "ValidValueId": "03068330-0e64-433a-b733-264b4a68c075",
        "FieldId": "37cb9cbe-b542-40c2-8642-932eb2bc73f2",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      },
      {
        "ValidValueId": "03068330-0e64-433a-b733-264b4a68c075",
        "FieldId": "37cb9cbe-b542-40c2-8642-932eb2bc73f2",
        "FieldName": "sample string 1",
        "FieldLabel": "sample string 2",
        "ValueText": "sample string 3",
        "LabelText": "sample string 4"
      }
    ],
    "SourceSystemId": "sample string 4",
    "CompanyId": "228683a5-6445-47db-b8b4-288de37bd6e6",
    "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "IsValid": true,
  "IsValidMessage": "sample string 4",
  "SourceSystemId": "sample string 5",
  "CompanyId": "236edac4-2ae9-43e1-bbf6-f67b6956a5e8",
  "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
  "LastModifiedUser": "sample string 8"
}

Response Information

Resource Description

On success, the created property.

NameDescriptionTypeAdditional information
Data

Property

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "PropertyId": "c4d05b4a-8d70-4bea-94c6-aaf3388c6a81",
    "Asset": {
      "AssetId": "f3fef3e8-8f5b-4f1f-a523-075b7f833fc4",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "AssetType": {
        "AssetTypeId": "894a0daf-9fc3-4ec1-a477-07463466edfd",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "d4122847-4d30-4095-8c28-c82edc2a805c",
        "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "AssetGroup": {
        "AssetGroupId": "1178553d-8277-4e25-a932-f7fd2cda961d",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
        "MeasurementValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "08994fc4-5298-484b-9761-54d4260e140f",
        "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "ParentAsset": null,
      "Location": "sample string 3",
      "Barcode": {
        "Format": 0,
        "Code": "sample string 1"
      },
      "FormValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
      "MeasurementValueNeededDate": "2024-12-09T02:33:35.9600134-08:00",
      "HasChildren": true,
      "SourceSystemId": "sample string 5",
      "CompanyId": "7f452cae-a9b9-4e1b-967a-bcc22b9af4c6",
      "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "ValueText": "sample string 1",
    "DisplayText": "sample string 2",
    "PropertyType": {
      "PropertyTypeId": "fa7ad5c1-221d-4b3c-8ba5-a718176f8f6e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "AssetType": {
        "AssetTypeId": "894a0daf-9fc3-4ec1-a477-07463466edfd",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "DisplayColor": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "d4122847-4d30-4095-8c28-c82edc2a805c",
        "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "DataType": {
        "DataTypeId": "5d057a31-ce28-4d2c-ac32-4853cbe307d8",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "c4323bc8-3e1a-462e-bc24-830418749503",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "9e124069-09cf-4214-8344-ea883628eb6e",
        "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        {
          "ValidValueId": "366460da-4434-4307-b0fd-73cb3f02528d",
          "FieldId": "85d23a33-4193-46d2-a0e5-7f863d2303f5",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        },
        {
          "ValidValueId": "366460da-4434-4307-b0fd-73cb3f02528d",
          "FieldId": "85d23a33-4193-46d2-a0e5-7f863d2303f5",
          "FieldName": "sample string 1",
          "FieldLabel": "sample string 2",
          "ValueText": "sample string 3",
          "LabelText": "sample string 4"
        }
      ],
      "SourceSystemId": "sample string 4",
      "CompanyId": "4cc2cd20-b2c8-47a1-b900-c6a027bd3cc3",
      "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "IsValid": true,
    "IsValidMessage": "sample string 4",
    "SourceSystemId": "sample string 5",
    "CompanyId": "ddf09239-83ff-4c7d-baf6-b8bf1ac9f8a4",
    "CreateDate": "2024-12-09T02:33:35.9600134-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-09T02:33:35.9600134-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}