The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/CheckPromotions HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length
{"cartId":"String","skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length
{"offset":0,"total":0,"results":[{"strPromotionCode":"String","strPromotionDesc":"String","dblQualifyAmount":0,"strPromotionType":"String","strRewardType":"String","strDiscountFrom":"String","strFreeProduct":"String","dblDiscountPercent":0,"dblDiscountDollar":0,"strSpecialTerm":"String","strNote":"String","dtmStartDate":"0001-01-01T00:00:00.0000000Z","dtmEndDate":"0001-01-01T00:00:00.0000000Z","dtmShipBefore":"0001-01-01T00:00:00.0000000Z","strProductLineID":"String","strCategory":"String","strSubCategory":"String","strProductID":"String","ysnApplyWholeOrder":false,"strWarehouse":"String","dtmShipAfter":"0001-01-01T00:00:00.0000000Z","intNumShipDays":0,"strBrandID":"String","ysnMultipleOrders":false,"ysnSameShipDate":false,"ysnExistingTermQualifies":false,"ysnAllowCancelDate":false,"ysnIncludeInMultiOrder":false,"ysnAllowTermReplace":false,"ysnAllowDiscountReplace":false,"ysnReplaceDiscount":false,"ysnCombineDiscount":false,"ysnNotAllowDiscountOnPriceTierItems":false,"curSalesPrice":0,"ysnRequireEmail":false,"intPriority":0,"strOrderSource":"String","strGeneratedFrom":"String","strAdvancedCriteria":"String","ysnDisplayOnCheckout":false,"strPriceList":"String","ysnOneTimeUse":false,"intQualifyQuantity":0,"dblMaxQualifyAmount":0,"status":"String","createdBy":"String"}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}