alibaba.damai.mev.open.push.paperformat (大麦换验平台-第三方对外开放-票纸版式接口pushPaperFormat)

pushPaperFormat

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
push_paper_format_param ThirdPaperFormatPushOpenParam 可选 入参pushPaperFormatParam
  • └ paper_format_id
  • Number
  • 可选
  • 0
  • 票纸版式id
  • └ paper_format_name
  • String
  • 可选
  • foo
  • 票纸版式名称
  • └ print_type
  • Number
  • 可选
  • 0
  • 打印类型
  • └ push_time
  • Date
  • 可选
  • 2017-01-01 00:00:00
  • 推送时间
  • └ supplier_secret
  • String
  • 可选
  • foo
  • 商户密钥
  • └ system_id
  • Number
  • 可选
  • 0
  • 系统id

响应参数

名称 类型 示例值 描述
result Result result result
  • └ error_code
  • Number
  • 0
  • 错误码
  • └ error_msg
  • String
  • foo
  • 错误信息
  • └ model
  • Boolean
  • false
  • 返回结果
  • └ success
  • Boolean
  • false
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMevOpenPushPaperformatRequest req = new AlibabaDamaiMevOpenPushPaperformatRequest();
AlibabaDamaiMevOpenPushPaperformatRequest.ThirdPaperFormatPushOpenParam obj1 = new AlibabaDamaiMevOpenPushPaperformatRequest.ThirdPaperFormatPushOpenParam();
obj1.setPaperFormatId(0L);
obj1.setPaperFormatName("foo");
obj1.setPrintType(0L);
obj1.setPushTime(StringUtils.parseDateTime("2017-01-01 00:00:00"));
obj1.setSupplierSecret("foo");
obj1.setSystemId(0L);
req.setPushPaperFormatParam(obj1);
AlibabaDamaiMevOpenPushPaperformatResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_mev_open_push_paperformat_response>
    <result>
        <error_code>0</error_code>
        <error_msg>foo</error_msg>
        <model>false</model>
        <success>false</success>
    </result>
</alibaba_damai_mev_open_push_paperformat_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

返回
顶部