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/BefattningDtoBatch HTTP/1.1
Host: scanning.modernekonomi.se
Content-Type: application/json
Content-Length: length
{"Items":[{"Id":0,"User":{"Id":0,"UserName":"String","FullName":"String","UniqueId":"00000000-0000-0000-0000-000000000000","Email":"String"},"Permissions":[0],"FromDate":"0001-01-01T00:00:00.0000000","ToDate":"0001-01-01T00:00:00.0000000","RestrictedSearchSettings":{"SupplierList":["String"],"AccountList":["String"],"ProjectList":["String"],"CostCenterList":["String"],"Object3List":["String"],"OnlyFinallyAttested":false,"AccessLevel":"Normal"}}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Items":[{"Id":0,"User":{"Id":0,"UserName":"String","FullName":"String","UniqueId":"00000000-0000-0000-0000-000000000000","Email":"String"},"Permissions":[0],"FromDate":"0001-01-01T00:00:00.0000000","ToDate":"0001-01-01T00:00:00.0000000","RestrictedSearchSettings":{"SupplierList":["String"],"AccountList":["String"],"ProjectList":["String"],"CostCenterList":["String"],"Object3List":["String"],"OnlyFinallyAttested":false,"AccessLevel":"Normal"}}]}