GET api/package/info/{packageId}
获取package详细
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
packageId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取package详细
ReturnResultOfPackageInfoContractName | Description | Type | Additional information |
---|---|---|---|
data | PackageInfoContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "packageid": 1, "productid": "sample string 2", "packagename": "sample string 3", "city": "sample string 4", "hotelname": "sample string 5", "packagecoverpic": "sample string 6", "duration": 7, "durationnight": 8, "validdatef": "2024-12-23T20:12:46.114747+08:00", "validdatet": "2024-12-23T20:12:46.114747+08:00", "airlinec": "sample string 11", "airlinename": "sample string 12", "ticketvaliddays": 13, "currency": "sample string 14", "price": 15.0, "desc": "sample string 16", "titledesc": "sample string 17", "remark": "sample string 18", "metatitle": "sample string 19", "metadesc": "sample string 20", "createdate": "2024-12-23T20:12:46.114747+08:00", "fromCity": "sample string 22", "toCity": "sample string 23", "filelist": [ { "<FileId>k__BackingField": 1, "<FileType>k__BackingField": "sample string 2", "<FilePath>k__BackingField": "sample string 3", "<CreateDate>k__BackingField": "2024-12-23T20:12:46.114747+08:00" }, { "<FileId>k__BackingField": 1, "<FileType>k__BackingField": "sample string 2", "<FilePath>k__BackingField": "sample string 3", "<CreateDate>k__BackingField": "2024-12-23T20:12:46.114747+08:00" } ], "attrlist": [ { "attrid": 1, "attrname": "sample string 2", "parentId": 3, "orderby": 4, "packageid": 5 }, { "attrid": 1, "attrname": "sample string 2", "parentId": 3, "orderby": 4, "packageid": 5 } ], "parentattrlist": [ { "attrid": 1, "attrname": "sample string 2", "parentId": 3, "orderby": 4 }, { "attrid": 1, "attrname": "sample string 2", "parentId": 3, "orderby": 4 } ] }, "code": 1, "message": "sample string 2" }