Porta Plus 2 Web Services

<back to all web services

CallProcessingRequest

The following routes are available for this service:
GET/GetCPRules/{License}/{IAccount}/{GetCPRules}
GET/GetCPConditions/{License}/{IAccount}/{Type}/{GetCPConditions}
GET/AddFromOrToCPConditions/{License}/{IAccount}/{Type}/{NameOfCondition}/{Number}/{Onnet}/{AddCpcondition}
GET/AddPeriodCPConditions/{License}/{IAccount}/{Type}/{NameOfCondition}/{Period}/{Description}/{AddCpcondition}
GET/UpdateFromOrToCPConditions/{License}/{IAccount}/{ICpCondition}/{Type}/{NameOfCondition}/{Number}/{Onnet}/{UpdateCpCondition}
GET/UpdatePeriodCPConditions/{License}/{IAccount}/{Type}/{ICpCondition}/{NameOfCondition}/{Period}/{Description}/{UpdateCpCondition}
GET/AddCpRule/{License}/{IAccount}/{IfromNumber}/{ItoNumber}/{IPriodNumber}/{action}/{IsActive}/{AddCpRule}
GET/UpdateCpRule/{License}/{IAccount}/{ICPRule}/{IfromNumber}/{ItoNumber}/{IPriodNumber}/{action}/{IsActive}/{UpdateCpRule}
GET/DeleteCpRule/{License}/{IAccount}/{ICPRule}/{DeleteCpRule}
GET/DeleteCpCondition/{License}/{IAccount}/{ICPCondition}/{DeleteCpCondition}
POST/CallProcessingRequests

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/oneway/CallProcessingRequest HTTP/1.1 
Host: 7el.co 
Content-Type: application/json
Content-Length: length

{"IAccount":0,"ICPRule":0,"ICpCondition":0,"Type":"String","Number":"String","Onnet":false,"Period":"String","NameOfCondition":"String","Description":"String","IfromNumber":0,"ItoNumber":0,"IPriodNumber":0,"IsActive":false,"action":0,"GetCPRules":false,"GetCPConditions":false,"AddCpRule":false,"AddCpcondition":false,"DeleteCpRule":false,"UpdateCpRule":false,"UpdateCpCondition":false,"DeleteCpCondition":false,"License":"String","ContentId":0,"FeatureName":"String"}