To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /json/reply/ChangeReportFiltersMetadata HTTP/1.1
Host: drt-racing.gr
Content-Type: application/json
Content-Length: length
{"filterName":"String","filters":[{"Name":"String","Description":"String","FieldName":"String","LinkName":"String","Kind":"String","DisplayAs":"String","Behaviour":"String","Operators":{"From":"String","To":"String","Value":"String"},"Required":false,"Visible":false,"Enable":false,"Hidden":false,"DataType":"String","PredefinedValues":{"From":{},"To":{},"Value":{}},"AcceptedValues":{"AcceptedValuesList":"String","DisplayField1":"String","DisplayField2":"String","KeyField":"String","IndexField":"String","ParentField":"String","SortFields":[{"Name":"String","Direction":"String"}],"LookupData":[{"String":{}}],"DisplayInfo":{"AutoSizeColumns":false,"Columns":[{"Name":"String","Description":"String","Width":0}]}},"AllowedOperators":["String"],"UseRange":false,"AllowNullState":false}],"ReportName":"String","DomainName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"Name":"String","Description":"String","FieldName":"String","LinkName":"String","Kind":"String","DisplayAs":"String","Behaviour":"String","Operators":{"From":"String","To":"String","Value":"String"},"Required":false,"Visible":false,"Enable":false,"Hidden":false,"DataType":"String","PredefinedValues":{"From":{},"To":{},"Value":{}},"AcceptedValues":{"AcceptedValuesList":"String","DisplayField1":"String","DisplayField2":"String","KeyField":"String","IndexField":"String","ParentField":"String","SortFields":[{"Name":"String","Direction":"String"}],"LookupData":[{"String":{}}],"DisplayInfo":{"AutoSizeColumns":false,"Columns":[{"Name":"String","Description":"String","Width":0}]}},"AllowedOperators":["String"],"UseRange":false,"AllowNullState":false}]