Porta Plus 2 Web Services

<back to all web services

CustomerAbbreviatedDialing

The following routes are available for this service:
GET/GetAbbreviatedDialingNumbers/{License}/{ICustomer}
GET/DeleteAbbreviatedDialingNumber/{License}/{ICustomer}/{AbbreviatedNumberRecordId}
GET/AddAbbreviatedDialingNumber/{License}/{ICustomer}/{Description}/{AbbreviatedNumber}/{NumberToDial}
GET/UpdateAbbreviatedDialingNumber/{License}/{ICustomer}/{Description}/{AbbreviatedNumber}/{NumberToDial}/{AbbreviatedNumberRecordId}

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

ICustomer,Description,AbbreviatedNumber,NumberToDial,AbbreviatedNumberRecordId,customerId,PhoneType,License,ContentId,FeatureName
0,String,String,String,0,0,String,String,0,String

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

AbbreviatedDialingNumberLst,AbbreviatedDialingNumber,AbbreviatedDialingNumberDeleted,AbbreviatedDialingNumberAdded,AbbreviatedDialingNumberUpdated,License,ContentId,FeatureName
"[{i_ab_dialing:0,abbreviated_number:String,number_to_dial:String,description:String}]","{i_ab_dialing:0,abbreviated_number:String,number_to_dial:String,description:String}",False,False,False,String,0,String