GET Sites
Gets A List Of All Sites for Company
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SiteName | Type | Description | Additional information |
---|---|---|---|
SiteID | integer |
None. |
|
Name | string |
None. |
|
IsAvailableThroughAPI | boolean |
None. |
|
LastWebsync | date |
None. |
|
ThirdPartyReference | string |
None. |
|
LastOnlineOrderPoll | date |
None. |
|
PosVersionName | string |
None. |
|
PosVersion | string |
None. |
|
TimeZoneID | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SiteID": 1, "Name": "sample string 2", "IsAvailableThroughAPI": true, "LastWebsync": "2024-11-21T06:36:31.0061905+00:00", "ThirdPartyReference": "sample string 5", "LastOnlineOrderPoll": "2024-11-21T06:36:31.0061905+00:00", "PosVersionName": "sample string 7", "PosVersion": "sample string 8", "TimeZoneID": "sample string 9" }, { "SiteID": 1, "Name": "sample string 2", "IsAvailableThroughAPI": true, "LastWebsync": "2024-11-21T06:36:31.0061905+00:00", "ThirdPartyReference": "sample string 5", "LastOnlineOrderPoll": "2024-11-21T06:36:31.0061905+00:00", "PosVersionName": "sample string 7", "PosVersion": "sample string 8", "TimeZoneID": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfSite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models"> <Site> <_x003C_IsAvailableThroughAPI_x003E_k__BackingField>true</_x003C_IsAvailableThroughAPI_x003E_k__BackingField> <_x003C_LastOnlineOrderPoll_x003E_k__BackingField>2024-11-21T06:36:31.0061905+00:00</_x003C_LastOnlineOrderPoll_x003E_k__BackingField> <_x003C_LastWebsync_x003E_k__BackingField>2024-11-21T06:36:31.0061905+00:00</_x003C_LastWebsync_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_PosVersionName_x003E_k__BackingField>sample string 7</_x003C_PosVersionName_x003E_k__BackingField> <_x003C_PosVersion_x003E_k__BackingField>sample string 8</_x003C_PosVersion_x003E_k__BackingField> <_x003C_SiteID_x003E_k__BackingField>1</_x003C_SiteID_x003E_k__BackingField> <_x003C_ThirdPartyReference_x003E_k__BackingField>sample string 5</_x003C_ThirdPartyReference_x003E_k__BackingField> <_x003C_TimeZoneID_x003E_k__BackingField>sample string 9</_x003C_TimeZoneID_x003E_k__BackingField> </Site> <Site> <_x003C_IsAvailableThroughAPI_x003E_k__BackingField>true</_x003C_IsAvailableThroughAPI_x003E_k__BackingField> <_x003C_LastOnlineOrderPoll_x003E_k__BackingField>2024-11-21T06:36:31.0061905+00:00</_x003C_LastOnlineOrderPoll_x003E_k__BackingField> <_x003C_LastWebsync_x003E_k__BackingField>2024-11-21T06:36:31.0061905+00:00</_x003C_LastWebsync_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>sample string 2</_x003C_Name_x003E_k__BackingField> <_x003C_PosVersionName_x003E_k__BackingField>sample string 7</_x003C_PosVersionName_x003E_k__BackingField> <_x003C_PosVersion_x003E_k__BackingField>sample string 8</_x003C_PosVersion_x003E_k__BackingField> <_x003C_SiteID_x003E_k__BackingField>1</_x003C_SiteID_x003E_k__BackingField> <_x003C_ThirdPartyReference_x003E_k__BackingField>sample string 5</_x003C_ThirdPartyReference_x003E_k__BackingField> <_x003C_TimeZoneID_x003E_k__BackingField>sample string 9</_x003C_TimeZoneID_x003E_k__BackingField> </Site> </ArrayOfSite>