路客云
  1. 其他
路客云
  • 客户端API
    • 静态信息
      • 保存房源
      • 房源下架
      • 保存门店
      • 门店发布
      • 门店预审核处理
    • 渠道
      • 飞猪
        • 渠道移除关联
  • 房型分组
    • 保存&同步渠道价格计划
      POST
  • 房型
    • 渠道房型同步
      POST
  • 其他
    • common获取接口
      POST
  1. 其他

common获取接口

POST
/commons/get

请求参数

Header 参数
hudson-access-token
string 
必需
示例值:
{{token}}
Content-Type
string 
必需
默认值:
application/json
Body 参数application/json
code
string 
必需
campId
integer 
必需
示例
{
  "campId": 1189446247193096200,
  "code": "hudson.im.specialOffer.support.channels"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://hudson-dev.localhome.cn/commons/get' \
--header 'hudson-access-token: 4266fea25ef44b61a435bb5944e392ac' \
--header 'hudson-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "campId":1189446247193096192,"code":"hudson.im.specialOffer.support.channels"
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{}
🟢200统一返回
上一页
渠道房型同步
Built with