POST api/intl/AddUpdateCommissionHierarchy
Request Information
URI Parameters
None.
Body Parameters
Collection of CommissionHierarchyName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Level | integer |
None. |
|
Type | string |
None. |
|
Value | decimal number |
None. |
|
TypeRecurring | string |
None. |
|
ValueRecurring | decimal number |
None. |
|
TypeInR | string |
None. |
|
ValueInR | decimal number |
None. |
|
TypeRecurringInR | string |
None. |
|
ValueRecurringInR | decimal number |
None. |
|
IsActive | boolean |
None. |
|
PartyType | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "24c9005c-de4a-48fe-a5b3-1eb4a897b668", "Level": 1, "Type": "sample string 2", "Value": 3.1, "TypeRecurring": "sample string 4", "ValueRecurring": 5.1, "TypeInR": "sample string 6", "ValueInR": 7.1, "TypeRecurringInR": "sample string 8", "ValueRecurringInR": 9.1, "IsActive": true, "PartyType": "sample string 11" }, { "Id": "24c9005c-de4a-48fe-a5b3-1eb4a897b668", "Level": 1, "Type": "sample string 2", "Value": 3.1, "TypeRecurring": "sample string 4", "ValueRecurring": 5.1, "TypeInR": "sample string 6", "ValueInR": 7.1, "TypeRecurringInR": "sample string 8", "ValueRecurringInR": 9.1, "IsActive": true, "PartyType": "sample string 11" } ]
text/html
Sample:
[{"Id":"24c9005c-de4a-48fe-a5b3-1eb4a897b668","Level":1,"Type":"sample string 2","Value":3.1,"TypeRecurring":"sample string 4","ValueRecurring":5.1,"TypeInR":"sample string 6","ValueInR":7.1,"TypeRecurringInR":"sample string 8","ValueRecurringInR":9.1,"IsActive":true,"PartyType":"sample string 11"},{"Id":"24c9005c-de4a-48fe-a5b3-1eb4a897b668","Level":1,"Type":"sample string 2","Value":3.1,"TypeRecurring":"sample string 4","ValueRecurring":5.1,"TypeInR":"sample string 6","ValueInR":7.1,"TypeRecurringInR":"sample string 8","ValueRecurringInR":9.1,"IsActive":true,"PartyType":"sample string 11"}]
application/xml, text/xml
Sample:
<ArrayOfCommissionHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities"> <CommissionHierarchy> <Id>24c9005c-de4a-48fe-a5b3-1eb4a897b668</Id> <IsActive>true</IsActive> <Level>1</Level> <PartyType>sample string 11</PartyType> <Type>sample string 2</Type> <TypeInR>sample string 6</TypeInR> <TypeRecurring>sample string 4</TypeRecurring> <TypeRecurringInR>sample string 8</TypeRecurringInR> <Value>3.1</Value> <ValueInR>7.1</ValueInR> <ValueRecurring>5.1</ValueRecurring> <ValueRecurringInR>9.1</ValueRecurringInR> </CommissionHierarchy> <CommissionHierarchy> <Id>24c9005c-de4a-48fe-a5b3-1eb4a897b668</Id> <IsActive>true</IsActive> <Level>1</Level> <PartyType>sample string 11</PartyType> <Type>sample string 2</Type> <TypeInR>sample string 6</TypeInR> <TypeRecurring>sample string 4</TypeRecurring> <TypeRecurringInR>sample string 8</TypeRecurringInR> <Value>3.1</Value> <ValueInR>7.1</ValueInR> <ValueRecurring>5.1</ValueRecurring> <ValueRecurringInR>9.1</ValueRecurringInR> </CommissionHierarchy> </ArrayOfCommissionHierarchy>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GenericResponseName | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Info | string |
None. |
|
Error | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Info": "sample string 2", "Error": "sample string 3", "Status": true }
text/html
Sample:
{"Data":{},"Info":"sample string 2","Error":"sample string 3","Status":true}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities"> <Data /> <Error>sample string 3</Error> <Info>sample string 2</Info> <Status>true</Status> </GenericResponse>