Porta Plus 2 Web Services

<back to all web services

PortaResellerInfo

The following routes are available for this service:
GET/GetResellers/{License}
GET/Swoop_GetResellers/{License}/{i_env}
GET/GetDirectCustomer/{License}/{getDirectCustomer}
GET/GetResellerInfo/{License}/{ICustomer}
GET/GetResellerUsage/{License}/{ICustomer}/{FromDate}/{ToDate}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/PortaResellerInfo HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

ICustomer,FromDate,ToDate,getDirectCustomer,i_env,License,ContentId,FeatureName
0,String,String,False,0,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

lstResellers,ResellerInfo,lstResellerDetails,License,ContentId,FeatureName
"[{Name:String,ICustomer:0}]","{Name:String,ICustomer:0}","[{CustomerID:String,ChargedAmount:0,ChargedQuantity:0,FirstName:String,LastName:String,MiddleName:String,DistributorName:String,CompanyName:String,Representative:String}]",String,0,String