POST API/AccountBank/Link

Request Information

URI Parameters

None.

Body Parameters

LinkRequest
NameDescriptionTypeAdditional information
AccountID

integer

None.

BankID

integer

None.

Signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "BankID": 2,
  "Signature": "sample string 3"
}

application/xml, text/xml

Sample:
<LinkRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Apay.Mobile.Api.Models">
  <AccountID>1</AccountID>
  <BankID>2</BankID>
  <Signature>sample string 3</Signature>
</LinkRequest>

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 'LinkRequest'.

Response Information

Resource Description

ResponseObject
NameDescriptionTypeAdditional information
Code

string

None.

ListValue

Collection of Object

None.

Message

string

None.

Time

string

None.

Value

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "ListValue": [
    {},
    {}
  ],
  "Message": "sample string 2",
  "Time": "sample string 3",
  "Value": {}
}

application/xml, text/xml

Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Admin.Lib">
  <Code>sample string 1</Code>
  <ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ListValue>
  <Message>sample string 2</Message>
  <Time>sample string 3</Time>
  <Value />
</ResponseObject>