POST api/WeChat/WE_WeChatNoticeSet

微信推送提醒设置

Request Information

Parameters

NameDescriptionAdditional information
vm

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "IsAllNotice": "sample string 1",
  "OpenId": "sample string 2",
  "StartTime": "sample string 3",
  "EndTime": "sample string 4",
  "IsVoyageChangeNotice": "sample string 5",
  "IsSetSailNotice": "sample string 6",
  "IsMooringNotice": "sample string 7",
  "IsBerthingNotice": "sample string 8",
  "IsShipDynamicNotice": "sample string 9",
  "ShipTeamNotice": [
    {
      "Id": 1,
      "ShipName": "sample string 2",
      "IsAcceptNotice": 3
    },
    {
      "Id": 1,
      "ShipName": "sample string 2",
      "IsAcceptNotice": 3
    },
    {
      "Id": 1,
      "ShipName": "sample string 2",
      "IsAcceptNotice": 3
    }
  ]
}

text/html

Sample:
{"IsAllNotice":"sample string 1","OpenId":"sample string 2","StartTime":"sample string 3","EndTime":"sample string 4","IsVoyageChangeNotice":"sample string 5","IsSetSailNotice":"sample string 6","IsMooringNotice":"sample string 7","IsBerthingNotice":"sample string 8","IsShipDynamicNotice":"sample string 9","ShipTeamNotice":[{"Id":1,"ShipName":"sample string 2","IsAcceptNotice":3},{"Id":1,"ShipName":"sample string 2","IsAcceptNotice":3},{"Id":1,"ShipName":"sample string 2","IsAcceptNotice":3}]}

application/xml, text/xml

Sample:
<WeChatNoticeInfoParms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Public.Model.WeChat">
  <EndTime>sample string 4</EndTime>
  <IsAllNotice>sample string 1</IsAllNotice>
  <IsBerthingNotice>sample string 8</IsBerthingNotice>
  <IsMooringNotice>sample string 7</IsMooringNotice>
  <IsSetSailNotice>sample string 6</IsSetSailNotice>
  <IsShipDynamicNotice>sample string 9</IsShipDynamicNotice>
  <IsVoyageChangeNotice>sample string 5</IsVoyageChangeNotice>
  <OpenId>sample string 2</OpenId>
  <ShipTeamNotice>
    <ShipTeamNoticeInfo>
      <Id>1</Id>
      <IsAcceptNotice>3</IsAcceptNotice>
      <ShipName>sample string 2</ShipName>
    </ShipTeamNoticeInfo>
    <ShipTeamNoticeInfo>
      <Id>1</Id>
      <IsAcceptNotice>3</IsAcceptNotice>
      <ShipName>sample string 2</ShipName>
    </ShipTeamNoticeInfo>
    <ShipTeamNoticeInfo>
      <Id>1</Id>
      <IsAcceptNotice>3</IsAcceptNotice>
      <ShipName>sample string 2</ShipName>
    </ShipTeamNoticeInfo>
  </ShipTeamNotice>
  <StartTime>sample string 3</StartTime>
</WeChatNoticeInfoParms>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.