﻿<?xml version="1.0" encoding="utf-8" ?>
<fWxReqs>
  <fWxReq>
    <fItemId>0</fItemId>
    <fName>选择开发模式所适用的Token</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid={0}&amp;corpsecret={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>1</fItemId>
    <fName>发送文本消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "ToUserName": "{0}",
      "FromUserName": "{1}",
      "CreateTime": "{2}",
      "msgtype": "text",
      "content": "{3}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>2</fItemId>
    <fName>发送图片消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "touser": "{0}",
      "toparty": "{1}",
      "msgtype": "image",
      "agentid": "{2}",
      "image": {{
      "media_id": "{3}"
      }},
      "safe":"{4}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>3</fItemId>
    <fName>发送音频消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "touser": "{0}",
      "toparty": "{1}",
      "totag": "{2}",
      "msgtype": "voice",
      "agentid": "{3}",
      "voice": {{
      "media_id": "{4}"
      }},
      "safe":"{5}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>4</fItemId>
    <fName>发送视频消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "touser": "{0}",
      "toparty": "{1}",
      "totag": "{2}",
      "msgtype": "video",
      "agentid": "{3}",
      "video": {{
      "media_id": "{4}",
      "title": "{5}",
      "description": "{6}"
      }},
      "safe":"{7}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>5</fItemId>
    <fName>发送文件消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "touser": "{0}",
      "toparty": "{1}",
      "totag": "{2}",
      "msgtype": "file",
      "agentid": "{3}",
      "file": {{
      "media_id": "{4}"
      }},
      "safe":"{5}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>6</fItemId>
    <fName>发送news消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "touser": "{0}",
      "toparty": "{1}",
      "totag": "{2}",
      "msgtype": "news",
      "agentid": "{3}",
      "news": {{
      "articles":[{4}]
      }}
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>7</fItemId>
    <fName>发送mpnews消息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {
      "touser": "{0}",
      "toparty": "{1}",
      "totag": "{2}",
      "msgtype": "mpnews",
      "agentid": "{3}",
      "mpnews": {
      "articles":[{4}]
      }
      "safe":"{5}"
      }
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>8</fItemId>
    <fName>获取微信服务器的ip段</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/getcallbackip?access_token={0}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>9</fItemId>
    <fName>创建部门</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/department/create?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "name": "{0}",
      "parentid": "{1}",
      "order": "{2}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>10</fItemId>
    <fName>更新部门</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/department/update?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {
      "id": "{0}",
      "name": "{1}",
      "parentid": "{2}",
      "order": "{3}"
      }
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>11</fItemId>
    <fName>删除部门</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/department/delete?access_token={0}&amp;id={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>12</fItemId>
    <fName>获取部门列表</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/department/list?access_token={0}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>13</fItemId>
    <fName>创建成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/create?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "userid": "{0}",
      "name": "{1}",
      "department": [{2}],
      "position": "{3}",
      "mobile": "{4}",
      "email": "{5}",
      "weixinid": "{6}",
      "extattr": {{"attrs":[{{"name":"爱好","value":"旅游"}},{{"name":"卡号","value":"1234567234"}}]}}
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>14</fItemId>
    <fName>更新成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/update?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "userid": "{0}",
      "name": "{1}",
      "department": [{2}],
      "position": "{3}",
      "mobile": "{4}",
      "email": "{5}",
      "weixinid": "{6}",
      "enable": "{7}",
      "extattr": {{"attrs":[{{"name":"爱好","value":"旅游"}},{{"name":"卡号","value":"1234567234"}}]}}
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>15</fItemId>
    <fName>删除成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/delete?access_token={0}&amp;userid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>16</fItemId>
    <fName>批量删除成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/batchdelete?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "useridlist": [{0}]
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>17</fItemId>
    <fName>获取成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token={0}&amp;userid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>18</fItemId>
    <fName>获取部门成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/simplelist?access_token={0}&amp;department_id={1}&amp;fetch_child={2}&amp;status={3}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>19</fItemId>
    <fName>获取部门成员(详情)</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/list?access_token={0}&amp;department_id={1}&amp;fetch_child={2}&amp;status={3}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>20</fItemId>
    <fName>邀请成员关注</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/invite/send?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "userid":"{0}",
      "invite_tips":"{1}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>21</fItemId>
    <fName>创建标签</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/create?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "tagname": "{0}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>22</fItemId>
    <fName>更新标签名字</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/update?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "tagid": "{0}",
      "tagname": "{1}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>23</fItemId>
    <fName>删除标签</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/delete?access_token={0}&amp;tagid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>24</fItemId>
    <fName>获取标签成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/get?access_token={0}&amp;tagid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>25</fItemId>
    <fName>增加标签成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/addtagusers?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "tagid": "{0}",
      "userlist":[{1}],
      "partylist": [{2}]
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>26</fItemId>
    <fName>删除标签成员</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/deltagusers?access_token={0}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "tagid": "{0}",
      "userlist":[{1}],
      "partylist":[{2}]
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>27</fItemId>
    <fName>获取标签列表</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/tag/list?access_token={0}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>28</fItemId>
    <fName>上传媒体文件</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/media/upload?access_token={0}&amp;type={1}</fUrl>
    <fType>POST</fType>
    <fParams>
      {{
      "access_token":"{0}",
      "type":"{1}",
      "media":"{2}"
      }}
    </fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>29</fItemId>
    <fName>获取媒体文件</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/media/get?access_token={0}&amp;media_id={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>30</fItemId>
    <fName>二次验证</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/authsucc?access_token={0}&amp;userid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>31</fItemId>
    <fName>创建应用菜单</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/menu/create?access_token={0}&amp;agentid={1}</fUrl>
    <fType>POST</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>32</fItemId>
    <fName>删除菜单</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/menu/delete?access_token={0}&amp;agentid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>33</fItemId>
    <fName>获取菜单列表</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/menu/get?access_token={0}&amp;agentid={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>34</fItemId>
    <fName>根据code获取成员信息</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token={0}&amp;code={1}&amp;agentid={2}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>35</fItemId>
    <fName>企业获取code</fName>
    <fUrl>https://open.weixin.qq.com/connect/oauth2/authorize?appid={0}&amp;redirect_uri={1}&amp;response_type=code&amp;scope=snsapi_base&amp;state={2}#wechat_redirect</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>36</fItemId>
    <fName>获取jsapi_ticket（权限签名）</fName>
    <fUrl>https://qyapi.weixin.qq.com/cgi-bin/get_jsapi_ticket?access_token={0}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
  <fWxReq>
    <fItemId>37</fItemId>
    <fName>获取token（权限签名）</fName>
    <fUrl>https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&amp;appid={0}&amp;secret={1}</fUrl>
    <fType>GET</fType>
    <fParams></fParams>
  </fWxReq>
</fWxReqs>


