POST api/punters/{punterId}/details/banking/lite

Request Information

URI Parameters

NameDescriptionTypeAdditional information
punterId

integer

Required

Body Parameters

BO.Models.Punter.SaveBankDetailsRequest
NameDescriptionTypeAdditional information
PunterId

integer

None.

BankID

integer

None.

BankAccountNumber

string

None.

BankAccountHolder

string

None.

BankBranchCode

string

None.

BankSwiftCode

string

None.

BankingCompliant

boolean

None.

RequestId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "punterId": 1,
  "bankID": 2,
  "bankAccountNumber": "sample string 3",
  "bankAccountHolder": "sample string 4",
  "bankBranchCode": "sample string 5",
  "bankSwiftCode": "sample string 6",
  "bankingCompliant": true,
  "requestId": "sample string 7"
}

application/xml, text/xml

Sample:
<SaveBankDetailsRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PunterId>1</PunterId>
  <BankID>2</BankID>
  <BankAccountNumber>sample string 3</BankAccountNumber>
  <BankAccountHolder>sample string 4</BankAccountHolder>
  <BankBranchCode>sample string 5</BankBranchCode>
  <BankSwiftCode>sample string 6</BankSwiftCode>
  <BankingCompliant>true</BankingCompliant>
  <RequestId>sample string 7</RequestId>
</SaveBankDetailsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BO.BETResponseObjects.BaseResponseOfBO.Models.Punter.SaveBankDetailsResult
NameDescriptionTypeAdditional information
ResponseObject

BO.Models.Punter.SaveBankDetailsResult

None.

ResponseMessage

string

None.

ResponseType

BO.Enums.ResponseType

None.

Response Formats

application/json, text/json

Sample:
{
  "responseObject": {
    "clientID": 1,
    "bankID": 2,
    "bankAccountNumber": "sample string 3",
    "bankAccountHolder": "sample string 4",
    "bankBranchCode": "sample string 5",
    "bankSwiftCode": "sample string 6",
    "bankName": "sample string 7",
    "bankingCompliant": true
  },
  "responseMessage": "sample string 1",
  "responseType": 1
}

application/xml, text/xml

Sample:
<BaseResponseOfSaveBankDetailsResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseObject>
    <ClientID>1</ClientID>
    <BankID>2</BankID>
    <BankAccountNumber>sample string 3</BankAccountNumber>
    <BankAccountHolder>sample string 4</BankAccountHolder>
    <BankBranchCode>sample string 5</BankBranchCode>
    <BankSwiftCode>sample string 6</BankSwiftCode>
    <BankName>sample string 7</BankName>
    <BankingCompliant>true</BankingCompliant>
  </ResponseObject>
  <ResponseMessage>sample string 1</ResponseMessage>
  <ResponseType>Success</ResponseType>
</BaseResponseOfSaveBankDetailsResult>