SiteLink CallCenter API timezone
terencey
Registered User ✭
I'm posting here because I'm quite confused with the way SiteLink API parses and returns information where timezone is important.
My site/facility is set to Singapore time, GMT+8.
I'm using TenantInvoicesByTenantID, requesting for all invoices for a particular tenant, from 0000 hrs to 2359hrs of a particular day.
This is my request body:
Question 1: Does the API interpret this as "Give me all invoices invoiced on 6 Aug 2021 GMT+8", or "Give me all invoices invoiced on 06 Aug 2021 UTC"?
This is a snippet of the response I receive:
Question 2: dInvoiced is 2021-08-06T09:18:13.577-04:00. Do I take this to mean that this invoice was invoiced on 6 Aug 2021 GMT-5, and when I convert it to GMT+8, be 7 Aug 2021 GMT +8? Or do I take this to mean that the invoice was invoiced on 6 Aug 2021 GMT+8, please ignore the timezone?
My site/facility is set to Singapore time, GMT+8.
I'm using TenantInvoicesByTenantID, requesting for all invoices for a particular tenant, from 0000 hrs to 2359hrs of a particular day.
This is my request body:
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<TenantInvoicesByTenantID xmlns="http://tempuri.org/CallCenterWs/CallCenterWs">
<sCorpCode>XXXX</sCorpCode>
<sLocationCode>XXXX</sLocationCode>
<sCorpUserName>XXXX</sCorpUserName>
<sCorpPassword>XXXX</sCorpPassword>
<dDateStart>2021-08-06T00:00:00</dDateStart>
<dDateEnd>2021-08-06T23:59:59</dDateEnd>
<sTenantIDsCommaDelimited>739884</sTenantIDsCommaDelimited>
</TenantInvoicesByTenantID>
</soap12:Body>
</soap12:Envelope>
Question 1: Does the API interpret this as "Give me all invoices invoiced on 6 Aug 2021 GMT+8", or "Give me all invoices invoiced on 06 Aug 2021 UTC"?
This is a snippet of the response I receive:
...
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<NewDataSet xmlns="">
<Table diffgr:id="Table1" msdata:rowOrder="0">
<SiteID>XXXX</SiteID>
<InvoiceID>3154108</InvoiceID>
<iInvoiceNum>24110</iInvoiceNum>
<dInvoiced>2021-08-06T09:18:13.577-04:00</dInvoiced>
<EmployeeID>7364</EmployeeID>
<TenantID>739884</TenantID>
<dDue>2021-08-20T23:59:59-04:00</dDue>
<dUpdated>2021-08-05T21:18:14.693-04:00</dUpdated>
<iDetailCount>2</iDetailCount>
</Table>
...
Question 2: dInvoiced is 2021-08-06T09:18:13.577-04:00. Do I take this to mean that this invoice was invoiced on 6 Aug 2021 GMT-5, and when I convert it to GMT+8, be 7 Aug 2021 GMT +8? Or do I take this to mean that the invoice was invoiced on 6 Aug 2021 GMT+8, please ignore the timezone?
Tagged:
0
Answers
-
Hi, @terencey. We're sorry for this confusion and to best assist you, please contact apisupport@storable.com. Thank you!0
-
Thanks @storable_support
Is apisupport@storable.com different from support@storable.com?
The reason I asked this question in the forums is because I'm not getting a clear and direct answer from support@storable.com.0 -
Hi again, @terencey; yes, apisupport@storable.com is the support address for all API-related issues that are typically out of scope for Support. We're so glad that you asked, so we could better direct you. Additionally, we're going to make sure that Support knows to do this moving forward for all customers reaching out with API questions. Thank you, Amy C.0
Categories
- All Categories
- 2 What's New
- SiteLink Community Discussions
- 1.9K SiteLink General Discussions
- 79 SiteLink myHub
- 48 Lead to Lease
- 15 Price Optimization
- 36 SiteLink Certified Professional
- 186 How-To's
- 97 Training Videos
- 7 Other Resources
- 80 SiteLink, SpareFoot & storEDGE merge
- Self-Storage Operations
- 65 Starting Out in Self-Storage
- 3 3rd Party Management
- 223 Regional Discussions
- 188 Miscellaneous Discussions
- 39 Industry Webinars
- SiteLink Marketplace
- 62 Self-Storage Website Design & Listing Services
- 32 Credit Cards & Payment Processing
- 31 Self-Storage Call Centers & Kiosks
- 46 Notifications, SMS & Phone Integrations
- 93 Self-Storage Insurance, Legal & Auctions
- 11 Self-Storage Revenue Management & Analytics
- 24 Gates & Access for Self-Storage Facilities
- 11 Ancillary Services for Self-Storage Facilites
- Self-Storage Times
- 62 News
- 30 Opinion
- 147 Lifestyle