POST api/payout/schedulebulkpayoutbatch
Request Information
URI Parameters
None.
Body Parameters
MLPayoutBatchName | description | Type | Additional information |
---|---|---|---|
BatchTransitems | Collection of MLBatchTrasnItem |
None. |
|
sender_batch_header | MlSenderBatchHeader |
None. |
|
items | Collection of PSenderItem |
None. |
Request Formats
application/json, text/json
Sample:
{ "items": [ { "amount": { "currency": "sample string 2", "value": 1 }, "receiver": "sample string 3", "recipient_wallet": "sample string 2", "sender_item_id": "sample string 1" }, { "amount": { "currency": "sample string 2", "value": 1 }, "receiver": "sample string 3", "recipient_wallet": "sample string 2", "sender_item_id": "sample string 1" } ], "sender_batch_header": { "email_message": "sample string 4", "email_subject": "sample string 3", "recipient_type": "sample string 2", "sender_batch_id": "sample string 1" }, "BatchTransitems": [ { "MemberSysID": 1, "PayoutAmount": 3, "PayoutClosingBalance": 4, "PayoutOpeningBalance": 2, "sender_item_id": "sample string 5" }, { "MemberSysID": 1, "PayoutAmount": 3, "PayoutClosingBalance": 4, "PayoutOpeningBalance": 2, "sender_item_id": "sample string 5" } ] }
application/xml, text/xml
Sample:
<MLPayoutBatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.MLM.Model.Admin"> <items> <PSenderItem> <amount> <currency>sample string 2</currency> <value>1</value> </amount> <receiver>sample string 3</receiver> <recipient_wallet>sample string 2</recipient_wallet> <sender_item_id>sample string 1</sender_item_id> </PSenderItem> <PSenderItem> <amount> <currency>sample string 2</currency> <value>1</value> </amount> <receiver>sample string 3</receiver> <recipient_wallet>sample string 2</recipient_wallet> <sender_item_id>sample string 1</sender_item_id> </PSenderItem> </items> <sender_batch_header> <email_message>sample string 4</email_message> <email_subject>sample string 3</email_subject> <recipient_type>sample string 2</recipient_type> <sender_batch_id>sample string 1</sender_batch_id> </sender_batch_header> <BatchTransitems> <MLBatchTrasnItem> <MemberSysID>1</MemberSysID> <PayoutAmount>3</PayoutAmount> <PayoutClosingBalance>4</PayoutClosingBalance> <PayoutOpeningBalance>2</PayoutOpeningBalance> <sender_item_id>sample string 5</sender_item_id> </MLBatchTrasnItem> <MLBatchTrasnItem> <MemberSysID>1</MemberSysID> <PayoutAmount>3</PayoutAmount> <PayoutClosingBalance>4</PayoutClosingBalance> <PayoutOpeningBalance>2</PayoutOpeningBalance> <sender_item_id>sample string 5</sender_item_id> </MLBatchTrasnItem> </BatchTransitems> </MLPayoutBatch>
response Information
Resource description
ApiResponseName | description | Type | Additional information |
---|---|---|---|
response | string |
Required |
|
failure | MlError |
None. |
|
success | MlSuccess |
None. |