Porta Plus 2 Web Services

<back to all web services

SaveFaxAdminSettings

The following routes are available for this service:
POST/SendFax
POST/SaveCustFaxSettings
GET/GetExistingAdminSettings/{License}/{Ienv}
GET/GetCustFaxStatus/{id}/{status}
GET/GetCustFaxHistory/{License}/{Icustomer}/{Ienv}
GET/GetFaxIdDetailsWavetel/{License}/{WavtelFaxStatus}
POST/ChangeDBStatus

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

{
	addCustFaxSettings: 
	{
		Ienv: 0,
		GatewayUrl: String,
		LogOn: String,
		Password: String,
		License: String,
		Provider: String,
		ReportApiUrl: String,
		Id: 0,
		CreatedOn: 0001-01-01,
		UpdatedOn: 0001-01-01,
		RowVersion: 0
	},
	sendCustFax: 
	{
		AccountNo: String,
		Destination: String,
		Icustomer: 0,
		FaxId: String,
		Provider: String,
		CLI: String,
		License: String,
		Ienv: 0,
		Status: String,
		Date: 0001-01-01,
		Pages: 0,
		report: String,
		PdfData: AA==,
		iaccount: 0,
		CustomerCharged: False,
		Id: 0,
		CreatedOn: 0001-01-01,
		UpdatedOn: 0001-01-01,
		RowVersion: 0
	},
	Icustomer: 0,
	Ienv: 0,
	WavtelFaxStatus: False,
	status: String,
	id: String,
	app: String,
	hash: String,
	data: 
	{
		id: String,
		time: 0001-01-01,
		originator: String,
		destination: String,
		status_msg: String,
		status_code: 0,
		bps: 0,
		station: String,
		duration: 0,
		pages: 0,
		url: String
	},
	pendigfax: 
	{
		License: String,
		status: String,
		Provider: String
	},
	License: String,
	ContentId: 0,
	FeatureName: String
}