ParlayLegResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
Status | ParlayLegResponseStatus | ❌ | Status of the request. |
ErrorCode | 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. |
LegId | string | ❌ | Echo of the legId from the request. |
LineId | long | ❌ | Line identification that bet was placed on. |
AltLineId | long | ❌ | If bet was accepted on alternate line, the altLineId will be returned. |
Price | double | ❌ | Price that the bet was placed on. |
CorrelatedLegs | List<string> | ❌ | If errorCode is CORRELATED will contain legIds of all correlated legs. |
ParlayLegResponseStatus
Status of the request.
Properties
Name | Type | Required | Description |
---|---|---|---|
ProcessedWithError | string | ✅ | "PROCESSED_WITH_ERROR" |
Valid | string | ✅ | "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 |
---|---|---|---|
CannotParlayLiveGame | string | ✅ | "CANNOT_PARLAY_LIVE_GAME" |
Correlated | string | ✅ | "CORRELATED" |
EventNoLongerAvailableForBetting | string | ✅ | "EVENT_NO_LONGER_AVAILABLE_FOR_BETTING" |
EventNotOfferedForParlay | string | ✅ | "EVENT_NOT_OFFERED_FOR_PARLAY" |
InvalidEvent | string | ✅ | "INVALID_EVENT" |
InvalidLegBetType | string | ✅ | "INVALID_LEG_BET_TYPE" |
InvalidParlayBet | string | ✅ | "INVALID_PARLAY_BET" |
LineChanged | string | ✅ | "LINE_CHANGED" |
LineDoesNotBelongToEvent | string | ✅ | "LINE_DOES_NOT_BELONG_TO_EVENT" |
OddsNoLongerOfferedForParlay1 | string | ✅ | "ODDS_NO_LONGER_OFFERED_FOR_PARLAY_1" |
OddsNoLongerOfferedForParlay2 | string | ✅ | "ODDS_NO_LONGER_OFFERED_FOR_PARLAY_2" |
OddsNoLongerOfferedForParlay3 | string | ✅ | "ODDS_NO_LONGER_OFFERED_FOR_PARLAY_3" |
OfflineEvent | string | ✅ | "OFFLINE_EVENT" |
PastCutofftime | string | ✅ | "PAST_CUTOFFTIME" |
SystemError1 | string | ✅ | "SYSTEM_ERROR_1" |
SystemError2 | string | ✅ | "SYSTEM_ERROR_2" |
SystemError3 | string | ✅ | "SYSTEM_ERROR_3" |
LineIsNotAvailable | string | ✅ | "LINE_IS_NOT_AVAILABLE" |
PeriodIsDisallowedForSameGameParlay | string | ✅ | "PERIOD_IS_DISALLOWED_FOR_SAME_GAME_PARLAY" |
BettingSuspended | string | ✅ | "BETTING_SUSPENDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs