This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
customer_portal:integration:iwashcloudbookingsapi [2021/03/03 21:25] trevor [Body] |
customer_portal:integration:iwashcloudbookingsapi [2023/09/20 00:43] (current) |
||
---|---|---|---|
Line 24: | Line 24: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
Line 32: | Line 32: | ||
==== Regos ==== | ==== Regos ==== | ||
- | need to be stripped of all spaces and symbols and will be converted to upper case. | + | need to be stripped of all spaces and symbols and will be converted to upper case. |
- | **Dates** need to be in unambiguous format of DD-MON-YYYY HH:MM | + | ==== Dates ==== |
+ | need to be in unambiguous format of DD-MON-YYYY HH:MM | ||
- | ===== Tags ===== | + | ==== Tags ==== |
Use Booking Tags, this can be used in reports to work out where booking might be generated from. | Use Booking Tags, this can be used in reports to work out where booking might be generated from. | ||
Line 45: | Line 46: | ||
</ | </ | ||
- | ===== Notes ===== | + | ==== Notes ==== |
The Booking Notes field is text but can also be used to store custom fields that you can read back and use in the API. Insert text or send JSON and it will be stored in the Notes field | The Booking Notes field is text but can also be used to store custom fields that you can read back and use in the API. Insert text or send JSON and it will be stored in the Notes field | ||
Line 59: | Line 60: | ||
<code AppleScript> | <code AppleScript> | ||
" | " | ||
+ | </ | ||
+ | |||
+ | ==== 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> | ||
+ | " | ||
+ | </ | ||
+ | |||
+ | <code AppleScript> | ||
+ | " | ||
</ | </ | ||
Line 73: | Line 86: | ||
" | " | ||
" | " | ||
- | " | ||
" | " | ||
+ | " | ||
+ | " | ||
" | " | ||
} | } | ||
Line 98: | Line 112: | ||
" | " | ||
" | " | ||
- | " | ||
" | " | ||
" | " | ||
+ | " | ||
+ | " | ||
" | " | ||
" | " |