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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"ICustomer":0,"FromDate":"String","ToDate":"String","getDirectCustomer":false,"i_env":0,"License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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