Академический Документы
Профессиональный Документы
Культура Документы
SBOL V1/V2
GDD
Prodigious
Topics
1. What is BAS?
2. Business View
3. Sbol V1 & V2
4. Technical Overview
5. Get Calendar
6. Booking a service
What is BAS?
Car Registration
(VIN plate)
SBOLV1 no
Leads API
Does
the yes
Find a dealer dealer
have a SBOLV2
DMS?
yes
Pick a Service Does
the
Opening dealer Salesforce
hours have a no
Get Calendar DMS?
Book
appointment
What is DMS?
System that allows the booking automatically, for the dealer
You can know if the Dealer has DMS (sbolv2) by looking for its services
Sbol v2 will ask for calendar to A2A service, and also will confirm availability
using A2A
SbolV2 (DMS) dealer example
SbolV1 (DMS) dealer example
Apigee Endpoints
/v1/dealers/services/calendar(only for v1)
/v1/leads/book (v2 as well)
Technical Overview
Get Calendar
Present in the v1 dealers apiproxy
i.e. https://digitaslbi-nonprod-qa.apigee.net/v1/dealers/services/calendar
Sbolv2 dealers will provide their calendar from the A2A service
Sbolv1 dealers will get their Calendar from mongo db (dealers opening Hours)
Get Calendar
Calendar by default will bring the next 3 weeks MINUS a period of
carence days, the next 2 days actually
So if you ask for calendar with date 14/06/16, Calendar will bring slots
from 16/06/16 to 04/07/16 (see example)
dealer_calendar_webservice_base_path = helios-api-
renault-sbol-calendar/service
dealer_complement_target_system = FullSix
Calendar for Sbolv1 Opening
Hours
The calendar is obtained from Mongo DB
The data is in the Dealers Opening Hours Structure
This data is stored in Services Structure attached to the
dealer
To build the response, numOfWeeks and carenceDays
are taken into account
Booking A Service
Allows to book a date for a service to the car.
SBOLV1 will create the reservation and if theres a
conflict, someone will notice that manually.
SBOLV2 verifies instantaneously if the slot of time
requested is available.
Implemented on Leads v1 and v2 apiproxy
The appointment will be booked by sending a lead to
salesforce (LMTV2).
Booking A Service (Errors)
Error Case StatusCode Response
When a booking request is made to a dealer with
none of the sbol services (nor with 00 neither 913
suffix) 204
When A2A returns error codes 0003, 0301, 0303, Error connecting. Please
0401, 0502 500 contact support
If any technical error calling A2A renault web service 500 empty String
os_a2abook_apigeeEndpoint = /owner-
services/renault/a2a/book
os_a2abook_application = dms
os_a2abook_connectorAPIKey=
{current_AEM_devApp_apiKey}
os_a2abook_service = sbl
lm_a2abook_send_lead_endpoint = /v1/leads
Booking (Leads v2)
In order to improve the functionality the booking process was
migrated
From Leads to Leads V2 (Apigee)
From helios-api-mongo to helios-api-leads (Tomcat)
From Owner Services Car Data Renault to V2 Connector
Renault Datapower (Apigee)
Leads will end up in salesforce (LMTV2), but through a different
apiproxy
Booking V2 router lmtv1v2
Booking (Leads v2)
Endpoints involved on Apigee for SBOL v1 Request
1. Leads - V2
2. V2 - Connector - LMT Router (if lmtv1v2 used)
3. V2 - Connector - Salesforce SOAP
https://confluence.lbi.co.uk/display/HII/SBOL+Opening+hours+clarification
Any Questions?