To override the Content-type in your clients, use the 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/GetAllAttachmentData HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/json
Content-Length: length
{"UserID":"String","ConfigID":"String","SearchParamCollection":[{"FieldID":"String","FieldName":"String","FieldValue":{},"Operator":"String","FieldType":0,"UseMultiSelect":false,"IsSearchAsTextbox":false,"IsTransactionDetailSearch":false,"IsSubTransactionDetailSearch":false,"SecondDateRangeValue":"String"}],"AttachmentParamCollection":[{"FieldID":"String","FieldName":"String","FieldValue":{},"Operator":"String","FieldType":0,"UseMultiSelect":false,"IsSearchAsTextbox":false,"IsTransactionDetailSearch":false,"IsSubTransactionDetailSearch":false,"SecondDateRangeValue":"String"}],"IsfromAttachfilter":false,"AttachmentOption":"String","SessionID":"String","AttachmentID":0,"LocationID":"String","SiteID":"String","take":0,"skip":0,"attachmentExactMatch":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"AttachmentData":[{"String":{}}],"ColumnCollection":[{"field":"String","command":"String","selectable":false,"title":"String","template":"String","format":"String","decimals":0,"headerTemplate":"String","locked":false,"lockable":false,"sortable":false,"IsInlineEditWF":false,"filterable":false,"valueList":false,"UseMultiSelect":false,"Disable":false,"Required":false,"editor":"String","type":"String","TableType":"String","width":200,"FieldDataSource":[{"String":{}}],"expandable":false,"FieldId":0,"ValueListType":0,"IsEditable":false,"AssetMappedFieldID":0,"IsMaxLength":false,"MaxLengthCount":0,"TextLength":0}]}