Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
customer_portal:integration:iwashcloudbookingsapi [2021/03/03 21:26]
trevor [Notes]
customer_portal:integration:iwashcloudbookingsapi [2023/09/20 00:43] (current)
Line 24: Line 24:
  "BookingEmail":"john@gmail.com",  "BookingEmail":"john@gmail.com",
  "BookingName":"John",  "BookingName":"John",
- "BookingSite":"Weeribee"+ "BookingSite":"Weeribee",
  "BookingTags":"WEB",  "BookingTags":"WEB",
  "BookingNotes":"Extra Dirty, Could you quote on Steam Clean"  "BookingNotes":"Extra Dirty, Could you quote on Steam Clean"
Line 60: Line 60:
 <code AppleScript> <code AppleScript>
 "BookingNotes":{"Colour":"Red","Size":"Small","Make":"Ford"} "BookingNotes":{"Colour":"Red","Size":"Small","Make":"Ford"}
 +</code>
 +
 +==== Site ====
 +
 +The API has some smarts and the BookingSite can be sent as either a string which matches the name of the store in the Sites Tabe, or you can send an integer which matches the record in the Sites Table. The API will take any string and try to match it to the a Site Name.
 +
 +<code AppleScript>
 +"BookingSite":1
 +</code>
 +
 +<code AppleScript>
 +"BookingSite":"Weeribee"
 </code> </code>
  
Line 74: Line 86:
  "BookingName":"John",  "BookingName":"John",
  "BookingTags":"WEB",  "BookingTags":"WEB",
- "BookingSite":"Weeribee", 
         "BookingNotes":"Extra Dirty, Could you quote on Steam Clean",         "BookingNotes":"Extra Dirty, Could you quote on Steam Clean",
 + "SiteKey":"1",
 + "SiteName":"Weeribee",
  "CreatedDteTme":"01-Jan-2018 11:00"  "CreatedDteTme":"01-Jan-2018 11:00"
  }  }
Line 99: Line 112:
  "BookingEmail":"john@gmail.com",  "BookingEmail":"john@gmail.com",
  "BookingName":"John",  "BookingName":"John",
-        "BookingSite":"Weeribee", 
  "BookingTags":"WEB",  "BookingTags":"WEB",
         "BookingNotes":"Extra Dirty, Could you quote on Steam Clean",         "BookingNotes":"Extra Dirty, Could you quote on Steam Clean",
 + "SiteKey":"1",
 + "SiteName":"Weeribee",
  "OrderKey":358210,  "OrderKey":358210,
  "OrderDteTme":"01-Jan-2018 16:04",  "OrderDteTme":"01-Jan-2018 16:04",