postBetOrder must be followed by atrribute specifications &gt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gambino88
    Junior Member
    • Jun 2010
    • 1

    #1

    postBetOrder must be followed by atrribute specifications &gt

    I am using Visual Basic 2008 to build an aplication.

    When I try to place a bet with this code:

    "<?xml version='1.0' encoding='UTF-8'?><postBetOrder xmlns='urn:betfair:games:api:v1'marketId='" + market + "' round='" + round + "' currency='EUR'><betPlace><bidType>BACK</bidType><price>12</price><size>2.00</size><selectionId>" + id + "</selectionId></betPlace></postBetOrder>"

    Betfair API returns me the next error:

    <errorCode>EXCEPTION</errorCode>
    <credentialCheck>LOGIN_SUCESS>/credentialCheck>
    <userStatus<ACTIVE</userStatus>
    <errorDetails> Element type postBetOrder must be followed by either attribute specifications "&gt;" or "/&gt;"</errorDetails>


    Anyone can help me about this?¿

    Thank you.
Working...
X