TM1 Rest API - tm1.Execute return 278 error
Posted: Mon Jun 17, 2019 4:09 am
I recently started learning REST and been going through IBM Planning Analytics TM1 REST API pdf file.
I run following request in Postman and receive 278 error.
POST /api/v1/Cubes('Metrics cube-Sales')/Views('Metrics cube-Sales')/tm1.Execute?$expand=Cells
While GET /api/v1/Cubes('Metrics cube-Sales')/Views('Metrics cube-Sales') returns result.
Any idea where has gone wrong?
Thanks in advance.
TM1 PA2.0.6
I run following request in Postman and receive 278 error.
POST /api/v1/Cubes('Metrics cube-Sales')/Views('Metrics cube-Sales')/tm1.Execute?$expand=Cells
Code: Select all
{
"error": {
"code": "278",
"message": "The content type specified is not supported. Please use JSON (application/json; charset=utf-8) as the content type."
}
}
Any idea where has gone wrong?
Thanks in advance.
TM1 PA2.0.6