| GET | /ClientStatements | Gets client files based on the supplied criteria. | Gets the avaialbe client files of the currently logged in user. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StartDate | query | DateTime | No | StartDate |
| EndDate | query | DateTime | No | EndDate |
| PageSize | query | int | No | PageSize |
| Index | query | int | No | Index |
| SortOrder | query | int | No | SortOrder |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /ClientStatements HTTP/1.1 Host: ios-api.betright.com.au Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"ClientFileId":0,"ClientId":0,"FileName":"String","CreatedDateUtc":"\/Date(-62135596800000)\/"}]