Porta Plus 2 Web Services

<back to all web services

PortingNumberRequest

The following routes are available for this service:
POST/AddPortingNumberRequest
GET/GetPortRequestByReseller/{License}/{ResellerID}/{isGetAllPort}
POST/GetPortRequestByReseller
GET/GetAssociatedNumbersByPort/{License}/{PortingID}
POST/AddCommentForPort
GET/GetCommentsByPort/{License}/{PortingID}/{GetCommentsList}
GET/GetPortRequestByPortID/{License}/{PortingID}/{isPortRequest}

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

{"NumberPorting":{"PortingID":0,"Status":0,"MainBillingNumber":"String","LineType":"String","PortType":"String","ICC_i_customer":0,"Reseller_i_customer":0,"Reseller_sub_cus_i_customer":0,"RangeHolder":0,"CurrentProvider":"String","HasAssociated":false,"perform_pov":false,"VendorName":"String","VendorTT":"String","TotalCost":0,"Notes":"String","ContactEmail":"String","RequestedDate":"\/Date(-62135596800000-0000)\/","RelDate":"\/Date(-62135596800000-0000)\/","SubmittedByUser":"String","DateSubmitted":"\/Date(-62135596800000-0000)\/","Country":"String","City":"String","SiteAddress":"String","Company":"String","PostCode":"String","Id":0,"CreatedOn":"\/Date(-62135596800000-0000)\/","UpdatedOn":"\/Date(-62135596800000-0000)\/","RowVersion":0},"AssociatedNumbersList":[{"AssociatedID":0,"PortingID":0,"MainBillingNumber":"String","DID":"String","Cease":false,"RangeID":0,"Id":0,"CreatedOn":"\/Date(-62135596800000-0000)\/","UpdatedOn":"\/Date(-62135596800000-0000)\/","RowVersion":0}],"ResellerID":0,"PortingID":0,"AddCommentHistory":{"CommentID":0,"PortingID":0,"Comment":"String","SubmittedByUser":"String","DateAdded":"\/Date(-62135596800000-0000)\/","CommentDate":"String","MBN":"String","ContactEmail":"String","UserType":"String"},"GetCommentsList":false,"isPortRequest":false,"isGetAllPort":false,"pageNumber":0,"pageSize":0,"FiltersForStatus":"String","searchString":"String","filterByType":"String","License":"String","ContentId":0,"FeatureName":"String"}