| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfClientStatement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<ClientStatement>
<ClientFileId>0</ClientFileId>
<ClientId>0</ClientId>
<CreatedDateUtc>0001-01-01T00:00:00</CreatedDateUtc>
<FileName>String</FileName>
</ClientStatement>
</ArrayOfClientStatement>