# 【 更新资料收集项目】接口文档 v1.0.0
**所属平台**: PhalApi开源接口框架
**接口地址**: `https://material.glotradeso.com/?s=App.SiteCollection_Collection.Update`
**请求方式**: POST
## 接口基本信息
- **功能描述**: 更新资料收集项目的基本信息
- **返回格式**: JSON
## 请求参数说明
### 系统参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| s | string | 必填 | 接口服务名,固定为`App.SiteCollection_Collection.Update` |
### 业务参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| collection_id | int | 必填 | 资料收集ID |
| customer_name | string | 可选 | 客户名称 |
| status | int | 可选 | 状态 |
| current_step | int | 可选 | 当前步骤 |
| progress | int | 可选 | 进度 |
## 返回字段
| 返回字段 | 类型 | 说明 |
|---|---|---|
| ret | int | 接口状态码,`200`表示成功,`4xx`表示客户端非法请求,`5xx`表示服务端异常 |
| data | object/array/混合 | 接口返回的业务数据,由不同的API接口决定不同的数据返回字段和结构。|
| msg | 字符串 | 提示信息,面向技术人员的帮助或错误提示信息,成功返回时为空字符串 |
| data.collection_id | int | 资料收集ID|
| data.affected_rows | int | 影响行数|
| data.status | string | 状态|
## 请求示例
```bash
curl -X POST 'https://material.glotradeso.com/?s=App.SiteCollection_Collection.Update' \
-H 'Content-Type: application/json' \
-d '{"collection_id":"","customer_name":"","status":"","current_step":"","progress":""}'
```
返回示例:
```json
```