<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 .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/oneway/PortingNumberRequest HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<PortingNumberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
<AddCommentHistory xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<d2p1:Comment>String</d2p1:Comment>
<d2p1:CommentDate>String</d2p1:CommentDate>
<d2p1:CommentID>0</d2p1:CommentID>
<d2p1:ContactEmail>String</d2p1:ContactEmail>
<d2p1:DateAdded>0001-01-01T00:00:00</d2p1:DateAdded>
<d2p1:MBN>String</d2p1:MBN>
<d2p1:PortingID>0</d2p1:PortingID>
<d2p1:SubmittedByUser>String</d2p1:SubmittedByUser>
<d2p1:UserType>String</d2p1:UserType>
</AddCommentHistory>
<AssociatedNumbersList xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<d2p1:PortingAssociatedNumbers>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</Id>
<RowVersion xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</RowVersion>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</UpdatedOn>
<d2p1:AssociatedID>0</d2p1:AssociatedID>
<d2p1:Cease>false</d2p1:Cease>
<d2p1:DID>String</d2p1:DID>
<d2p1:MainBillingNumber>String</d2p1:MainBillingNumber>
<d2p1:PortingID>0</d2p1:PortingID>
<d2p1:RangeID>0</d2p1:RangeID>
</d2p1:PortingAssociatedNumbers>
</AssociatedNumbersList>
<FiltersForStatus>String</FiltersForStatus>
<GetCommentsList>false</GetCommentsList>
<NumberPorting xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</Id>
<RowVersion xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</RowVersion>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</UpdatedOn>
<d2p1:City>String</d2p1:City>
<d2p1:Company>String</d2p1:Company>
<d2p1:ContactEmail>String</d2p1:ContactEmail>
<d2p1:Country>String</d2p1:Country>
<d2p1:CurrentProvider>String</d2p1:CurrentProvider>
<d2p1:DateSubmitted>0001-01-01T00:00:00</d2p1:DateSubmitted>
<d2p1:HasAssociated>false</d2p1:HasAssociated>
<d2p1:ICC_i_customer>0</d2p1:ICC_i_customer>
<d2p1:LineType>String</d2p1:LineType>
<d2p1:MainBillingNumber>String</d2p1:MainBillingNumber>
<d2p1:Notes>String</d2p1:Notes>
<d2p1:PortType>String</d2p1:PortType>
<d2p1:PortingID>0</d2p1:PortingID>
<d2p1:PostCode>String</d2p1:PostCode>
<d2p1:RangeHolder>0</d2p1:RangeHolder>
<d2p1:RelDate>0001-01-01T00:00:00</d2p1:RelDate>
<d2p1:RequestedDate>0001-01-01T00:00:00</d2p1:RequestedDate>
<d2p1:Reseller_i_customer>0</d2p1:Reseller_i_customer>
<d2p1:Reseller_sub_cus_i_customer>0</d2p1:Reseller_sub_cus_i_customer>
<d2p1:SiteAddress>String</d2p1:SiteAddress>
<d2p1:Status>0</d2p1:Status>
<d2p1:SubmittedByUser>String</d2p1:SubmittedByUser>
<d2p1:TotalCost>0</d2p1:TotalCost>
<d2p1:VendorName>String</d2p1:VendorName>
<d2p1:VendorTT>String</d2p1:VendorTT>
<d2p1:perform_pov>false</d2p1:perform_pov>
</NumberPorting>
<PortingID>0</PortingID>
<ResellerID>0</ResellerID>
<filterByType>String</filterByType>
<isGetAllPort>false</isGetAllPort>
<isPortRequest>false</isPortRequest>
<pageNumber>0</pageNumber>
<pageSize>0</pageSize>
<searchString>String</searchString>
</PortingNumberRequest>