Method: transitobject.insert
প্রদত্ত আইডি এবং বৈশিষ্ট্য সহ একটি ট্রানজিট অবজেক্ট সন্নিবেশ করায়।
HTTP অনুরোধ
POST https://walletobjects.googleapis.com/walletobjects/v1/transitObject
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের মূল অংশে TransitObject
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে TransitObject
এর একটি সদ্য তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Inserts a new transit object with a specified ID and properties using a POST request."],["The request body must contain a `TransitObject` in JSON format as defined in the provided reference."],["A successful response returns the newly created `TransitObject` in JSON format."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["A transit object is inserted using a POST request to `https://walletobjects.googleapis.com/walletobjects/v1/transitObject`. The request body must contain a `TransitObject` instance. Upon success, the response body returns the newly created `TransitObject`. This operation uses gRPC Transcoding syntax and requires the OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` for authorization.\n"]]