Appearance
功能概述
土地流程选择服务商
接口访问
接口地址
land/service/business
请求方式 Method
POST
Header - Authorization Type : Bearer Token
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 | 访问版本 |
|---|---|---|---|---|---|---|
| token | string | 32 | true | 用户身份标识令牌 | - |
请求参数
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|---|
| landID | int | 11 | true | 土地ID | |
| progressID | int | 11 | true | 进度ID | |
| serviceProviderCompanyID | int | 50 | true | 服务商企业ID | |
| serviceProviderBusinessID | int | 11 | false | 服务商业务ID | |
| content | string | 256 | false | 流程内容 | |
| demand | string | 256 | false | 针对服务商提出需求内容 | |
| uploadType | string | 32 | true | 流程类型 files-文件 image-图片 video-视频 | |
| uploadContent | array | 256 | true | 流程信息 |
uploadContent
| 属性 | 类型 | 长度 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|---|
| materialName | string | 11 | true | 文件名(自定义) | |
| materialFileName | string | 256 | true | 文件名(系统文件名) | |
| materialUrl | string | 32 | true | 文件地址 | |
| materialFileFormat | string | 256 | true | 文件类型 | |
| materialFileSize | string | 256 | true | 文件大小 |
返回示例
{
"response": {
"Code": "200",
"Message": "Success"
},
"requestId": "97223860-17fd-4741-84c5-ed157de85cf3"
}错误码
| 错误码 | 错误描述 | 解决思路 |
|---|---|---|
| 404 | Fail | 未知错误,请联系管理员 |
| 20001 | 土地信息不存在 | 土地信息数据ID错误 |
| 20010 | 该进度不存在,请联系管理员 | 选择的进度ID错误 |
