फ़िटनेस के उदाहरण
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
BatchAvailabilitylookup (स्लॉट क्लिक)
अनुरोध
{
"merchant_id" : "1234",
"slot_time" : [
{
"availability_tag" : "5042328",
"duration_sec" : "4500",
"resource_ids" : {
"staff_id" : "276191"
},
"service_id" : "5678",
"start_sec" : "1606359600"
}
]
}
जवाब
{
"slot_time_availability" : [
{
"available" : true,
"slot_time" : {
"availability_tag" : "5042328",
"confirmation_mode" : "CONFIRMATION_MODE_SYNCHRONOUS",
"duration_sec" : "4500",
"resource_ids" : {
"staff_id" : "276191"
},
"service_id" : "5678",
"start_sec" : "1606359600"
}
}
]
}
CreateBooking
अनुरोध
{
"idempotency_token" : "13490670332760737439",
"payment_information" : {
"prepayment_status" : "PREPAYMENT_NOT_PROVIDED"
},
"slot" : {
"availability_tag" : "5042328",
"confirmation_mode" : "CONFIRMATION_MODE_SYNCHRONOUS",
"duration_sec" : "4500",
"merchant_id" : "1234",
"resources" : {
"staff_id" : "276191"
},
"service_id" : "5678",
"start_sec" : "1606359600"
},
"user_information" : {
"email" : "john.smith@gmail.com",
"family_name" : "Smith",
"given_name" : "John",
"telephone" : "+12091111111",
"user_id" : "1111111111111111111"
}
}
जवाब
{
"booking" : {
"booking_id" : "890",
"payment_information" : {
"prepayment_status" : "PREPAYMENT_NOT_PROVIDED"
},
"slot" : {
"availability_tag" : "5042328",
"confirmation_mode" : "CONFIRMATION_MODE_SYNCHRONOUS",
"duration_sec" : "4500",
"merchant_id" : "1234",
"resources" : {
"staff_id" : "276191"
},
"service_id" : "5678",
"start_sec" : "1606359600"
},
"status" : "CONFIRMED",
"user_information" : {
"email" : "john.smith@gmail.com",
"family_name" : "Smith",
"given_name" : "John",
"telephone" : "+12091111111",
"user_id" : "1111111111111111111"
}
}
}
UpdateBooking
अनुरोध
{
"booking" : {
"booking_id" : "890",
"status" : "CANCELED"
}
}
जवाब
{
"booking" : {
"booking_id" : "890",
"status" : "CANCELED"
}
}
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"वह जानकारी मौजूद नहीं है जो मुझे चाहिए"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"बहुत मुश्किल है / बहुत सारे चरण हैं"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"पुराना"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"अनुवाद से जुड़ी समस्या"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"सैंपल / कोड से जुड़ी समस्या"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"अन्य"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"समझने में आसान है"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"मेरी समस्या हल हो गई"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"अन्य"
}]