- Home
- Resources
- Workbook templates API
Abstract class for REST webservices
GET /admin/reporttemplate/json
Get Workbook Templates from templates repository.
Response Body
media type |
data type |
description |
application/json |
object
|
JSON Response with Workbook templates information
Example of response:
{"list":[{"type":"Pdf","classId":"130","className":"hdv_h3_struct","classLabel":"Anlaggning","id":0,"headerIndex":0,"name":"Blue expense report1.xlsx"},{"type":"Xls","classId":"461","className":"equipment","classLabel":"Equipment","id":0,"headerIndex":0,"name":"simple1111test.xlsx"},{"type":"Pdf","classId":"102","className":"org3grp","classLabel":"Affärsomrade","id":0,"headerIndex":0,"name":"simple1111test.xlsx"}]}
|
POST /admin/reporttemplate/{id}
Request Parameters
name |
type |
description |
default |
constraints |
id |
path |
|
|
long |
Response Body
media type |
data type |
description |
application/json |
object
|
|
DELETE /admin/reporttemplate/{templateId}
delete Workbook Template from Workbook Template repository
Request Parameters
name |
type |
description |
default |
constraints |
templateId |
path |
- id of template |
|
long |
Response Body
media type |
data type |
description |
application/json |
object
|
JSON Response with the information, whether operation has been
succeeded. |
GET /admin/reporttemplate/{templateId}
Get binary representation of given Workbook Template
Request Parameters
name |
type |
description |
default |
constraints |
templateId |
path |
- id of template |
|
long |
Response Body
media type |
data type |
description |
*/* |
object
|
Binary representation of workbook template |