GET api/addtocart/redirect?Product={Product}&Org={Org}&Action={Action}&RefererId={RefererId}&Qty={Qty}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Product | string |
None. |
|
Org | string |
None. |
|
Action | string |
None. |
|
RefererId | string |
None. |
|
Qty | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Ok | boolean |
None. |
|
Errors | Collection of Error |
None. |
|
Data | boolean |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": true, "Ok": false, "Errors": [ { "Id": "sample string 1", "Entity": "sample string 2", "Message": "sample string 3" }, { "Id": "sample string 1", "Entity": "sample string 2", "Message": "sample string 3" } ], "Data": true, "Message": "sample string 3,sample string 3" }
application/xml, text/xml
Sample:
<ResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/jblCommonUtilities.SharedModels"> <Data>true</Data> <Error>true</Error> <Errors> <Error> <Entity>sample string 2</Entity> <Id>sample string 1</Id> <Message>sample string 3</Message> </Error> <Error> <Entity>sample string 2</Entity> <Id>sample string 1</Id> <Message>sample string 3</Message> </Error> </Errors> <Message>sample string 3,sample string 3</Message> <Ok>false</Ok> </ResultOfboolean>