Skip to content

Commit 3e25222

Browse files
author
Karthik Thirumalasetti
authored
Update MICROSERVICE_SPEC.md
1 parent 25c8e60 commit 3e25222

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

MICROSERVICE_SPEC.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,69 @@
77
1.2 [Local Eatouts](#LocalEatouts)
88

99
2. [HouseJoy](#HouseJoy)
10+
11+
12+
## 1. ClearTrip Micro Services
13+
14+
### 1.1 Local Activities
15+
16+
#### [Intent] Book Itenerary
17+
`book_itinerary`
18+
19+
20+
#### Params Description
21+
| KEYWORD | DESCRIPTION |
22+
| ---|--- |
23+
| ITENERARY_ID | Id of the created itenerary |
24+
| TITLE | User Title Ex: Mr or Ms or Mrs |
25+
| FIRST_NAME | User's first name |
26+
| LAST_NAME | User's last name |
27+
| EMAIL | User's email. Booking confirmation will be sent to this email |
28+
| MOBILE_NO | User's mobile number. SMS Confirmation will be sent to this mobile number |
29+
30+
#### Payload
31+
```
32+
{
33+
"itineraryid":"${ITENERARY_ID}",
34+
"user_details":{
35+
"title" : "${TITLE}",
36+
"firstName": "${FIRST_NAME}",
37+
"lastName" : "${LAST_NAME}",
38+
"email" : "${EMAIL}",
39+
"mobileNumber" : "${MOBILE_NO}"
40+
}
41+
}
42+
```
43+
44+
### 1.2 Local Eatouts Booking
45+
46+
#### Intent
47+
`book_itinerary`
48+
49+
50+
#### Params Description
51+
| KEYWORD | DESCRIPTION |
52+
| ---|--- |
53+
| ITENERARY_ID | Id of the created itenerary |
54+
| TITLE | User Title Ex: Mr or Ms or Mrs |
55+
| FIRST_NAME | User's first name |
56+
| LAST_NAME | User's last name |
57+
| EMAIL | User's email. Booking confirmation will be sent to this email |
58+
| MOBILE_NO | User's mobile number. SMS Confirmation will be sent to this mobile number |
59+
60+
#### Payload
61+
```
62+
{
63+
"itineraryid":"${ITENERARY_ID}",
64+
"user_details":{
65+
"title" : "${TITLE}",
66+
"firstName": "${FIRST_NAME}",
67+
"lastName" : "${LAST_NAME}",
68+
"email" : "${EMAIL}",
69+
"mobileNumber" : "${MOBILE_NO}"
70+
}
71+
}
72+
```
73+
74+
75+

0 commit comments

Comments
 (0)