POST api/v1/Revunue/Refshare
Request Information
URI Parameters
None.
Body Parameters
req_refshare_merch| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
None. |
|
| revenue | Collection of Revenue |
None. |
Request Formats
application/json, text/json
Sample:
{
"key": "sample string 1",
"revenue": [
{
"order_id": "sample string 1",
"extra_revenue": [
{
"recipient_id": "sample string 1",
"gateway_service_charge": "sample string 2",
"amount": "sample string 3"
},
{
"recipient_id": "sample string 1",
"gateway_service_charge": "sample string 2",
"amount": "sample string 3"
}
]
},
{
"order_id": "sample string 1",
"extra_revenue": [
{
"recipient_id": "sample string 1",
"gateway_service_charge": "sample string 2",
"amount": "sample string 3"
},
{
"recipient_id": "sample string 1",
"gateway_service_charge": "sample string 2",
"amount": "sample string 3"
}
]
}
]
}
application/xml, text/xml
Sample:
<RevunueController.req_refshare_merch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RefShare.Controllers">
<key>sample string 1</key>
<revenue>
<RevunueController.Revenue>
<extra_revenue>
<RevunueController.ExtraRevenue>
<amount>sample string 3</amount>
<gateway_service_charge>sample string 2</gateway_service_charge>
<recipient_id>sample string 1</recipient_id>
</RevunueController.ExtraRevenue>
<RevunueController.ExtraRevenue>
<amount>sample string 3</amount>
<gateway_service_charge>sample string 2</gateway_service_charge>
<recipient_id>sample string 1</recipient_id>
</RevunueController.ExtraRevenue>
</extra_revenue>
<order_id>sample string 1</order_id>
</RevunueController.Revenue>
<RevunueController.Revenue>
<extra_revenue>
<RevunueController.ExtraRevenue>
<amount>sample string 3</amount>
<gateway_service_charge>sample string 2</gateway_service_charge>
<recipient_id>sample string 1</recipient_id>
</RevunueController.ExtraRevenue>
<RevunueController.ExtraRevenue>
<amount>sample string 3</amount>
<gateway_service_charge>sample string 2</gateway_service_charge>
<recipient_id>sample string 1</recipient_id>
</RevunueController.ExtraRevenue>
</extra_revenue>
<order_id>sample string 1</order_id>
</RevunueController.Revenue>
</revenue>
</RevunueController.req_refshare_merch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |