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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
punterId

integer

Required

Body Parameters

BO.Models.Punter.PunterBankDetails
NameDescriptionTypeAdditional information
Name

string

None.

Branch

string

None.

BranchCode

string

None.

AccountNumber

string

None.

AccountHolder

string

None.

SwiftCode

string

None.

Id

integer

None.

BankingCompliant

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "branch": "sample string 2",
  "branchCode": "sample string 3",
  "accountNumber": "sample string 4",
  "accountHolder": "sample string 5",
  "swiftCode": "sample string 6",
  "id": 1,
  "bankingCompliant": true
}

application/xml, text/xml

Sample:
<PunterBankDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
  <Branch>sample string 2</Branch>
  <BranchCode>sample string 3</BranchCode>
  <AccountNumber>sample string 4</AccountNumber>
  <AccountHolder>sample string 5</AccountHolder>
  <SwiftCode>sample string 6</SwiftCode>
  <Id>1</Id>
  <BankingCompliant>true</BankingCompliant>
</PunterBankDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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

BO.Models.Punter.PunterBankDetails

None.

ResponseMessage

string

None.

ResponseType

BO.Enums.ResponseType

None.

Response Formats

application/json, text/json

Sample:
{
  "responseObject": {
    "name": "sample string 1",
    "branch": "sample string 2",
    "branchCode": "sample string 3",
    "accountNumber": "sample string 4",
    "accountHolder": "sample string 5",
    "swiftCode": "sample string 6",
    "id": 1,
    "bankingCompliant": true
  },
  "responseMessage": "sample string 1",
  "responseType": 1
}

application/xml, text/xml

Sample:
<BaseResponseOfPunterBankDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseObject>
    <Name>sample string 1</Name>
    <Branch>sample string 2</Branch>
    <BranchCode>sample string 3</BranchCode>
    <AccountNumber>sample string 4</AccountNumber>
    <AccountHolder>sample string 5</AccountHolder>
    <SwiftCode>sample string 6</SwiftCode>
    <Id>1</Id>
    <BankingCompliant>true</BankingCompliant>
  </ResponseObject>
  <ResponseMessage>sample string 1</ResponseMessage>
  <ResponseType>Success</ResponseType>
</BaseResponseOfPunterBankDetails>