POST api/IdealPartner/AllDownlinePartners
Request Information
URI Parameters
None.
Body Parameters
DownlinePartnerRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RefLevelId | integer |
None. |
|
| ClientId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"RefLevelId": 1,
"ClientId": 1
}
application/xml, text/xml
Sample:
<DownlinePartnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <ClientId>1</ClientId> <RefLevelId>1</RefLevelId> </DownlinePartnerRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DownlinePartnerResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Clientid | integer |
None. |
|
| ClientName | string |
None. |
|
| MobileNo | string |
None. |
|
| TotalRefAccounts | integer |
None. |
|
| TotalSales | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Clientid": 1,
"ClientName": "sample string 2",
"MobileNo": "sample string 3",
"TotalRefAccounts": 1,
"TotalSales": 1.0
},
{
"Clientid": 1,
"ClientName": "sample string 2",
"MobileNo": "sample string 3",
"TotalRefAccounts": 1,
"TotalSales": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfDownlinePartnerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
<DownlinePartnerResponse>
<ClientName>sample string 2</ClientName>
<Clientid>1</Clientid>
<MobileNo>sample string 3</MobileNo>
<TotalRefAccounts>1</TotalRefAccounts>
<TotalSales>1</TotalSales>
</DownlinePartnerResponse>
<DownlinePartnerResponse>
<ClientName>sample string 2</ClientName>
<Clientid>1</Clientid>
<MobileNo>sample string 3</MobileNo>
<TotalRefAccounts>1</TotalRefAccounts>
<TotalSales>1</TotalSales>
</DownlinePartnerResponse>
</ArrayOfDownlinePartnerResponse>