Porta Plus 2 Web Services

<back to all web services

GetUnAssignedSIMRequest

The following routes are available for this service:
GET/GetAllUnAssignedSIM/{License}
GET/GetSIMSetting/{License}/{SIMSetting}
GET/GetSimsByICustomer/{License}/{i_customer}
GET/CheckSimExists/{License}/{SIM}
POST/SaveSIMSetting
POST/UpdateUnAssignedSIM
POST/ProvisionSim
POST/RemoveSimSetting
POST/UploadSIMDetails

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

{
	IAccount: String,
	SMSNumber: String,
	SIM: String,
	IEnv: 0,
	License: String,
	SIMSetting: False,
	i_customer: 0,
	provisioned: False,
	enableC3Config: False,
	SimProductSettings: 
	[
		{
			Id: 0,
			BundleName: String,
			ProductFilter: String,
			NameToReseller: String,
			TenantID: String,
			CreatedOn: 0001-01-01,
			UpdatedOn: 0001-01-01,
			RowVersion: 0
		}
	],
	removeSimSetting: 
	{
		Id: 0,
		BundleName: String,
		ProductFilter: String,
		NameToReseller: String,
		TenantID: String,
		CreatedOn: 0001-01-01,
		UpdatedOn: 0001-01-01,
		RowVersion: 0
	},
	simprovdetails: 
	[
		{
			Id: 0,
			i_account: String,
			sim: String,
			sim_type: String,
			i_env: 0,
			sms_number: String,
			i_customer: 0,
			provisioned: False,
			CreatedOn: 0001-01-01,
			UpdatedOn: 0001-01-01,
			RowVersion: 0
		}
	],
	uploadSIMDetails: False,
	ContentId: 0,
	FeatureName: String
}