GET api/localtravel/getBookingForm/{lang}/{sid}?memberId={memberId}&shoppingCartIds={shoppingCartIds}

獲取購物表單

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

語言

string

Required

sid

sessionId

string

Required

memberId

會員ID(空是為匿名用戶)

string

Default value is

shoppingCartIds

購物車ID(多個","分隔,空時為所有購物車)

string

Default value is

Body Parameters

None.

Response Information

Resource Description

獲取購物表單

ReturnResultOfLocalTravelBookingFormRSContract
NameDescriptionTypeAdditional information
data

LocalTravelBookingFormRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "themeForms": [
      {
        "cartId": "sample string 1",
        "themeId": "sample string 2",
        "themeName": "sample string 3",
        "planId": "sample string 4",
        "planName": "sample string 5",
        "source": 6,
        "themeForms": [
          {
            "formId": "sample string 1",
            "inputType": 0,
            "inputName": "sample string 2",
            "inputTip": "sample string 3",
            "remark": "sample string 4",
            "isRequired": true,
            "inputValues": [
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              },
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              }
            ]
          },
          {
            "formId": "sample string 1",
            "inputType": 0,
            "inputName": "sample string 2",
            "inputTip": "sample string 3",
            "remark": "sample string 4",
            "isRequired": true,
            "inputValues": [
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              },
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              }
            ]
          }
        ],
        "priceRankForm": [
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "count": 3,
            "formList": [
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              },
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              }
            ]
          },
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "count": 3,
            "formList": [
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              },
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "cartId": "sample string 1",
        "themeId": "sample string 2",
        "themeName": "sample string 3",
        "planId": "sample string 4",
        "planName": "sample string 5",
        "source": 6,
        "themeForms": [
          {
            "formId": "sample string 1",
            "inputType": 0,
            "inputName": "sample string 2",
            "inputTip": "sample string 3",
            "remark": "sample string 4",
            "isRequired": true,
            "inputValues": [
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              },
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              }
            ]
          },
          {
            "formId": "sample string 1",
            "inputType": 0,
            "inputName": "sample string 2",
            "inputTip": "sample string 3",
            "remark": "sample string 4",
            "isRequired": true,
            "inputValues": [
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              },
              {
                "valuId": "sample string 1",
                "value": "sample string 2"
              }
            ]
          }
        ],
        "priceRankForm": [
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "count": 3,
            "formList": [
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              },
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              }
            ]
          },
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "count": 3,
            "formList": [
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              },
              {
                "formId": "sample string 1",
                "inputType": 0,
                "inputName": "sample string 2",
                "inputTip": "sample string 3",
                "remark": "sample string 4",
                "isRequired": true,
                "inputValues": [
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  },
                  {
                    "valuId": "sample string 1",
                    "value": "sample string 2"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "planList": [
      {
        "cartId": "sample string 1",
        "themeId": "sample string 2",
        "themeName": "sample string 3",
        "classid": "sample string 4",
        "cityId": "sample string 5",
        "countryId": "sample string 6",
        "planId": "sample string 7",
        "planName": "sample string 8",
        "islimitdate": true,
        "departDate": "2024-12-23T20:11:47.2117171+08:00",
        "departTime": "sample string 11",
        "priceRankList": [
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "orgPrice": 3.0,
            "markupPrice": 4.0,
            "sellPrice": 5.0,
            "currencyCode": "sample string 6",
            "count": 7,
            "isReduceStock": true
          },
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "orgPrice": 3.0,
            "markupPrice": 4.0,
            "sellPrice": 5.0,
            "currencyCode": "sample string 6",
            "count": 7,
            "isReduceStock": true
          }
        ],
        "totalAmt": 70.0,
        "isSelfMention": true,
        "isDelivery": true
      },
      {
        "cartId": "sample string 1",
        "themeId": "sample string 2",
        "themeName": "sample string 3",
        "classid": "sample string 4",
        "cityId": "sample string 5",
        "countryId": "sample string 6",
        "planId": "sample string 7",
        "planName": "sample string 8",
        "islimitdate": true,
        "departDate": "2024-12-23T20:11:47.2117171+08:00",
        "departTime": "sample string 11",
        "priceRankList": [
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "orgPrice": 3.0,
            "markupPrice": 4.0,
            "sellPrice": 5.0,
            "currencyCode": "sample string 6",
            "count": 7,
            "isReduceStock": true
          },
          {
            "priceRankId": "sample string 1",
            "priceRankName": "sample string 2",
            "orgPrice": 3.0,
            "markupPrice": 4.0,
            "sellPrice": 5.0,
            "currencyCode": "sample string 6",
            "count": 7,
            "isReduceStock": true
          }
        ],
        "totalAmt": 70.0,
        "isSelfMention": true,
        "isDelivery": true
      }
    ],
    "totalAmt": 140.0,
    "currencyCode": "sample string 1"
  },
  "code": 1,
  "message": "sample string 2"
}