{
  "title": "申込受付APIの入力と失敗時の扱いを揃える",
  "subtitle": "架空サンプル｜レイアウトの使用例",
  "method": "POST",
  "path": "/applications",
  "auth": "Bearerトークン / applications:write 権限",
  "request": [
    {
      "name": "customerId",
      "type": "string",
      "required": true,
      "description": "顧客の識別子"
    },
    {
      "name": "productId",
      "type": "string",
      "required": true,
      "description": "商品コード"
    },
    {
      "name": "requestKey",
      "type": "string",
      "required": true,
      "description": "再送時も同じ値を使用"
    }
  ],
  "response": [
    {
      "name": "applicationId",
      "type": "string",
      "description": "発行された申込ID"
    },
    {
      "name": "status",
      "type": "string",
      "description": "受付状態"
    }
  ],
  "errors": [
    {
      "status": 400,
      "meaning": "入力形式の不備"
    },
    {
      "status": 403,
      "meaning": "必要権限がない"
    },
    {
      "status": 409,
      "meaning": "同じキーで内容が不一致"
    }
  ]
}
