| 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 | Yes | 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 .xml suffix or ?format=xml
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/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <PrintoutQueryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BokaMera.API.ServiceModel.Dtos"> <BodyCell>String</BodyCell> <FooterLeftCell>String</FooterLeftCell> <FooterMiddleCell>String</FooterMiddleCell> <FooterRightCell>String</FooterRightCell> <HeaderLeftCell>String</HeaderLeftCell> <HeaderMiddleCell>String</HeaderMiddleCell> <HeaderRightCell>String</HeaderRightCell> <Id>0</Id> <Name>String</Name> </PrintoutQueryResponse>