POST Profiles

Creates a new profile.

Request Information

URI Parameters

None.

Body Parameters

Profile to be created. ProfileId should not be filled in.

Profile
NameDescriptionTypeAdditional information
ProfileId

globally unique identifier

None.

Name

string

None.

Description

string

None.

Users

Collection of User

None.

AssetGroups

Collection of AssetGroup

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:
{
  "ProfileId": "8421c058-9ba1-437d-a81b-46170e365aea",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Users": [
    {
      "UserId": "dbe24c6c-0462-4a62-a3e5-866fe180f0d2",
      "UserName": "sample string 1",
      "FullName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "IsLockedOut": true,
      "IsApproved": true,
      "Role": {
        "Name": "sample string 1",
        "Description": "sample string 2"
      },
      "CompanyId": "629f9306-f3d5-4bd5-886e-3574cce1f047",
      "Profiles": []
    },
    {
      "UserId": "dbe24c6c-0462-4a62-a3e5-866fe180f0d2",
      "UserName": "sample string 1",
      "FullName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "IsLockedOut": true,
      "IsApproved": true,
      "Role": {
        "Name": "sample string 1",
        "Description": "sample string 2"
      },
      "CompanyId": "629f9306-f3d5-4bd5-886e-3574cce1f047",
      "Profiles": []
    }
  ],
  "AssetGroups": [
    {
      "AssetGroupId": "ddf24b2d-a7c2-40f0-9f9a-6a6e4b0e420c",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "a69232ca-1fae-468a-a188-c430aadedf9a",
      "CreateDate": "2021-04-17T06:29:48.3138602-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T06:29:48.3138602-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    },
    {
      "AssetGroupId": "ddf24b2d-a7c2-40f0-9f9a-6a6e4b0e420c",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
      "MeasurementValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "a69232ca-1fae-468a-a188-c430aadedf9a",
      "CreateDate": "2021-04-17T06:29:48.3138602-07:00",
      "CreateUser": "sample string 5",
      "CreateMachine": "sample string 6",
      "LastModifiedDate": "2021-04-17T06:29:48.3138602-07:00",
      "LastModifiedUser": "sample string 7",
      "LastModifiedMachine": "sample string 8"
    }
  ],
  "SourceSystemId": "sample string 3",
  "CompanyId": "79334bdd-25c9-41e5-9e6b-472b28910e77",
  "CreateDate": "2021-04-17T06:29:48.3138602-07:00",
  "CreateUser": "sample string 5",
  "CreateMachine": "sample string 6",
  "LastModifiedDate": "2021-04-17T06:29:48.3138602-07:00",
  "LastModifiedUser": "sample string 7",
  "LastModifiedMachine": "sample string 8"
}

Response Information

Resource Description

On success, the created profile.

NameDescriptionTypeAdditional information
Data

Profile

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "ProfileId": "6cee849e-b523-4e14-8e86-92bc2367623b",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "Users": [
      {
        "UserId": "c66920b6-6eb0-4890-9eeb-279be87e9796",
        "UserName": "sample string 1",
        "FullName": "sample string 2",
        "PhoneNumber": "sample string 3",
        "Email": "sample string 4",
        "IsLockedOut": true,
        "IsApproved": true,
        "Role": {
          "Name": "sample string 1",
          "Description": "sample string 2"
        },
        "CompanyId": "2755e6a1-3c45-4735-a894-4135c9159a1e",
        "Profiles": []
      },
      {
        "UserId": "c66920b6-6eb0-4890-9eeb-279be87e9796",
        "UserName": "sample string 1",
        "FullName": "sample string 2",
        "PhoneNumber": "sample string 3",
        "Email": "sample string 4",
        "IsLockedOut": true,
        "IsApproved": true,
        "Role": {
          "Name": "sample string 1",
          "Description": "sample string 2"
        },
        "CompanyId": "2755e6a1-3c45-4735-a894-4135c9159a1e",
        "Profiles": []
      }
    ],
    "AssetGroups": [
      {
        "AssetGroupId": "f1561c02-7d4b-46fd-a454-ea08c1b88ef2",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
        "MeasurementValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "6ed6b762-ec8f-4dde-8edf-deb271825b44",
        "CreateDate": "2021-04-17T06:29:48.3138602-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:29:48.3138602-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      },
      {
        "AssetGroupId": "f1561c02-7d4b-46fd-a454-ea08c1b88ef2",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "ParentGroup": null,
        "DisplayOrder": 1,
        "FormValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
        "MeasurementValueNeededDate": "2021-04-17T06:29:48.3138602-07:00",
        "SourceSystemId": "sample string 3",
        "CompanyId": "6ed6b762-ec8f-4dde-8edf-deb271825b44",
        "CreateDate": "2021-04-17T06:29:48.3138602-07:00",
        "CreateUser": "sample string 5",
        "CreateMachine": "sample string 6",
        "LastModifiedDate": "2021-04-17T06:29:48.3138602-07:00",
        "LastModifiedUser": "sample string 7",
        "LastModifiedMachine": "sample string 8"
      }
    ],
    "SourceSystemId": "sample string 3",
    "CompanyId": "e91ffe1d-36d2-49d8-99cb-dd9469531dee",
    "CreateDate": "2021-04-17T06:29:48.3138602-07:00",
    "CreateUser": "sample string 5",
    "CreateMachine": "sample string 6",
    "LastModifiedDate": "2021-04-17T06:29:48.3138602-07:00",
    "LastModifiedUser": "sample string 7",
    "LastModifiedMachine": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}