文档
测试

草稿合同(可调)

POST
/contract/saveDraft

请求头

参数名
类型
描述
必填
cookie
必填
referer
跳转地址
必填

请求参数

参数名
类型
描述
必填
contractStr
json
必填
contractPlanId
string
示例:42
必填
contractName
string
示例:GHz-测试004-local
必填
customerPo
string
示例:
必填
customerId
string
示例:1
必填
referContractCode
string
示例:
必填
contractSrc
string
示例:1
必填
paybackPlanId
string
示例:7485
必填
salesCommissionRate
string
示例:100
必填
receiptSubject
string
示例:2
必填
contractType
string
示例:1
必填
busiType
string
示例:1
必填
payMethod
string
示例:1
必填
payAccount
string
示例:
必填
invoiceTitle
string
示例:广*33*司
必填
creditCode
string
示例:2*21*f
必填
bank
string
示例:2
必填
bankAccount
string
示例:2*17*0
必填
invoiceAddress
string
示例:广*15*区
必填
invoicePhone
string
示例:2*11*0
必填
beginTime
string
示例:2021-07-14
必填
endTime
string
示例:2021-07-31
必填
needInvoice
string
示例:0
必填
moliContractId
string
示例:
必填
moliTaskId
string
示例:
必填
yesFinalAmount
string
示例:
必填
preDemandId
string
示例:0
必填
preCustomerId
string
示例:0
必填
preCustomerName
string
示例:
必填
finalAmount
string
示例:2500.00
必填
commissionLinks
array
数据列表
必填
contractKpis
string
示例:
必填
resources
array
数据列表
必填
id
string
示例:
必填
projectId
string
示例:
必填
itemId
string
示例:101
必填
projectName
string
示例:GHz-测试004-local-1
必填
projectCustomerIds
string
示例:1
必填
projectSalesId
string
示例:8004
必填
resourceLocation
string
示例:28
必填
articleCount
string
示例:1
必填
showCount
string
示例:1
必填
resourceUnitRealPrice
string
示例:1500.00
必填
resourceRealPrice
string
示例:1500.00
必填
totalAmt
string
示例:1500.00
必填
resourcePrice
string
示例:1500.00
必填
articleType
string
示例:1
必填
drId
string
示例:
必填
needCustomerAudit
string
示例:1
必填
liveStartDate
string
示例:
必填
liveEndDate
string
示例:
必填
productId
string
示例:
必填
levelName
string
示例:
必填
shopId
string
示例:
必填
shopLinks
string
示例:
必填
productName
string
示例:
必填
productLink
string
示例:
必填
hasLocation
string
示例:
必填
specialDemand
string
示例:
必填
drDemand
string
示例:
必填
kpi
string
示例:
必填
commissionRate
string
示例:
必填
liveForm
string
示例:
必填
fans
string
示例:
必填
pv
string
示例:
必填
isNewLive
string
示例:
必填
discountInfo
string
示例:
必填
remark
string
示例:
必填
status
string
示例:
必填
type
string
示例:
必填
lineNo
int
示例:1
必填
isGroupBuy
int
是否参加团购
必填
groupBuyResourceShareId
int
团购方案坑位id
必填
groupBuyResourceId
int
团购方案id
必填
installmentStr
string
示例:
必填
totalAmount
string
示例:2500.00
必填
sealFileNameStr
string
示例:
必填
sealFileUrlStr
string
示例:
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:成功
必填
result
object
数据字典
必填
status
int
示例:0
必填

说明 / 示例

{"contractPlanId":"42","contractName":"GHz-测试004-local","customerPo":"","customerId":"1","referContractCode":"","contractSrc":"1","paybackPlanId":"7485","salesCommissionRate":"100","receiptSubject":"2","contractType":"1","busiType":"1","payMethod":"1","payAccount":"","invoiceTitle":"广*33*司","creditCode":"2*21*f","bank":"2","bankAccount":"2*17*0","invoiceAddress":"广*15*区","invoicePhone":"2*11*0","beginTime":"2021-07-14","endTime":"2021-07-31","needInvoice":"0","moliContractId":"","moliTaskId":"","yesFinalAmount":"","preDemandId":"0","preCustomerId":"0","preCustomerName":"","finalAmount":"2500.00","commissionLinks":[],"contractKpis":"","resources":[{"id":"","projectId":"","itemId":"101","projectName":"GHz-测试004-local-1","projectCustomerIds":"1","projectSalesId":"8004","resourceLocation":"28","articleCount":"1","showCount":"1","resourceUnitRealPrice":"1500.00","resourceRealPrice":"1500.00","totalAmt":"1500.00","resourcePrice":"1500.00","articleType":"1","drId":"","needCustomerAudit":"1","liveStartDate":"","liveEndDate":"","productId":"","levelName":"","shopId":"","shopLinks":"","productName":"","productLink":"","hasLocation":"","specialDemand":"","drDemand":"","kpi":"","commissionRate":"","liveForm":"","fans":"","pv":"","isNewLive":"","discountInfo":"","remark":"","status":"","type":"","lineNo":1},{"id":"","projectId":"","itemId":"101","projectName":"GHz-测试004-local-1","projectCustomerIds":"1","projectSalesId":"8004","resourceLocation":"539","articleCount":"1","showCount":"1","resourceUnitRealPrice":"1000.00","resourceRealPrice":"1000.00","totalAmt":"1000.00","resourcePrice":"1000.00","articleType":"1","drId":"","needCustomerAudit":"1","liveStartDate":"2021-07-14","liveEndDate":"2021-07-31","productId":"134","levelName":"1","shopId":"1","shopLinks":"https://shop-1.taobao.com/","productName":"willbe测试商品 ","productLink":"https://item.taobao.com/item.htm?id=123456789","hasLocation":"是","specialDemand":"","drDemand":"","kpi":"","commissionRate":"100","liveForm":"1002","fans":"","pv":"","isNewLive":"","discountInfo":"","remark":"","status":"","type":"","lineNo":2}],"installmentStr":"","totalAmount":"2500.00","sealFileNameStr":"","sealFileUrlStr":""}