POST api/admin/intelligence/commissions
Request Information
URI Parameters
None.
Body Parameters
UpsertCommissionRuleRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| StoreCategory | string |
None. |
|
| DriverSharePercent | decimal number |
None. |
|
| PlatformSharePercent | decimal number |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"storeCategory": "sample string 3",
"driverSharePercent": 4.0,
"platformSharePercent": 5.0,
"isActive": true
}
application/xml, text/xml
Sample:
<UpsertCommissionRuleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos"> <DriverSharePercent>4</DriverSharePercent> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <PlatformSharePercent>5</PlatformSharePercent> <StoreCategory>sample string 3</StoreCategory> </UpsertCommissionRuleRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.