POST api/banach/{punterId}/submit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
punterId

integer

Required

Body Parameters

BO.Banach.BetCriteriaRequest
NameDescriptionTypeAdditional information
BanachJson

string

None.

Request Formats

application/json, text/json

Sample:
{
  "banachJson": "sample string 1"
}

application/xml, text/xml

Sample:
<BetCriteriaRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <BanachJson>sample string 1</BanachJson>
</BetCriteriaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BO.Banach.Response.ApiBanachBetTransaction
NameDescriptionTypeAdditional information
ResponseType

integer

None.

ResponseMessage

string

None.

ResponseObject

BO.Banach.Response.APISameMatchBet

None.

Response Formats

application/json, text/json

Sample:
{
  "responseType": 1,
  "responseMessage": "sample string 2",
  "responseObject": {
    "ticketNumber": 1,
    "contactInformation": "sample string 1",
    "availableBalance": 2.0
  }
}

application/xml, text/xml

Sample:
<ApiBanachBetTransaction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseType>1</ResponseType>
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponseObject>
    <TicketNumber>1</TicketNumber>
    <ContactInformation>sample string 1</ContactInformation>
    <AvailableBalance>2</AvailableBalance>
  </ResponseObject>
</ApiBanachBetTransaction>