Porta Plus 2 Web Services

<back to all web services

MusicOnHoldRequest

The following routes are available for this service:
GET/GetAccountMOHList/{License}/{IAccount}
GET/GetAccountMOHList/{License}/{IAccount}/{getEnabledMoHForAcnt}
GET/DeleteMOH/{License}/{selectedExistingMOH}
GET/DeleteMOH/{License}/{selectedExistingMOH}/{Object}/{iObject}
POST/UploadMOH

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

{
	AccountId: String,
	IAccount: 0,
	fileUploadFileName: String,
	fileUploadContentType: String,
	iObject: 0,
	Object: String,
	FileName: String,
	License: String,
	selectedExistingMOH: 0,
	getEnabledMoHForAcnt: False,
	ContentId: 0,
	FeatureName: String
}