API中心

  1. 销售管理
  2. 销售价格
返回

销售报价单取消审批

接口所在U8C版本:U8 cloud2.7以及更高版本
详细描述:用于销售报价单取消审批
API视频讲解API详情补丁列表常见问题参考
接口地址
请求方式
请求参数header
请求参数body
返回类型参数
代码示例
请求参数示例
正确返回示例
错误返回示例
接口地址:http://ip:portu8cloud/api/soprice/salequoteprice/unapprove

参数填写指南

请求方式:POST

请求参数(header):

参数填写指南
参数名必填描述默认值
Content-Type请求体数据类型application/json
usercode用户
password密码
trantype翻译类型,按编码为code,不需要翻译为pkcode
system系统参数

请求参数(body):

参数名类型是否数组必填描述默认值
approveinfo审批信息
approveDatestring审核时间(格式:YYYY-MM-DD)
approvidstring审批人
notestring批语
statusstring审批状态(Y:通过,N:不通过,R:驳回)
queryinfo查询信息
childrenvo表体查询
corp_codestring公司编码
corp_namestring公司名称
currency_codestring币种编码
currency_namestring币种名称
inventory_codestring存货编码
inventory_namestring存货名称
ndiscountrate string整单折扣率
nitemdiscountrate string单品折扣率
nnetprice string本币无税净价
norigianlcurtaxprice string原币含税单价
noriginakcurprice string原币无税单价
noriginalcurnetprice string原币无税净价
noriginalcurtaxnetprice string原币含税净价
nprice string本币无税单价
ntaxnetprice string本币含税净价
ntaxprice string本币含税单价
packunit_codestring辅单位编码
packunit_namestring辅单位名称
pk_defdoc1 string自定义项主键1
unit_codestring主计量单位编码
unit_namestring主计量单位名称
vdef1 string自定义项1
vfree1 string自由项1 ,一共五项
vrowmemo string备注
parentvo表头查询
biztype_codestring业务类型编码
biztype_namestring业务类型名称
cauditor_codestring审批人编码
cauditorid_namestring审批人名称
cbiztypeidstring业务类型
ccurrencyid string币种ID
corp_codestring公司编码
corp_namestring 公司名称
creceiptcustomerid string收货单位ID
csalestructid string销售组织
currency_codestring币种编码
currency_namestring币种名称
customer_codestring客户编码
customer_namestring客户名称
ddeliverdate string交货日期
department_codestring部门编码
department_namestring部门名称
dexpiredate string失效日期
dmakedate string制单日期
dreceiptdate string报价日期
employee_codestring业务员编码
employee_namestring业务员名称
ndiscountrate string整单折扣率
nexchangerate string汇率
operator_codestring制单人编码
operator_namestring制单人名称
pk_defdoc1 string自定义项主键1 ,一共二十项
salestruct_codestring销售组织编码
salestruct_namestring销售组织名称-
vdef1 string自定义项1 ,一共二十项

返回类型参数:

参数名类型是否数组必填描述默认值
No Data

请求参数示例:

复制代码

  {
    "queryinfo": {
        "date_end": "2018-05-31",
        "date_begin": "2018-05-24",
        "code": [
            "CDTH1805310229"
        ],
        "corp": "1000"
    },
    "approveinfo": {
        "approveDate": "2018-05-30",
        "status": "Y"
        "approvid": "14444444005"
    }
}

正确返回示例:

复制代码

输入的json:{"queryinfo":{"code":["JGTH1904150045"],"corp":"1001"},"approveinfo":{"approvid":"13203310302","approveDate":"2019-02-19"}}
返回的数据:{
返回的数据:  "status": "success",
返回的数据:  "data": "成功了1条"
返回的数据:}
[Ljava.lang.String;@309239

错误返回示例:

复制代码

输入的json:{"queryinfo":{"code":["JGTH1904150045"],"corp":"1001"},"approveinfo":{"approvid":"13203310302","approveDate":"2019-02-14"}}
返回的数据:{
返回的数据:  "status": "falied",
返回的数据:  "errormsg": "Array index out of range: 0",
}