POST new/v1/3rd/onnotify

回调通知

Request Information

URI Parameters

None.

Body Parameters

WPSNotifyRequest
NameDescriptionTypeAdditional information
cmd

回调命令的参数

string

None.

body

回调命令的内容 由于官方给的示例中body内容不固定,所以此处使用了object,可参考文档根据自己需求进行修改

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "cmd": "sample string 1",
  "body": {}
}

application/xml, text/xml

Sample:
<WPSNotifyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WPSApi.Model">
  <body />
  <cmd>sample string 1</cmd>
</WPSNotifyRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WPSNotifyRequest'.

Response Information

Resource Description

WPSBaseModel
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2"
}

application/xml, text/xml

Sample:
<WPSBaseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WPSApi.Model">
  <code>1</code>
  <msg>sample string 2</msg>
</WPSBaseModel>