Porta Plus 2 Web Services

<back to all web services

CustomerAutoPayment

The following routes are available for this service:
POST/AddCustomerAutoPayments
GET/GetAutoPayments/{License}/{ICustomer}

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/CustomerAutoPayment HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: text/csv
Content-Length: length

IPaymentInfo,Pay,BalanceExceeds,ICustomer,License,ContentId,FeatureName
0,0,0,0,String,0,String

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

Success,CustomerAutoPayments,License,ContentId,FeatureName
False,"{i_auto_payment:0,i_object:0,pay_amount:0,balance_threshold:0}",String,0,String