Last Updated: May 05, 2016
Updating trending action type values
The API provides functionality to update trending action type values.
Request
[ { "Id": 1, "Description": "SocialLike", "ImpactValue": 5.1 }, { "Id": 2, "Description": "SocialShare", "ImpactValue": 2.1 }, { "Id": 3, "Description": "ShoppingCartItemIInsert", "ImpactValue": 3.0 }, { "Id": 4, "Description": "WishlistItemInsert", "ImpactValue": 4.0 }, { "Id": 5, "Description": "ItemView", "ImpactValue": 5.0 } ]
HTTP Method | Resource URI |
---|---|
PUT | https://{tenantName}.api.xomni.com/management/configuration/tenantactiontypes |
Request Body Description
Parameter Name | Description | Type | Conditions |
---|---|---|---|
[0..N].Id | The unique ID of the trending action type. | Number | |
[0..N].Description | Description of the trending action type. | String | |
[0..N].ImpactValue | Impact value of the trending action type. | Number |
Request Headers
Header Field Name | Description |
---|---|
Content-Type |
Content type of the response entity. The value of this header is always application/json.
|
Authorization |
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da
|
Accept |
Includes minor version header.
Sample: application/vnd.xomni.api-v4-1, */*
|
Response
[ { "Id": 1, "Description": "SocialLike", "ImpactValue": 5.1 }, { "Id": 2, "Description": "SocialShare", "ImpactValue": 2.1 }, { "Id": 3, "Description": "ShoppingCartItemIInsert", "ImpactValue": 3.0 }, { "Id": 4, "Description": "WishlistItemInsert", "ImpactValue": 4.0 }, { "Id": 5, "Description": "ItemView", "ImpactValue": 5.0 } ]
Response Body Description
Parameter Name | Description | Type |
---|---|---|
[0..N].Id | The unique ID of the trending action type. | Number |
[0..N].Description | Description of the trending action type. | String |
[0..N].ImpactValue | Impact value of the trending action type. | Number |
Response Headers
Header Field Name | Description |
---|---|
Content-Type |
Content type of the response entity. The value of this header is always application/json.
|
Status Codes
A successful operation returns status code 200 (OK) for PUT operations. Possible response status codes are as listed below:
Status Code | Description |
---|---|
400 (Bad Request) | Given setting values are inconsistent. |