POST /external/api/v3/review/addreactions
Add one or more review reactions.
Request Information
URI Parameters
None.
Body Parameters
AddReviewReactionsRequestName | Description | Type | Additional information | Nullable |
---|---|---|---|---|
Reactions | Collection of AddReviewReaction |
None |
False | |
DataFilters |
Filter on data. |
Collection of CustomerDataFilter |
None |
False |
Request Formats
application/json
Sample:
{ "Reactions": [ { "Reaction": "sample string 1", "CustomerId": 2 }, { "Reaction": "sample string 1", "CustomerId": 2 } ], "DataFilters": [ { "CustomerDataColumnId": 1, "Values": [ "sample string 1", "sample string 2" ] }, { "CustomerDataColumnId": 1, "Values": [ "sample string 1", "sample string 2" ] } ] }
application/xml
Sample:
<AddReviewReactionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.V1.Requests"> <DataFilters xmlns:d2p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.Models"> <d2p1:CustomerDataFilter> <d2p1:CustomerDataColumnId>1</d2p1:CustomerDataColumnId> <d2p1:Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:Values> </d2p1:CustomerDataFilter> <d2p1:CustomerDataFilter> <d2p1:CustomerDataColumnId>1</d2p1:CustomerDataColumnId> <d2p1:Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:Values> </d2p1:CustomerDataFilter> </DataFilters> <Reactions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Expoints.API.Extern.Models"> <d2p1:AddReviewReaction> <d2p1:CustomerId>2</d2p1:CustomerId> <d2p1:Reaction>sample string 1</d2p1:Reaction> </d2p1:AddReviewReaction> <d2p1:AddReviewReaction> <d2p1:CustomerId>2</d2p1:CustomerId> <d2p1:Reaction>sample string 1</d2p1:Reaction> </d2p1:AddReviewReaction> </Reactions> </AddReviewReactionsRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
Response Status Codes
Status Code | Name | Description |
---|---|---|
200 | OK | The request has succeeded. |
400 | Bad Request | Fulfilling the request would cause an invalid state. Request needs modification. |
401 | Unauthorized | Missing or invalid authentication token. |
403 | Forbidden | Server refuses to authorize the request. |
408 | Request Timeout | The server timed out waiting for the request. |
429 | Too Many Requests | Too many requests in a given amount of time. |
500 | Internal Server Error | The server encountered an unexpected condition which prevented it from fulfilling the request. |
503 | Service Unavailable | The server is unable to proces the request at the moment, try again later. |