120 likes | 344 Views
One Touch Booking Web Service Process v2.2. ECC. 1. Overview of Web Service. What is Web Services ? Confused the term of Web Services. Generally, method of communication between two electronic devices Not Web Site such as Google webpage, GSPN
E N D
1. Overview of Web Service • What is Web Services ? • Confused the term of Web Services. • Generally, method of communication between two electronic devices • Not Web Site such as Google webpage, GSPN • SPS & XML SVC Tracking : one of old Web Services method • Web Services Definition • - A software system designed to support interoperable machine-to-machine interaction over the network • Uses SOAP messages and HTTP method with a XML Serialization • Web Services Server and Client system • Web Services Server system: ASC’s system • Client system : Samsung SAP BC • ※ Necessary to be genuine real-time process. 8
2. Why OTB Web Services • Repair multi brand • Not repair only Samsung product • Can not update engineer availability to GSPN in real-time • Own repair system • - Service centre has its own repair management system • Have own Diary program or Scheduling program • Have optimization routing program for on-site repair • OTB Web Services • Get real time engineer availability for the schedule • Cover multi brand repair centers • Can use Service centre’s better process like optimization routing program 8
2. OTB Web Services - Real time booking ③ Call OTB Web services Samsung ④ Response with availability ⑤ Display Engineer availability ② Open scheduler screen Customer ① Request repair visit date to Call Centre Service Centre ⑥ Fix the visit date for repair Service Centre Call Centre 8
3. Process Flow - Booking Samsung ASC ① Call web service Calculate available date Re-Calculate available date IH SVC Request getAvailability ④-1 ② Return the response with fetched result Re-call getAvailability Choose Appointment date ③ Call web service again No getAvailability(2) Yes ④ Save the appointment date ④ Return the response with fetched result Choose Appointment date exist No Yes ⑤ Call booking web service putReservation (Web Service) Save appointment in G-CIC Service Tracking : getServiceRequest 2
3. Process Flow - Cancellation One Touch Booking process Remove the booking info Samsung ASC ① ② ③ G-CIC Customer want to cancel the booking putCancelBooking (Web Service) Service Tracking Process Job cancel getServiceRequest – Cancellation process GetServiceRequest XML data ASC send Service order information All assigned job & cancelled job return 3
4. Data structure Booking - getAvailability 5
4. Data structure getAvailability Input getAvailability Output <?xml version="1.0" encoding="UTF-8"?> <BOOKING_REQUEST> <COMPANY>C4B1</COMPANY> <ASC_CODE>0001781622</ASC_CODE> <SERVICEORDER_NO/> <MODEL_CODE>PS42C450B1W</MODEL_CODE> <PRODUCT_GROUP>CTVPL</PRODUCT_GROUP> <COUNTRY>BE</COUNTRY> <REGION>41</REGION> <POST_CODE>41009</POST_CODE> <CITY>SEVILLA</CITY> <PUR_PLACE/> <ADDRESS1/> <ADDRESS2>100</ADDRESS2> <ADDRESS3/> </BOOKING_REQUEST> <?xml version="1.0" encoding="UTF-8"?> <RESPONSE> <RETURN_MESSAGE> <RETURN_TYPE>S</RETURN_TYPE> <ERR_CODE>0000</ERR_CODE> <ERR_MSG/> </RETURN_MESSAGE> <AVAILABILITY_LIST> <AVAILABLE_TIME_SLOTS> <TIME_SLOT_TYPE>A</TIME_SLOT_TYPE> <TIME_SLOT_ID>TS20130125160000r176</TIME_SLOT_ID> <AVAILABLE_DATE>20130125</AVAILABLE_DATE> <AVAILABLE_TIME_FR>160000</AVAILABLE_TIME_FR> <AVAILABLE_TIME_TO>170000</AVAILABLE_TIME_TO> <AVAILABILITY>1</AVAILABILITY> </AVAILABLE_TIME_SLOTS> <AVAILABLE_TIME_SLOTS> <TIME_SLOT_TYPE>A</TIME_SLOT_TYPE> <TIME_SLOT_ID>TS20130125170000r176</TIME_SLOT_ID> <AVAILABLE_DATE>20130125</AVAILABLE_DATE> <AVAILABLE_TIME_FR>170000</AVAILABLE_TIME_FR> <AVAILABLE_TIME_TO>180000</AVAILABLE_TIME_TO> <AVAILABILITY>2</AVAILABILITY> </AVAILABLE_TIME_SLOTS> <AVAILABLE_TIME_SLOTS> <TIME_SLOT_TYPE>A</TIME_SLOT_TYPE> <TIME_SLOT_ID>TS20130128120000r176</TIME_SLOT_ID> <AVAILABLE_DATE>20130128</AVAILABLE_DATE> <AVAILABLE_TIME_FR>120000</AVAILABLE_TIME_FR> <AVAILABLE_TIME_TO>130000</AVAILABLE_TIME_TO> <AVAILABILITY>1</AVAILABILITY> </AVAILABLE_TIME_SLOTS> </AVAILABILITY_LIST> </RESPONSE> 5
4. Data structure Booking - putReservation 6
4. Data structure putReservation Input putReservation Output <?xml version="1.0" encoding="UTF-8"?> <PUT_BOOKING> <BOOKING_REQUEST> <COMPANY>C4B1</COMPANY> <ASC_CODE>000178162</ASC_CODE> <SERVICEORDER_NO>4001221112</SERVICEORDER_NO> <MODEL_CODE>PS42C450B1W</MODEL_CODE> <PRODUCT_GROUP>CTVPL</PRODUCT_GROUP> <COUNTRY>BE</COUNTRY> <REGION>41</REGION> <POST_CODE>4100</POST_CODE> <CITY>SEVILLA</CITY> <PUR_PLACE/> <ADDRESS1/> <ADDRESS2>100</ADDRESS2> <ADDRESS3/> </BOOKING_REQUEST> <TIME_SLOT_CHOSEN> <TIME_SLOT_TYPE>A</TIME_SLOT_TYPE> <TIME_SLOT_ID>TS20130125160000r176</TIME_SLOT_ID> <AVAILABLE_DATE>20130125</AVAILABLE_DATE> <AVAILABLE_TIME_FR>160000</AVAILABLE_TIME_FR> <AVAILABLE_TIME_TO>170000</AVAILABLE_TIME_TO> <AVAILABILITY>1</AVAILABILITY> </TIME_SLOT_CHOSEN> </PUT_BOOKING> <?xml version="1.0" encoding="UTF-8"?> <PUT_BOOKING_RESULT> <RETURN_TYPE>S</RETURN_TYPE> <ERR_CODE>0000</ERR_CODE> <ERR_MSG/> </PUT_BOOKING_RESULT> 5
4. Data structure Booking – putCancelBooking 8