POST api/VPOS/GetBindings

Get Bindings

Request Information

URI Parameters

None.

Body Parameters

GetBindingsRequest model

GetBindingsRequest
NameDescriptionTypeAdditional information
ClientID

string

None.

Username

string

None.

Password

string

None.

PaymentType

PaymentsEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "PaymentType": 0
}

application/xml, text/xml

Sample:
<GetBindingsRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ClientID>sample string 1</ClientID>
  <Username>sample string 2</Username>
  <Password>sample string 3</Password>
  <PaymentType>None</PaymentType>
</GetBindingsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetBindingsRequest'.

Response Information

Resource Description

GetBindingsResponse model

GetBindingsResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

CardBindingFileds

Collection of CardBindingFiled

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "CardBindingFileds": [
    {
      "CardHolderID": "sample string 1",
      "CardPan": "sample string 2",
      "ExpDate": "sample string 3",
      "IsAvtive": true
    },
    {
      "CardHolderID": "sample string 1",
      "CardPan": "sample string 2",
      "ExpDate": "sample string 3",
      "IsAvtive": true
    }
  ]
}

application/xml, text/xml

Sample:
<GetBindingsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <CardBindingFileds>
    <CardBindingFiled>
      <CardHolderID>sample string 1</CardHolderID>
      <CardPan>sample string 2</CardPan>
      <ExpDate>sample string 3</ExpDate>
      <IsAvtive>true</IsAvtive>
    </CardBindingFiled>
    <CardBindingFiled>
      <CardHolderID>sample string 1</CardHolderID>
      <CardPan>sample string 2</CardPan>
      <ExpDate>sample string 3</ExpDate>
      <IsAvtive>true</IsAvtive>
    </CardBindingFiled>
  </CardBindingFileds>
</GetBindingsResponse>