销售易应收款新增_v1API接口文档
所属平台:
销售易
类型:
WebAPI
作用:
EXECUTE
接口版本:
0.1
适配器:
\Adapter\Xiaoshouyi\XSYExecuteAdapter
描述:
更新日期:
2021-07-15 10:29:09
应收款新增_v1
接口地址:/rest/data/v2.0/xobjects/invoice
请求方法: POST
加工厂: {"operation":{"method":"none"}}
接口请求参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|---|---|---|---|---|---|
| 1 | type | type | string | 1 | 111 | 否 |
| 2 | accountId | accountId | string | 1 | 111 | 是 |
| 3 | companyName | companyName | string | 1 | 111 | 否 |
| 4 | entityType | entityType | string | 1 | 111 | 是 |
| 5 | transactionDate | transactionDate | string | 1 | 111 | 是 |
| 6 | dimDepart | dimDepart | string | 1 | 111 | 是 |
| 7 | contactPhone | contactPhone | string | 1 | 111 | 否 |
| 8 | number | number | string | 1 | 111 | 否 |
| 9 | postcode | postcode | string | 1 | 111 | 否 |
| 10 | address | address | string | 1 | 111 | 否 |
| 11 | description | description | string | 1 | 111 | 否 |
| 12 | contactName | contactName | string | 1 | 111 | 否 |
| 13 | ownerId | ownerId | string | 1 | 111 | 否 |
| 14 | status | status | string | 2 | 111 | 否 |
| 15 | dueDate | dueDate | string | 1 | 111 | 否 |
| 16 | items | items | array | 1 | 111 | 否 |
| 17 | invoiceId | invoiceId | string | 1 | 111 | 否 |
| 18 | objectApiKey | objectApiKey | string | 1 | 111 | 否 |
| 19 | entityType | entityType | string | 1 | 111 | 否 |
| 20 | dimDepart | dimDepart | string | 1 | 111 | 否 |
| 21 | transactionDate | transactionDate | string | 1 | 111 | 是 |
| 22 | orderId | orderId | string | 1 | 111 | 否 |
| 23 | orderProductId | orderProductId | string | 1 | 111 | 是 |
| 24 | productId | productId | string | 1 | 111 | 否 |
| 25 | amount | amount | string | 1 | 111 | 是 |
| 26 | status | status | string | 2 | 1:草稿 2:生效 3:已作废 | 否 |
| 27 | dueDate | dueDate | string | 1 | 111 | 否 |
接口响应参数
| 序号 | 字段 | 名称 | 类型 | 默认值 | 描述 | 是否必要 |
|---|
销售易的接口:应收款新增_v1(/rest/data/v2.0/xobjects/invoice),由轻易云数据集成平台API资产管理模块整理收纳,并且根据销售易版本更新同步实时更新。API资产管理平台支持API的版本控制和回滚,确保API的稳定性和可靠性,减少因API变更导致的业务中断和数据不一致问题。
