POST api/commission/plan
This method adds new commission plan
Error Messages
- 401/Unauthorized: Access Denied - User does not have the required permissions
- 400/BadRequest: Validation Error - An error within the api body
Request Information
URI Parameters
None.
Body Parameters
CommissionPlanPostRequestName | Description | Type | Additional information |
---|---|---|---|
Name | Name of the Commission Plan. Requires to be unique within the system. | string |
Required String length: inclusive between 0 and 60 |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1" }
application/xml, text/xml
Sample:
<CommissionPlanPostRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aBILLity.API.Models.Config"> <Name>sample string 1</Name> </CommissionPlanPostRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommissionPlanPostResponseName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1 }
application/xml, text/xml
Sample:
<CommissionPlanPostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/aBILLity.API.Models.Config"> <id>1</id> </CommissionPlanPostResponse>