POST api/UserPreferences/SaveUserAssetConfig

Saves the asset configuration for a user.

Request Information

URI Parameters

None.

Body Parameters

user's asset configuration.

UserAssetConfigDto
NameDescriptionTypeAdditional information
Email

string

None.

UserId

globally unique identifier

None.

AssetId

globally unique identifier

None.

Config

string

None.

PageRef

string

String length: inclusive between 0 and 250

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "UserId": "369b213a-99b2-43d6-a21e-26e308a92401",
  "AssetId": "bf680c70-769b-48c8-8f05-a54cf1248662",
  "Config": "sample string 4",
  "PageRef": "sample string 5"
}

application/xml, text/xml

Sample:
<UserAssetConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.User">
  <AssetId>bf680c70-769b-48c8-8f05-a54cf1248662</AssetId>
  <Config>sample string 4</Config>
  <Email>sample string 1</Email>
  <PageRef>sample string 5</PageRef>
  <UserId>369b213a-99b2-43d6-a21e-26e308a92401</UserId>
</UserAssetConfigDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

operation result.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.