GET GetPushSetting?aid={aid}&shopId={shopId}
获取推送设置
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| aid |
用户ID |
string |
Required |
| shopId |
商城ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
PushSetting| Name | Description | Type | Additional information |
|---|---|---|---|
| IsPushQuotation |
是否推送经典语录 |
boolean |
None. |
| IsPushVideo |
是否推送精彩视频 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsPushQuotation": true,
"IsPushVideo": true
}
application/xml, text/xml
Sample:
<PushSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models"> <IsPushQuotation>true</IsPushQuotation> <IsPushVideo>true</IsPushVideo> </PushSetting>