TopJet.P2PService.WebApi

<back to all web services

HtmlRequest

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/reply/HtmlRequest HTTP/1.1 
Host: 139.196.71.35 
Content-Type: text/jsv
Content-Length: length

{
	Data: String,
	ActionName: String,
	AppId: String,
	MachineCode: String,
	MessageType: String,
	TimeStamp: 0,
	Token: String,
	Version: String,
	Requrl: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: String,
	ResultCode: 0,
	ResultMsg: String,
	Sign: String,
	Key: String
}