Skip to content

合同列表

Request

Url
text
[POST] : https://eapi.paiago.com/ZKGJ/Contract/Receivable/?access_token={access_token}
请求参数:
参数类型描述示例
Fieldarray请求字段[]
  > idstring合同id
  > contract_namestring合同名称
  > contract_numberstring合同编号
  > contract_moneystring合同金额
  > receivable_moneystring回款金额
  > no_receivable_moneystring未回款金额
  > contract_datestring合同日期
  > maturity_datestring到期日期(非必填)
  > label_idstring合同标签id集合
  > customer_idstring客户Id
  > customer_namestring客户名称
  > leader_idstring合同跟进人id从客户负责人中取,
客户无负责人任意人员
  > followup_depart_idstring部门id
  > followup_depart_namestring部门名称
  > add_userstring创建人id
  > add_datestring创建时间
  > labelsstring合同标签名称
  > projectstring关联项目
  > project_idsstring关联项目id
Orderarray排序规则
Wherearray查询条件
Pagenumber页数0
ListRownumber条数20
请求示例:
json
{
    "Field":[
        "id",
        "contract_name",
        "contract_number",
        "contract_money",
        "receivable_money",
        "no_receivable_money",
        "contract_date",
        "maturity_date",
        "label_id",
        "customer_id",
        "customer_name",
        "leader_id",
        "followup_depart_id",
        "followup_depart_name",
        "add_user",
        "add_date",
        "labels",
        "project",
        "project_ids"
    ],
    "Order":{
        "id": "desc"
    },
    "Where":[

    ],
    "Page":1,
    "ListRow":1
}

Response

响应参数
参数描述类型示例
count总数int
data列表(详见请求Field释义)array(object)
响应示例:
json
{
    "data":[
        {
            "id":"WiiiJmSy0",
            "contract_name":"小明的普通合同",
            "contract_number":"123456789",
            "contract_money":"1000.00",
            "receivable_money":"600.00",
            "no_receivable_money":"400.00",
            "contract_date":"2021-09-01",
            "maturity_date":null,
            "label_id":"1,2",
            "customer_id":2,
            "customer_name":null,
            "leader_id":801114,
            "followup_depart_id":27969133,
            "followup_depart_name":null,
            "add_user":801114,
            "add_date":1505186235,
            "labels":"北京欢迎你,给一个理由",
            "project":" 添加项目统计数据4,新建项目123",
            "project_ids": "lemCs7j0C,XziSmsasg"
        }
    ],
    "count":519,
    "errcode":0,
    "errmsg":"请求成功",
    "request_id":null,
    "env":"zkgj-cs"
}