POST api/Favorites/List
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CartResultName | Description | Type | Additional information |
---|---|---|---|
Products | Collection of CartProduct |
None. |
|
Errors | APIErrors |
None. |
Response Formats
application/json, text/json
Sample:
{ "Products": [ { "Quantity": 1, "ProductId": 2, "Code": "sample string 3", "Codart": "sample string 4", "DescriptionLong": "sample string 5", "DescriptionShort": "sample string 6", "ListId": 1, "Price": 1.0, "StockMin": 1.0, "StockMax": 1.0, "Stock": 1.0, "IVAIncluded": "sample string 7", "IVAPercent": 1.0, "DiscountPercent": 1.0, "Image": "sample string 8", "Pages": 9, "InHabilitado": 10, "Favoritos": 11, "DataSheet": "sample string 12", "Carrousel": [ "sample string 1", "sample string 2" ], "Links": [ "sample string 1", "sample string 2" ] }, { "Quantity": 1, "ProductId": 2, "Code": "sample string 3", "Codart": "sample string 4", "DescriptionLong": "sample string 5", "DescriptionShort": "sample string 6", "ListId": 1, "Price": 1.0, "StockMin": 1.0, "StockMax": 1.0, "Stock": 1.0, "IVAIncluded": "sample string 7", "IVAPercent": 1.0, "DiscountPercent": 1.0, "Image": "sample string 8", "Pages": 9, "InHabilitado": 10, "Favoritos": 11, "DataSheet": "sample string 12", "Carrousel": [ "sample string 1", "sample string 2" ], "Links": [ "sample string 1", "sample string 2" ] } ], "Errors": { "HasErrors": true, "ErrorList": [ { "Message": "sample string 1", "Source": "sample string 2" }, { "Message": "sample string 1", "Source": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<CartResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <Errors xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <ErrorList> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> </ErrorList> <HasErrors>true</HasErrors> </Errors> <Products> <CartProduct> <Carrousel xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Carrousel> <Codart>sample string 4</Codart> <Code>sample string 3</Code> <DataSheet>sample string 12</DataSheet> <DescriptionLong>sample string 5</DescriptionLong> <DescriptionShort>sample string 6</DescriptionShort> <DiscountPercent>1</DiscountPercent> <Favoritos>11</Favoritos> <IVAIncluded>sample string 7</IVAIncluded> <IVAPercent>1</IVAPercent> <Image>sample string 8</Image> <InHabilitado>10</InHabilitado> <Links xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Links> <ListId>1</ListId> <Pages>9</Pages> <Price>1</Price> <ProductId>2</ProductId> <Stock>1</Stock> <StockMax>1</StockMax> <StockMin>1</StockMin> <Quantity>1</Quantity> </CartProduct> <CartProduct> <Carrousel xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Carrousel> <Codart>sample string 4</Codart> <Code>sample string 3</Code> <DataSheet>sample string 12</DataSheet> <DescriptionLong>sample string 5</DescriptionLong> <DescriptionShort>sample string 6</DescriptionShort> <DiscountPercent>1</DiscountPercent> <Favoritos>11</Favoritos> <IVAIncluded>sample string 7</IVAIncluded> <IVAPercent>1</IVAPercent> <Image>sample string 8</Image> <InHabilitado>10</InHabilitado> <Links xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Links> <ListId>1</ListId> <Pages>9</Pages> <Price>1</Price> <ProductId>2</ProductId> <Stock>1</Stock> <StockMax>1</StockMax> <StockMin>1</StockMin> <Quantity>1</Quantity> </CartProduct> </Products> </CartResult>