Questo webservice ritorna la lista dei giorni di apertura e degli orari dell’attività, i servizi opzionali offerti alla clientela e le tipologie di pagamento accettate in loco.
Url webservice
http://www.overplace.com/wsdl/orari_servizi
Metodo
orariServiziRead
Parametri
- ws_auth_token: Client token ottenuto dal Client Login Webservice (string).
- idapp: Application id delle vetrina Overplace sulla quale il client vuole operare (es. CJ50)(string).
- response type : formato della risposta, i parametri accettati sono “xml” o “json”(string).
Esempio Request lato Client
1 2 3 4 5 6 7 8 9 |
<?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns6704:orariServiziRead xmlns:ns6704="http://tempuri.org"> <ws_auth_token xsi:type="xsd:string">InQLjK9bORMxArt9L6b+Ydc5jXu+E7hptqay3tTnu7o=</ws_auth_token> <idapp xsi:type="xsd:string">CJ50</idapp> <response_type xsi:type="xsd:string">xml</response_type></ns6704:orariServiziRead> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
Esempio Response lato Client
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<response> <orari> <title>Giorni e orari di apertura</title> <dayOfWeek> <subtitle>Lunedì</subtitle> <content>08:30-13:00 / 15:00-19:00</content> </dayOfWeek> <dayOfWeek> <subtitle>Martedì</subtitle> <content>08:30-19:00</content> </dayOfWeek> <dayOfWeek> <subtitle>Mercoledì</subtitle> <content>08:30-13:00 / 15:00-19:00</content> </dayOfWeek> <dayOfWeek> <subtitle>Giovedì</subtitle> <content>08:30-13:00 / 15:00-19:00</content> </dayOfWeek> <dayOfWeek> <subtitle>Venerdì</subtitle> <content>08:30-13:00 / 15:00-19:00</content> </dayOfWeek> <dayOfWeek> <subtitle>Sabato</subtitle> <content>Chiuso</content> </dayOfWeek> <dayOfWeek> <subtitle>Domenica</subtitle> <content>Chiuso</content> </dayOfWeek> </orari> <servizi> <title>Servizi disponibili</title> <content>Parcheggio</content> <content>Accesso disabili</content> <content>Locale climatizzato</content> <content>Punto Wifi</content> <content>Accetta animali</content> <content>Accetta assegni</content> </servizi> </response> |
Response in formato Json
1 |
{"orari":{"title":"Giorni e orari di apertura","dayOfWeek":[{"subtitle":"Luned\u00ec","content":"08:30-13:00 \/ 15:00-19:00"},{"subtitle":"Marted\u00ec","content":"08:30-19:00"},{"subtitle":"Mercoled\u00ec","content":"08:30-13:00 \/ 15:00-19:00"},{"subtitle":"Gioved\u00ec","content":"08:30-13:00 \/ 15:00-19:00"},{"subtitle":"Venerd\u00ec","content":"08:30-13:00 \/ 15:00-19:00"},{"subtitle":"Sabato","content":"Chiuso"},{"subtitle":"Domenica","content":"Chiuso"}]},"servizi":{"title":"Servizi disponibili","content":["Parcheggio","Accesso disabili","Locale climatizzato","Punto Wifi","Accetta animali","Accetta assegni"]}} |
Comments are closed.