Registrar Web Services

<back to all web services

R_ProcessBrandCommissionOrderRequest

Process the BrandCommissionOrders based on list of BrandIds in request and also creates/updates the BrandCommissionTransaction record

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/RecurringCommission/ProcessBrandCommissionOrderRequest
R_ProcessBrandCommissionOrderRequest Parameters:
NameParameterData TypeRequiredDescription
BrandIdsbodyList<long>No
OrdersToProcessbodyList<long>No
OrdersForWhichTransactionIsEndingbodyList<long>No
ActionResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformstringNo
ErrorformExceptionNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/R_ProcessBrandCommissionOrderRequest HTTP/1.1 
Host: regapi.pumpalarm.com 
Content-Type: text/jsv
Content-Length: length

{
	BrandIds: 
	[
		0
	],
	OrdersToProcess: 
	[
		0
	],
	OrdersForWhichTransactionIsEnding: 
	[
		0
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Status: String,
	Error: Exception of type 'System.Exception' was thrown.
}