# 1、新增
## 接口描述
新增
投訴
## 接口地址
~~~
https://ip/app/complaint/saveComplaintsAdvice
~~~
## 請求參數
| 字段 | 類型 | 是否必須 | 備注 |
| --- | --- | --- | --- |
| accountId| string| 是| 賬號ID|
|complaint_id|string|否|主鍵ID|
|openId|string|是|openId|
|airport_code|string|是|機場代碼|
|complaint_code|string|是|投訴代碼|
|complaint_content|string|是|投訴內容|
|complaint_in|int|是|投訴來源1:微信小程序2:線下|
|commit_time|string|是|投訴時間|
|phone_number|string|是|聯系方式|
## 請求報文
數據類型Content-Type: form-data
```
{ "complaintAttachmentDTOS": \[ { "complainOrReply": "string", "complaintId": "string", "createTime": "2020-07-21T02:32:12.783Z", "documentType": "string", "duration": 0, "id": "string", "maintainer": "string", "remark": "string", "reserve1": "string", "reserve2": "string", "reserve3": "string", "updateTime": "2020-07-21T02:32:12.783Z", "url": "string" } \], "complaintDTO": { "accountId": "string", "category": "string", "causeTypeCode": "string", "causeTypeName": "string", "certNo": "string", "complaintCode": "string", "complaintName": "string", "complaintTime": "2020-07-21T02:32:12.783Z", "complaintTypeName": "string", "content": "string", "counterId": "string", "counterName": "string", "createTime": "2020-07-21T02:32:12.783Z", "email": "string", "flight": "string", "flightDate": "2020-07-21T02:32:12.783Z", "id": "string", "linkTypeCode": "string", "linklTypeName": "string", "maintainer": "string", "orderCode": "string", "publishTime": "2020-07-21T02:32:12.783Z", "publisher": "string", "remark": "string", "reply": "string", "replyPoint": 0, "replyState": "string", "replyTime": "2020-07-21T02:32:12.783Z", "replyerId": "string", "replyerName": "string", "requestId": "string", "reserve1": "string", "reserve2": "string", "reserve3": "string", "tenantId": "string", "tenantName": "string", "updateTime": "2020-07-21T02:32:12.783Z", "vendorId": "string", "vendorName": "string" } }
```
## 響應參數
| 字段 | | 類型 | 描述 | 備注 |
| --- | --- | --- | --- | --- |
| code | | String | 返回狀態 | 500 - 失敗 200 - 成功 |
| message | | String | 錯誤說明 | 請求失敗或者發生錯誤的具體描述 |
| timeStamp | | datetime | 請求時間戳 | 請求時帶的時間戳 |
| result | | Object | | 結果集 |
## 響應報文
```
{ "success": false, "message": "{complaintTypeId=投訴類型Id不能為空, accountId=賬戶Id不能為空}", "code": 500, "timestamp": 1595300121000, "result": null }
```
- 1、接入指南
- 2、接口列表
- 2.1、中轉服務
- 2.1.1、行李免提訂單生成修改
- 2.1.2、行李免提訂單狀態推送
- 2.1.3、中轉禮包接口
- 2.2、用戶中心
- 2.2.1、服務人員
- 2.2.2、車輛管理
- 2.2.3、商戶管理
- 2.2.4、token相關
- 2.2.5、投訴對接
- 2.2.6、會員相關
- 2.3、消息中心
- 2.3.1、短信消息
- 2.3.2、語音消息
- 2.4、航班中心
- 2.4.1、獲得指定離港航班信息
- 2.4.2、獲得指定進港航班信息
- 2.4.3、獲取離港航班信息列表
- 2.4.4、獲取進港航班信息列表
- 2.4.5、獲取離港目的地列表
- 2.4.6、獲取進港出發地列表
- 2.4.7、獲取熱門城市列表
- 2.4.8、獲得安檢信息列表
- 2.4.9、獲得值機信息列表
- 2.4.10、中轉數據MQ接入
- 2.4.11、數據中心MQ數據(含安檢)
- 2.5、訂單中心
- 2.5.1、核銷接口
- 2.6、對接中心
- 2.6.1大巴對接
- 2.6.2停車對接
- 2.6.3app對接
- 3、常見問題