POST api/intl/UpdateAffiliateCommissionHierarchy
Request Information
URI Parameters
None.
Body Parameters
EditAffiliateName | Description | Type | Additional information |
---|---|---|---|
PersonId | integer |
None. |
|
CommissionHierarchy | Collection of CommissionHierarchy |
None. |
Request Formats
application/json, text/json
Sample:
{ "PersonId": 1, "CommissionHierarchy": [ { "Id": "08cb2d2e-6c36-4239-9afc-bb1800b48b7d", "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": "08cb2d2e-6c36-4239-9afc-bb1800b48b7d", "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:
{"PersonId":1,"CommissionHierarchy":[{"Id":"08cb2d2e-6c36-4239-9afc-bb1800b48b7d","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":"08cb2d2e-6c36-4239-9afc-bb1800b48b7d","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:
<EditAffiliate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities"> <CommissionHierarchy> <CommissionHierarchy> <Id>08cb2d2e-6c36-4239-9afc-bb1800b48b7d</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>08cb2d2e-6c36-4239-9afc-bb1800b48b7d</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> <PersonId>1</PersonId> </EditAffiliate>
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>