post Articles Sale
POST {{HostName}}/csh/v1/hotels/{{HotelId}}/articlesSale
You can use this API to create Articles Sale.
OperationId:postArticlesSale
Request Body
{"criteria"=>{"payments"=>[{"paymentMethod"=>{"paymentMethod"=>"CA", "folioView"=>"1"}, "applyCCSurcharge"=>false, "folioWindowNo"=>"1"}], "fiscalFolioInfo"=>{"folioQueueName"=>{"folioType"=>"FACTURA A", "queueName"=>"FATTURA", "generateFiscalFolio"=>false}}, "cashierId"=>"13", "hotelId"=>"{{HotelId}}", "charges"=>[{"transactionCode"=>"2150", "articleCode"=>"2000", "price"=>{"amount"=>"200", "currencyCode"=>"ARS"}, "postingQuantity"=>1, "postingReference"=>" ", "folioWindowNo"=>"1"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string | ||
x-externalsystem | string |