The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/QueryTopSellingProductsBookings HTTP/1.1
Host: www.bernhardt.com
Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Content-Length: length
{"search":"String","id":"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":[{"orderNumber":"String","invoiceNumber":"String","poNumber":"String","productId":"String","mfgNumber":"String","description":"String","upcCode":"String","retailerId":"String","shipName":"String","vendorId":"String","vendorName":"String","categoryId":"String","categoryDescription":"String","subCategoryId":"String","subCategoryName":"String","orderStatus":"String","lineStatus":"String","total":0,"qty":0,"qtyShipped":0,"qtyOpen":0,"invoiceLinesQty":0,"invoiceLinesQtyShipped":0,"orderDate":"0001-01-01T00:00:00.0000000Z","shipDate":"0001-01-01T00:00:00.0000000Z","invoiceDate":"0001-01-01T00:00:00.0000000Z","lastOrderDate":"0001-01-01T00:00:00.0000000Z","price":0}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}