POST api/Billing/AggregatedMerchantBillingRunTemplate
Request Information
URI Parameters
None.
Body Parameters
BillingRunTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateID | integer |
None. |
|
| TemplateName | string |
None. |
|
| BillingStructureIDs | Collection of integer |
None. |
|
| TimeZoneID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TemplateID": 1,
"TemplateName": "sample string 2",
"BillingStructureIDs": [
1,
2
],
"TimeZoneID": 3
}
application/xml, text/xml
Sample:
<BillingRunTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.BillingStructure">
<BillingStructureIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</BillingStructureIDs>
<TemplateID>1</TemplateID>
<TemplateName>sample string 2</TemplateName>
<TimeZoneID>3</TimeZoneID>
</BillingRunTemplate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CommonResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorMessage": "sample string 1",
"Result": {}
}
application/xml, text/xml
Sample:
<CommonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Common"> <ErrorMessage>sample string 1</ErrorMessage> <Result /> </CommonResult>