Porta Plus 2 Web Services

<back to all web services

PortaAccountVDPlan

The following routes are available for this service:
GET/GetAccountVDPlansbyMonth/{License}/{IAccount}/{Month}
GET/GetAccountVDPlans/{License}/{IAccount}/{Month}
GET/GetCustomerVDPlans/{License}/{ICustomer}/{Month}

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/PortaAccountVDPlan HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

IAccount,ICustomer,Month,License,ContentId,FeatureName
0,0,CurrentMonth,String,0,String

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

AccountVDPlans,License,ContentId,FeatureName
"{String:[{Threshold:0,CurrentDiscount:0,DestinationGroup:String,ICustomer:0,Service:String,Rate_unit:String,iDest_group:0,IService:0,Used:0,Remaining:0,PeakLevel:String,NextDiscountLevel:String,DiscountInfo:String,IVDPlan:0,CurrentDiscountInfo:String,NextBillDate:String,Precedence:String,I_avd_counter:String}]}",String,0,String