Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Operation

listCurrentOrders
CurrentOrderSummaryReport listCurrentOrders ( Set<String>betIds,Set<String>marketIds, OrderProjection orderProjection, TimeRange placedDateRange, OrderBy orderBy, SortDir sortDir,intfromRecord,intrecordCount ) throws APINGException

Returns a list of your current orders. Optionally you can filter and sort your current orders using the various parameters, setting none of the parameters will return all of your current orders, up to a maximum of 1000 bets, ordered BY_BET and sorted EARLIEST_TO_LATEST. To retrieve more than 1000 orders, you need to make use of the fromRecord and recordCount parameters.

Parameter name

Type

Required

Description

betIds

Set<String>

 

Optionally restricts the results to the specified bet IDs.

marketIds

Set<String>

 

Optionally restricts the results to the specified market IDs.

orderProjection

OrderProjection

 

Optionally restricts the results to the specified order status.

placedDateRange

TimeRange

 

Optionally restricts the results to be from/to the specified placed date. This date is inclusive, i.e. if an order was placed on exactly this date (to the millisecond) then it will be included in the results. If the from is later than the to, no results will be returned.

orderBy

OrderBy

 

Specifies how the results will be ordered. If no value is passed in, it defaults to BY_BET.

sortDir

SortDir

 

Specifies the direction the results will be sorted in. If no value is passed in, it defaults to EARLIEST_TO_LATEST.

fromRecord

int

 

Specifies the first record that will be returned. Records start at index zero, not at index one.

recordCount

int

 

Specifies how many records will be returned, from the index position 'fromRecord'. Note that there is a page size limit of 1000. A value of zero indicates that you would like all records (including and from 'fromRecord') up to the limit.

Return type

Description

CurrentOrderSummaryReport

 

Throws

Description

APINGException

Generic exception that is thrown if this operation fails for any reason.

Since 1.0.0

  • No labels