# IDで現在のユーザーのオファーチェーンを取得する 現在のユーザーのオファーチェーンをIDで取得します。 Endpoint: GET /v2/project/{project_id}/user/offer_chain/{offer_chain_id} Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。 Example: 44056 - `offer_chain_id` (integer, required) オファーチェーンID。 Example: 101 ## Response 200 fields (application/json): - `date_end` (string,null) オファーチェーンの終了日です。nullも可能です。もしdate_endがnullの場合、オファーチェーンには期限が設定されません。 Example: "2020-04-15T18:16:00+05:00" - `date_start` (string) オファーチェーンの開始日。 Example: "2020-04-15T18:16:00+05:00" - `description` (string,null) オファーチェーンの説明。 Example: "Major weekly quest" - `id` (integer) オファーチェーンID。 Example: 9 - `name` (string) オファーチェーン名。 Example: "Weekly quest" - `next_step_number` (integer,null) 次回のオファーチェーンステップ番号。オファーチェーンが完了した場合はnull。 Example: 1 - `order` (integer) 配列順序を定義します。 Example: 1 - `recurrent_schedule` (object,null) オファーチェーンのリセット期間。 - `recurrent_schedule.interval_type` (string) オファーチェーンのリセット頻度。 Enum: "weekly", "monthly", "hourly" - `recurrent_schedule.reset_next_date` (integer) 計算されたオファーチェーンが次回にリセットされる日時Unixタイムスタンプ形式。例えば、毎月のオファーチェーンのリセットがクアラルンプール時間(GMT+8)の2024年3月1日午前1時に開始される場合、次のリセットはクアラルンプール時間(GMT+8)の2024年4月1日午前1時に行われます。これは、GMT+0の2024年3月31日17時に相当し、Unixタイムスタンプ形式では1711904400000となります。例:1711904400000 - `steps` (array) - `steps.is_claimed` (boolean) ステップ報酬が請求されたか、購入されたかを示します。 - `steps.is_free` (boolean) オファーチェーンのステップが無料であるかどうかを示します:trueの場合、ステップは無料オファーチェーンステップを請求するコールを使用して請求する必要があります。falseの場合、有料オファーチェーンステップの注文を作成するコールを使用して購入する必要があります。 - `steps.items` (array) - `steps.items.bundle_type` (string,null) Enum: "standard", "virtual_currency_package" - `steps.items.content` (array,null) - `steps.items.description` (string,null) アイテムの説明。 - `steps.items.image_url` (string,null) 画像URL。 Example: "https://image.example.com" - `steps.items.is_free` (boolean) trueの場合で、アイテムは無料です。 - `steps.items.item_id` (integer) 内部の一意のアイテムID。 Example: 1 - `steps.items.name` (string) アイテム名。 - `steps.items.quantity` (integer) アイテム数。 Example: 1 - `steps.items.sku` (string) 一意のアイテムID。SKUには、小文字と大文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみが含まれます。 Example: "booster_mega_1" - `steps.items.type` (string) アイテムのタイプ:virtual_good/virtual_currency/bundle/unit。 - `steps.step_loyalty_rewards` (array,null) - `steps.step_loyalty_rewards.amount` (integer) ロイヤルティポイント数。 Example: 1 - `steps.step_loyalty_rewards.description` (string) ロイヤリティポイントの説明。 Example: "First Loyalty Point Desc" - `steps.step_loyalty_rewards.name` (string) ロイヤリティポイント名。 Example: "First Loyalty Point" - `steps.step_loyalty_rewards.sku` (string) ロイヤリティポイントsku。 Example: "0c745ef0-4243-46e1-aa90-54dee07da622" - `steps.step_number` (integer) ステップ番号。 Example: 2 - `steps.step_price` (object,null) - `steps.step_price.amount` (number, required) 実際通貨でのステップ価格。 Example: 99.99 - `steps.step_price.currency` (string, required) 商品価格通貨。[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) による3文字コード。 Example: "USD" - `steps.step_vp_rewards` (array,null) 報酬として付与される、報酬システムからのバリューポイントの配列。 - `steps.step_vp_rewards.amount` (integer) バリューポイントの量。 - `steps.step_vp_rewards.is_clan` (boolean) バリューポイントがクランリワードチェーンで使用されるかどうか。 Example: true - `steps.step_vp_rewards.name` (string) バリューポイント名。 - `steps.step_vp_rewards.sku` (string) 一意のバリューポイントID。 ## Response 404 fields (application/json): - `errorCode` (integer) Example: 1102 - `errorMessage` (string) Example: "[0401-1102]: Unprocessable Entity. The property `property_name` is required" - `errorMessageExtended` (object,null) - `statusCode` (integer) Example: 422 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x"