Method: monetization.subscriptions.basePlans.offers.get
คำขอ HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ แอปหลัก (ชื่อแพ็กเกจ) ของข้อเสนอที่จะรับ
|
productId |
string
ต้องระบุ การสมัครใช้บริการหลัก (รหัส) ของข้อเสนอที่ต้องการรับ
|
basePlanId |
string
ต้องระบุ แพ็กเกจเริ่มต้นหลัก (รหัส) ของข้อเสนอที่ต้องการรับ
|
offerId |
string
ต้องระบุ รหัสข้อเสนอที่ไม่ซ้ำกันของข้อเสนอที่ต้องการรับ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ SubscriptionOffer
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-17 UTC
[null,null,["อัปเดตล่าสุด 2024-12-17 UTC"],[[["Retrieves details of a specific subscription offer within a base plan."],["Requires providing package name, product ID, base plan ID, and offer ID as path parameters."],["An empty request body is necessary, and the response provides a `SubscriptionOffer` object."],["Utilizes the `https://www.googleapis.com/auth/androidpublisher` authorization scope for access."]]],["This document outlines the process to retrieve a single subscription offer via a `GET` HTTP request. The request URL includes four required path parameters: `packageName`, `productId`, `basePlanId`, and `offerId`. The request body must be empty. A successful request returns a `SubscriptionOffer` instance in the response body. Access requires authorization using the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The resource uses gRPC Transcoding syntax.\n"]]