ParlayLegResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
status | ParlayLegResponseStatus | ❌ | Status of the request. |
error_code | ParlayLegResponseErrorCode | ❌ | When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem. CANNOT_PARLAY_LIVE_GAME = The wager is placed on Live game, CORRELATED = The leg is correlated with another one, EVENT_NO_LONGER_AVAILABLE_FOR_BETTING = The event is no longer offered, EVENT_NOT_OFFERED_FOR_PARLAY = The event is not offered for parlaying, INVALID_EVENT = Live betting is not allowed at this moment, INVALID_LEG_BET_TYPE = Leg bet type is not accepted for parlaying. Accepted values are SPREAD, MONEYLINE, TOTAL_POINTS, INVALID_PARLAY_BET = The leg did not validated due to error on Parlay Bet. Check the error PlaceParlayBet response for error details, LINE_CHANGED = Bet is submitted on a line that has changed, LINE_DOES_NOT_BELONG_TO_EVENT = LineId does not match the EventId specified in the request, LISTED_PITCHERS_SELECTION_ERROR = If bet was submitted with pitcher1MustStart and/or pitcher2MustStart parameters with values that are not allowed, ODDS_NO_LONGER_OFFERED_FOR_PARLAY_1 = Due to line change odds are not offered for parlaying, ODDS_NO_LONGER_OFFERED_FOR_PARLAY_2 = Due to line change odds are not offered for parlaying, ODDS_NO_LONGER_OFFERED_FOR_PARLAY_3 = Due to line change odds are not offered for parlaying, OFFLINE_EVENT = Bet is submitted on an event that is offline or with incorrect lineId, PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time, SYSTEM_ERROR_1 = Unexpected error, SYSTEM_ERROR_2 = Unexpected error, SYSTEM_ERROR_3 = Unexpected error, LINE_IS_NOT_AVAILABLE = Line is not available for the specified Parlay Leg, PERIOD_IS_DISALLOWED_FOR_SAME_GAME_PARLAY = Period is not allowed to be parlayed on a same event, BETTING_SUSPENDED - Due to anomalous market circumstances bets are not currently being accepted on this line. Try again with next LineId. |
leg_id | str | ❌ | Echo of the legId from the request. |
line_id | int | ❌ | Line identification that bet was placed on. |
alt_line_id | int | ❌ | If bet was accepted on alternate line, the altLineId will be returned. |
price | float | ❌ | Price that the bet was placed on. |
correlated_legs | List[str] | ❌ | If errorCode is CORRELATED will contain legIds of all correlated legs. |
ParlayLegResponseStatus
Status of the request.
Properties
Name | Type | Required | Description |
---|---|---|---|
PROCESSED_WITH_ERROR | str | ✅ | "PROCESSED_WITH_ERROR" |
VALID | str | ✅ | "VALID" |
ParlayLegResponseErrorCode
When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.
CANNOT_PARLAY_LIVE_GAME = The wager is placed on Live game,
CORRELATED = The leg is correlated with another one,
EVENT_NO_LONGER_AVAILABLE_FOR_BETTING = The event is no longer offered,
EVENT_NOT_OFFERED_FOR_PARLAY = The event is not offered for parlaying,
INVALID_EVENT = Live betting is not allowed at this moment,
INVALID_LEG_BET_TYPE = Leg bet type is not accepted for parlaying. Accepted values are SPREAD, MONEYLINE, TOTAL_POINTS,
INVALID_PARLAY_BET = The leg did not validated due to error on Parlay Bet. Check the error PlaceParlayBet response for error details,
LINE_CHANGED = Bet is submitted on a line that has changed,
LINE_DOES_NOT_BELONG_TO_EVENT = LineId does not match the EventId specified in the request,
LISTED_PITCHERS_SELECTION_ERROR = If bet was submitted with pitcher1MustStart and/or pitcher2MustStart parameters with values that are not allowed,
ODDS_NO_LONGER_OFFERED_FOR_PARLAY_1 = Due to line change odds are not offered for parlaying,
ODDS_NO_LONGER_OFFERED_FOR_PARLAY_2 = Due to line change odds are not offered for parlaying,
ODDS_NO_LONGER_OFFERED_FOR_PARLAY_3 = Due to line change odds are not offered for parlaying,
OFFLINE_EVENT = Bet is submitted on an event that is offline or with incorrect lineId,
PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time,
SYSTEM_ERROR_1 = Unexpected error,
SYSTEM_ERROR_2 = Unexpected error,
SYSTEM_ERROR_3 = Unexpected error,
LINE_IS_NOT_AVAILABLE = Line is not available for the specified Parlay Leg,
PERIOD_IS_DISALLOWED_FOR_SAME_GAME_PARLAY = Period is not allowed to be parlayed on a same event,
BETTING_SUSPENDED - Due to anomalous market circumstances bets are not currently being accepted on this line. Try again with next LineId.
Properties
Name | Type | Required | Description |
---|---|---|---|
CANNOT_PARLAY_LIVE_GAME | str | ✅ | "CANNOT_PARLAY_LIVE_GAME" |
CORRELATED | str | ✅ | "CORRELATED" |
EVENT_NO_LONGER_AVAILABLE_FOR_BETTING | str | ✅ | "EVENT_NO_LONGER_AVAILABLE_FOR_BETTING" |
EVENT_NOT_OFFERED_FOR_PARLAY | str | ✅ | "EVENT_NOT_OFFERED_FOR_PARLAY" |
INVALID_EVENT | str | ✅ | "INVALID_EVENT" |
INVALID_LEG_BET_TYPE | str | ✅ | "INVALID_LEG_BET_TYPE" |
INVALID_PARLAY_BET | str | ✅ | "INVALID_PARLAY_BET" |
LINE_CHANGED | str | ✅ | "LINE_CHANGED" |
LINE_DOES_NOT_BELONG_TO_EVENT | str | ✅ | "LINE_DOES_NOT_BELONG_TO_EVENT" |
ODDS_NO_LONGER_OFFERED_FOR_PARLAY_1 | str | ✅ | "ODDS_NO_LONGER_OFFERED_FOR_PARLAY_1" |
ODDS_NO_LONGER_OFFERED_FOR_PARLAY_2 | str | ✅ | "ODDS_NO_LONGER_OFFERED_FOR_PARLAY_2" |
ODDS_NO_LONGER_OFFERED_FOR_PARLAY_3 | str | ✅ | "ODDS_NO_LONGER_OFFERED_FOR_PARLAY_3" |
OFFLINE_EVENT | str | ✅ | "OFFLINE_EVENT" |
PAST_CUTOFFTIME | str | ✅ | "PAST_CUTOFFTIME" |
SYSTEM_ERROR_1 | str | ✅ | "SYSTEM_ERROR_1" |
SYSTEM_ERROR_2 | str | ✅ | "SYSTEM_ERROR_2" |
SYSTEM_ERROR_3 | str | ✅ | "SYSTEM_ERROR_3" |
LINE_IS_NOT_AVAILABLE | str | ✅ | "LINE_IS_NOT_AVAILABLE" |
PERIOD_IS_DISALLOWED_FOR_SAME_GAME_PARLAY | str | ✅ | "PERIOD_IS_DISALLOWED_FOR_SAME_GAME_PARLAY" |
BETTING_SUSPENDED | str | ✅ | "BETTING_SUSPENDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs