GET api/v2/flight/cabinclass/getlist/{lang}

獲取艙位等級列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Required

Body Parameters

None.

Response Information

Resource Description

獲取艙位等級列表

ReturnResultOfCabinClassListContract
NameDescriptionTypeAdditional information
data

CabinClassListContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "lastUpdate": "2024-12-23T20:12:42.8959364+08:00",
    "classList": [
      {
        "code": "sample string 1",
        "name": "sample string 2",
        "displayOrder": 3
      },
      {
        "code": "sample string 1",
        "name": "sample string 2",
        "displayOrder": 3
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}