Requires any of the roles: | bookingsupplier-administrator-write, superadmin |
DELETE | /reports/booking/printout/{Id} | Delete booking printout report |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | query | Guid? | No | Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used |
Id | path | int | Yes | Report id |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | Report id |
Name | form | string | No | Report Name |
HeaderLeftCell | form | string | Yes | Report header left cell content |
HeaderMiddleCell | form | string | Yes | Report header middle cell content |
HeaderRightCell | form | string | Yes | Report header right cell content |
BodyCell | form | string | Yes | Report body cell content |
FooterLeftCell | form | string | Yes | Report footer left cell content |
FooterMiddleCell | form | string | Yes | Report footer middle cell content |
FooterRightCell | form | string | Yes | Report footer right cell content |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /reports/booking/printout/{Id} HTTP/1.1 Host: api.bokamera.se Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Id":0,"Name":"String","HeaderLeftCell":"String","HeaderMiddleCell":"String","HeaderRightCell":"String","BodyCell":"String","FooterLeftCell":"String","FooterMiddleCell":"String","FooterRightCell":"String"}