POST REST/Payments/Bulk/New

Request Information

URI Parameters

None.

Body Parameters

BatchInputModel
NameDescriptionTypeAdditional information
FromAccountNumber

string

None.

FromBankCode

string

None.

Narration

string

None.

CorporateID

integer

None.

Reference

string

None.

PaymentType

string

None.

DebitMode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FromAccountNumber": "sample string 1",
  "FromBankCode": "sample string 2",
  "Narration": "sample string 3",
  "CorporateID": 4,
  "Reference": "sample string 5",
  "PaymentType": "sample string 6",
  "DebitMode": "sample string 7"
}

application/xml, text/xml

Sample:
<BatchInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST.Bulk">
  <CorporateID>4</CorporateID>
  <DebitMode>sample string 7</DebitMode>
  <FromAccountNumber>sample string 1</FromAccountNumber>
  <FromBankCode>sample string 2</FromBankCode>
  <Narration>sample string 3</Narration>
  <PaymentType>sample string 6</PaymentType>
  <Reference>sample string 5</Reference>
</BatchInputModel>

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

Response Information

Resource Description

BatchInputResponse
NameDescriptionTypeAdditional information
Reference

string

None.

BatchID

integer

None.

Status

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Reference": "sample string 1",
  "BatchID": 2,
  "Status": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<BatchInputResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST.Bulk">
  <Message xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST">sample string 4</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST">sample string 3</Status>
  <BatchID>2</BatchID>
  <Reference>sample string 1</Reference>
</BatchInputResponse>