POST AssetGroups

Creates a new group.

Request Information

URI Parameters

None.

Body Parameters

The group to create. AssetGroupId should not be filled in.

AssetGroup
NameDescriptionTypeAdditional information
AssetGroupId

globally unique identifier

None.

Name

string

None.

Description

string

None.

ParentGroup

AssetGroup

None.

DisplayOrder

integer

None.

FormValueNeededDate

date

None.

MeasurementValueNeededDate

date

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

CreateMachine

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

LastModifiedMachine

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetGroupId": "c25c6bbf-919c-4bbd-bb61-19d1f1200910",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "ParentGroup": null,
  "DisplayOrder": 1,
  "FormValueNeededDate": "2021-04-17T07:29:47.6427959-07:00",
  "MeasurementValueNeededDate": "2021-04-17T07:29:47.6427959-07:00",
  "SourceSystemId": "sample string 3",
  "CompanyId": "becb1209-a2eb-4380-94b9-d6274efbb791",
  "CreateDate": "2021-04-17T07:29:47.6427959-07:00",
  "CreateUser": "sample string 5",
  "CreateMachine": "sample string 6",
  "LastModifiedDate": "2021-04-17T07:29:47.6427959-07:00",
  "LastModifiedUser": "sample string 7",
  "LastModifiedMachine": "sample string 8"
}

Response Information

Resource Description

On success, the created group.

NameDescriptionTypeAdditional information
Data

AssetGroup

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetGroupId": "ffd40dcb-9859-4a02-a59a-c9b3de3b8b3c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2021-04-17T07:29:47.6427959-07:00",
    "MeasurementValueNeededDate": "2021-04-17T07:29:47.6427959-07:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "1ade56a1-ec16-46ff-a340-aae0a772e586",
    "CreateDate": "2021-04-17T07:29:47.6427959-07:00",
    "CreateUser": "sample string 5",
    "CreateMachine": "sample string 6",
    "LastModifiedDate": "2021-04-17T07:29:47.6427959-07:00",
    "LastModifiedUser": "sample string 7",
    "LastModifiedMachine": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}