文档中心 > API类目 > 生意参谋API

taobao.sycm.service.ucc.enterprise.notify (公告按企业投放)

公告按企业投放

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
platform_id String 可选 1 平台id
enterprise_id String 可选 1 企业id

响应参数

名称 类型 示例值 描述
result NoticeBO [] 0
  • └ notify_module
  • String
  • 0
  • 0
  • └ end_date
  • Date
  • 0
  • 0
  • └ notify_priority
  • Number
  • 0
  • 0
  • notify_process
  • NotifyProcessDO
  • 0
  • └ stat_date
  • Date
  • 0
  • 0
  • └ gmt_modify
  • Date
  • 0
  • 0
  • └ sender_user_id
  • Number
  • 0
  • 0
  • └ end_date
  • Date
  • 0
  • 0
  • └ is_received
  • Number
  • 0
  • 0
  • └ notify_id
  • Number
  • 0
  • 0
  • └ id
  • String
  • 0
  • 0
  • └ gmt_create
  • Date
  • 0
  • 0
  • └ content
  • String
  • 0
  • 0
  • └ start_date
  • Date
  • 0
  • 0
  • └ receiver_user_id
  • Number
  • 0
  • 0
  • └ template_id
  • Number
  • 0
  • 0
  • └ crowd_id
  • Number
  • 0
  • 0
  • └ notify_location
  • String
  • 0
  • 0
  • └ notify_type
  • String
  • 0
  • 0
  • └ notify_process_id
  • String
  • 0
  • 0
  • └ notify_tools
  • String
  • 0
  • 0
  • └ notify_name
  • String
  • 0
  • 0
  • └ receiver_trigger
  • String
  • 0
  • 0
  • └ notify_id
  • Number
  • 0
  • 0
  • └ notify_frequency
  • String
  • 0
  • 0
  • notify_template
  • NotifyTemplateBO
  • 0
  • └ template_type
  • String
  • 0
  • 0
  • └ template_type_id
  • Number
  • 0
  • 0
  • └ stat_date
  • Date
  • 0
  • 0
  • └ creator
  • String
  • 0
  • 0
  • └ template_name
  • String
  • 0
  • 0
  • └ template_content
  • String
  • 0
  • 0
  • └ template_source
  • String
  • 0
  • 0
  • └ template_code
  • String
  • 0
  • 0
  • └ template_id
  • Number
  • 0
  • 0
  • └ gmt_create
  • Date
  • 0
  • 0
  • └ notify_receive
  • String
  • 0
  • 0
  • └ notify_env
  • String
  • 0
  • 0
  • └ notify_crowd_inverse
  • String
  • 0
  • 0
  • └ notify_trigger
  • String
  • 0
  • 0
  • └ notify_code
  • String
  • 0
  • 0
  • └ notify_code_name
  • String
  • 0
  • 0
  • └ start_date
  • Date
  • 0
  • 0
  • └ group_code
  • String
  • 0
  • 0

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SycmServiceUccEnterpriseNotifyRequest req = new SycmServiceUccEnterpriseNotifyRequest();
req.setPlatformId("1");
req.setEnterpriseId("1");
SycmServiceUccEnterpriseNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<sycm_service_ucc_enterprise_notify_response>
    <result>
        <notice_b_o>
            <notify_module>0</notify_module>
            <end_date>0</end_date>
            <notify_priority>0</notify_priority>
            <notify_process>
                <stat_date>0</stat_date>
                <gmt_modify>0</gmt_modify>
                <sender_user_id>0</sender_user_id>
                <end_date>0</end_date>
                <is_received>0</is_received>
                <notify_id>0</notify_id>
                <id>0</id>
                <gmt_create>0</gmt_create>
                <content>0</content>
                <start_date>0</start_date>
                <receiver_user_id>0</receiver_user_id>
            </notify_process>
            <template_id>0</template_id>
            <crowd_id>0</crowd_id>
            <notify_location>0</notify_location>
            <notify_type>0</notify_type>
            <notify_process_id>0</notify_process_id>
            <notify_tools>0</notify_tools>
            <notify_name>0</notify_name>
            <receiver_trigger>0</receiver_trigger>
            <notify_id>0</notify_id>
            <notify_frequency>0</notify_frequency>
            <notify_template>
                <template_type>0</template_type>
                <template_type_id>0</template_type_id>
                <stat_date>0</stat_date>
                <creator>0</creator>
                <template_name>0</template_name>
                <template_content>0</template_content>
                <template_source>0</template_source>
                <template_code>0</template_code>
                <template_id>0</template_id>
                <gmt_create>0</gmt_create>
            </notify_template>
            <notify_receive>0</notify_receive>
            <notify_env>0</notify_env>
            <notify_crowd_inverse>0</notify_crowd_inverse>
            <notify_trigger>0</notify_trigger>
            <notify_code>0</notify_code>
            <notify_code_name>0</notify_code_name>
            <start_date>0</start_date>
            <group_code>0</group_code>
        </notice_b_o>
    </result>
</sycm_service_ucc_enterprise_notify_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部