POST v1/ProfilePersons/{id}/OrderHistory/MakePayment/BulkOrder/GetRemotePaymentRequest

Get remote payment request data for bulk payments.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of bulkMakepaymentRemoteInput
NameDescriptionTypeAdditional information
orderId

order id.

integer

Required

paymentAmount

Amount to be paid.

decimal number

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "orderId": 1,
    "paymentAmount": 2.0
  },
  {
    "orderId": 1,
    "paymentAmount": 2.0
  }
]

text/html

Sample:
[{"orderId":1,"paymentAmount":2.0},{"orderId":1,"paymentAmount":2.0}]

application/xml, text/xml

Sample:
<ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput>
    <orderId>1</orderId>
    <paymentAmount>2</paymentAmount>
  </v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput>
  <v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput>
    <orderId>1</orderId>
    <paymentAmount>2</paymentAmount>
  </v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput>
</ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteInput>

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 'List`1'.

Response Information

Resource Description

bulkMakepaymentRemoteOutput
NameDescriptionTypeAdditional information
outputPaymentURL

The generated request data for remote payment.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "outputPaymentURL": "sample string 1"
}

text/html

Sample:
{"outputPaymentURL":"sample string 1"}

application/xml, text/xml

Sample:
<v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint">
  <outputPaymentURL>sample string 1</outputPaymentURL>
</v1_ProfilePersons_ProfilePersonEndpointController.bulkMakepaymentRemoteOutput>