Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleStatus Code: 200 Cause: 정상 처리 시
Code Block
languagenone
{
  "status_code": 200,
  "required_traveler_information": {
    "english_name": false,
    "chinese_name": false,
    ...
  },
  "contents": {
    "product_listing_language": "Korean",
    "tour_guide_certification": "Yes",
    ...
  },
  "options": [
    {
      "option_code": "d327bbf7-2052-4ebb-893a-ee952b694029",
      "sales_period_name": "상반기The first half",
      "start_date_of_the_sale": "2023-03-01",
      "end_date_of_the_sale": "2024-03-31",
      "transportation": "SedanVehicle",
      ...
    }
  ]
}

5) Error Spec

...

Code Block
curl -X 'POST' \
  'https://prod.ax-cloud.com/v1/channel/products/tour/1' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token api_key_secret' \
  -H 'Channel: Code code_secret'
  -d '{
  "status_code": 200,
  "required_traveler_information": {
    "english_name": false,
    "chinese_name": false,
    ...
  },
  "contents": {
    "product_listing_language": "Korean",
    "tour_guide_certification": "Yes",
    ...
  },
  "options": [
    {
      "option_code": "d327bbf7-2052-4ebb-893a-ee952b694029",
      "sales_period_name": "The first half",
      "start_date_of_the_sale": "2023-03-01",
      "end_date_of_the_sale": "2024-03-31",
      "transportation": "SedanVehicle",
      ...
    }
  ]
}'

...