POST api/localtravel/crosssale/{lang}?sources={sources}
交叉销售
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | string |
Required |
|
sources | string |
Default value is |
Body Parameters
GlobalCrossSaleRQContractName | Description | Type | Additional information |
---|---|---|---|
tourgroupid |
旅行团id |
string |
None. |
themeId |
享乐游id |
string |
None. |
packageId |
Packageid |
string |
None. |
items | Collection of GlobalCrossSaleItemRQContract |
None. |
Request Formats
application/json, text/json
Sample:
{ "tourgroupid": "sample string 1", "themeId": "sample string 2", "packageId": "sample string 3", "items": [ { "reqtype": 0, "quantity": 1 }, { "reqtype": 0, "quantity": 1 } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
交叉销售
ReturnResultOfGlobalCrossSaleRSContractName | Description | Type | Additional information |
---|---|---|---|
data | GlobalCrossSaleRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "tourgroupitems": [ { "tourId": "sample string 1", "tourCode": "sample string 2", "title": "sample string 3", "imageUrl": "sample string 4", "price": 5.0, "urlcategory": "sample string 6" }, { "tourId": "sample string 1", "tourCode": "sample string 2", "title": "sample string 3", "imageUrl": "sample string 4", "price": 5.0, "urlcategory": "sample string 6" } ], "daytouritems": [ { "themeid": "sample string 1", "title": "sample string 2", "filePath": "sample string 3", "resType": 0, "sellPrice": 4.0, "currencyCode": "sample string 5", "source": 6, "urlcategory": "sample string 7" }, { "themeid": "sample string 1", "title": "sample string 2", "filePath": "sample string 3", "resType": 0, "sellPrice": 4.0, "currencyCode": "sample string 5", "source": 6, "urlcategory": "sample string 7" } ], "packagetouritems": [ { "tourId": "sample string 1", "tourCode": "sample string 2", "title": "sample string 3", "imageUrl": "sample string 4", "price": 5.0, "urlcategory": "sample string 6" }, { "tourId": "sample string 1", "tourCode": "sample string 2", "title": "sample string 3", "imageUrl": "sample string 4", "price": 5.0, "urlcategory": "sample string 6" } ] }, "code": 1, "message": "sample string 2" }