GET api/addtocart/response?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
ResultOfAddToCartResponseName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Ok | boolean |
None. |
|
Errors | Collection of Error |
None. |
|
Data | AddToCartResponse |
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": { "Url": "sample string 1" }, "Message": "sample string 3,sample string 3" }
application/xml, text/xml
Sample:
<ResultOfAddToCartResponse8_PrHgMTv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/jblCommonUtilities.SharedModels"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PSG_API.Model.Models"> <d2p1:Url>sample string 1</d2p1:Url> </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> </ResultOfAddToCartResponse8_PrHgMTv>