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 .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/oneway/PortingNumberRequest HTTP/1.1 
Host: 7el.co 
Content-Type: text/jsv
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: 0001-01-01,
		RelDate: 0001-01-01,
		SubmittedByUser: String,
		DateSubmitted: 0001-01-01,
		Country: String,
		City: String,
		SiteAddress: String,
		Company: String,
		PostCode: String,
		Id: 0,
		CreatedOn: 0001-01-01,
		UpdatedOn: 0001-01-01,
		RowVersion: 0
	},
	AssociatedNumbersList: 
	[
		{
			AssociatedID: 0,
			PortingID: 0,
			MainBillingNumber: String,
			DID: String,
			Cease: False,
			RangeID: 0,
			Id: 0,
			CreatedOn: 0001-01-01,
			UpdatedOn: 0001-01-01,
			RowVersion: 0
		}
	],
	ResellerID: 0,
	PortingID: 0,
	AddCommentHistory: 
	{
		CommentID: 0,
		PortingID: 0,
		Comment: String,
		SubmittedByUser: String,
		DateAdded: 0001-01-01,
		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
}