The Applications namespace has Entities and Operations concerned with the Application as such. It contains the Application entity, Stores and other lookup data common to an Application.
The Applications namespace has Entities and Operations concerned with the Application as such. It contains the Application entity, Stores and other lookup data common to an Application.
curl -i -X GET \ 'https://demo.storm.io/api/1.1/ApplicationService.svc/rest/GetStore?id=0'
Success
The longitude part of the location of the Store. Can be used to calculate distances to the Store.
The latitude part of the location of the Store. Can be used to calculate distances to the Store.
Used when fetching Stores and we have a specified current location from which to calculate a distance to the Store.
Contains a list of id-value pairs specific to the client for this Store. Use ApplicationService.ListStoreInfoTypes(string) for id lookup.
A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.
{ "Id": 0, "Name": "string", "Address": "string", "PostalAddress": "string", "Phone": "string", "Fax": "string", "OpeningWeekdays": "string", "OpeningSaturdays": "string", "OpeningSundays": "string", "Longitude": 0.1, "Latitude": 0.1, "Distance": 0, "Key": "string", "Type": "string", "SubType": "string", "Info": [ { … } ], "Pricelists": { "Ids": [ … ], "Default": 0 }, "Code": "string", "Description": "string", "ImageKey": "string", "UniqueName": "string" }
curl -i -X GET \ 'https://demo.storm.io/api/1.1/ApplicationService.svc/rest/GetStoreByUniqueName?uniqueName=string'
Success
The longitude part of the location of the Store. Can be used to calculate distances to the Store.
The latitude part of the location of the Store. Can be used to calculate distances to the Store.
Used when fetching Stores and we have a specified current location from which to calculate a distance to the Store.
Contains a list of id-value pairs specific to the client for this Store. Use ApplicationService.ListStoreInfoTypes(string) for id lookup.
A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.
{ "Id": 0, "Name": "string", "Address": "string", "PostalAddress": "string", "Phone": "string", "Fax": "string", "OpeningWeekdays": "string", "OpeningSaturdays": "string", "OpeningSundays": "string", "Longitude": 0.1, "Latitude": 0.1, "Distance": 0, "Key": "string", "Type": "string", "SubType": "string", "Info": [ { … } ], "Pricelists": { "Ids": [ … ], "Default": 0 }, "Code": "string", "Description": "string", "ImageKey": "string", "UniqueName": "string" }
curl -i -X GET \ 'https://demo.storm.io/api/1.1/ApplicationService.svc/rest/GetStoreItem?id=0'
{ "Id": 0, "Name": "string", "Address": "string", "PostalAddress": "string", "OnHandValue": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "Distance": 0, "Type": "string", "SubType": "string", "Code": "string", "OnHand": { "Value": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "LeadtimeDayCount": 0, "LastChecked": "2019-08-24T14:15:22Z", "IsActive": true, "IsReturnable": true, "Info": [ … ] }, "OnHandDemo": { "Value": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "LeadtimeDayCount": 0, "LastChecked": "2019-08-24T14:15:22Z", "IsActive": true, "IsReturnable": true, "Info": [ … ] }, "UniqueName": "string" }
curl -i -X GET \ 'https://demo.storm.io/api/1.1/ApplicationService.svc/rest/GetStoreItemByCountryAndZipCode?zipCode=0'
{ "Id": 0, "Name": "string", "Address": "string", "PostalAddress": "string", "OnHandValue": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "Distance": 0, "Type": "string", "SubType": "string", "Code": "string", "OnHand": { "Value": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "LeadtimeDayCount": 0, "LastChecked": "2019-08-24T14:15:22Z", "IsActive": true, "IsReturnable": true, "Info": [ … ] }, "OnHandDemo": { "Value": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "LeadtimeDayCount": 0, "LastChecked": "2019-08-24T14:15:22Z", "IsActive": true, "IsReturnable": true, "Info": [ … ] }, "UniqueName": "string" }
curl -i -X GET \ 'https://demo.storm.io/api/1.1/ApplicationService.svc/rest/GetStoreItemByUniqueName?uniqueName=string'
{ "Id": 0, "Name": "string", "Address": "string", "PostalAddress": "string", "OnHandValue": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "Distance": 0, "Type": "string", "SubType": "string", "Code": "string", "OnHand": { "Value": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "LeadtimeDayCount": 0, "LastChecked": "2019-08-24T14:15:22Z", "IsActive": true, "IsReturnable": true, "Info": [ … ] }, "OnHandDemo": { "Value": 0, "IncomingValue": 0, "NextDeliveryDate": "2019-08-24T14:15:22Z", "LeadtimeDayCount": 0, "LastChecked": "2019-08-24T14:15:22Z", "IsActive": true, "IsReturnable": true, "Info": [ … ] }, "UniqueName": "string" }
curl -i -X GET \ https://demo.storm.io/api/1.1/ApplicationService.svc/rest/ListStoreInfo
{ "ItemCount": 0, "Items": [ { … } ] }
curl -i -X GET \ https://demo.storm.io/api/1.1/ApplicationService.svc/rest/ListStoreInfoTypes
[ { "Id": 0, "Value": "string", "Code": "string" } ]
Longitude for current position. StoreItems will calculate the Distance if supplied together with latitude. Format: decimal.
Latitude for current position. StoreItems will calculate the Distance if supplied together with longitude. Format: decimal.
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
curl -i -X GET \ https://demo.storm.io/api/1.1/ApplicationService.svc/rest/ListStoreItems
{ "ItemCount": 0, "Items": [ { … } ] }
Longitude for current position. StoreItems will calculate the Distance if supplied together with latitude. Format: decimal.
Latitude for current position. StoreItems will calculate the Distance if supplied together with longitude. Format: decimal.
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
curl -i -X GET \ https://demo.storm.io/api/1.1/ApplicationService.svc/rest/ListStores
{ "ItemCount": 0, "Items": [ { … } ] }
curl -i -X GET \ https://demo.storm.io/api/1.1/ApplicationService.svc/rest/ListStores2
Success
The longitude part of the location of the Store. Can be used to calculate distances to the Store.
The latitude part of the location of the Store. Can be used to calculate distances to the Store.
Used when fetching Stores and we have a specified current location from which to calculate a distance to the Store.
Contains a list of id-value pairs specific to the client for this Store. Use ApplicationService.ListStoreInfoTypes(string) for id lookup.
A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.
A unique name that can be used in Urls and to get this entity. GetStore and GetStoreByUniqueName gets the same Store. MaxLength: 100.
[ { "Id": 0, "Name": "string", "Address": "string", "PostalAddress": "string", "Phone": "string", "Fax": "string", "OpeningWeekdays": "string", "OpeningSaturdays": "string", "OpeningSundays": "string", "Longitude": 0.1, "Latitude": 0.1, "Distance": 0, "Key": "string", "Type": "string", "SubType": "string", "Info": [ … ], "Pricelists": { … }, "Code": "string", "Description": "string", "ImageKey": "string", "UniqueName": "string" } ]
curl -i -X POST \ 'https://demo.storm.io/api/1.1/ApplicationService.svc/rest/UpdateDivisionInfo?id=0&typeId=0&value=string'