September 9, 2018 at 7:26 am
Hello,
I'm always get Bad Request (400) when I try to create a KPI.
I tried to post a request using the following URLs:
http://mah-lt/Reports2017/api/v2.0/catalogitems
or
http://mah-lt/Reports2017/api/v2.0/api
BODY:
{
"Name": "New KPI 2",
"Description": "",
"Path": "/KPIs/New KPI 2",
"Hidden": false,
"@odata.type": "#Model.Kpi",
"Values": {
"@odata.type": "#Model.KpiValues",
"Value": "836217"
},
"Data": {
"Goal": null,
"Status": null,
"Value": {
"Type": "0",
"@odata.type": "#Model.KpiStaticDataItem",
"Value": "836217"
},
"TrendSet": null
},
"Currency": null,
"ValueFormat": "General",
"Visualization": "Bar",
"DrillthroughTarget": null
}
Always get 400 response. any suggestions ?
September 11, 2018 at 1:51 pm
This isn't a web support forum. It's a SQL Server forum. Not everyone here will know much about html and/or web configurations and settings. While you know what "post a request" means, many here will not. You'll be far better off using stackoverflow.com for this kind of question.
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
September 18, 2018 at 9:00 am
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply