ROIWebInterface.RegisterCallback Method
This web method allows registration of a client callback web pages allowing Pageflex Storefront to alert the client to events.
The Storefront API will send a request string using the GET protocol name = event id and value = item id.
Similar to all callback URLs, the URL must implement a test callback where if both ids equal "test" it replies with raw ascii "test".
The full URL must be based on the domain name given in the extension settings e.g. www.thirdparty.com.
Namespace: ROIWebAPIAssembly: ROIWebAPI (in ROIWebAPI.dll) Version: 2.3.0.0
Syntax
public void RegisterCallback(
Callback..::..Event eventId,
string url,
string token
)C#
Public Sub RegisterCallback (
eventId As Callback..::..Event,
url As String,
token As String
)VB
public:
void RegisterCallback(
Callback..::..Event eventId,
String^ url,
String^ token
)Parameters
- eventId
- Type: ROIStorefrontAPI Callback Event
The event to trigger the callback from.
- url
- Type: System String
The full URL to the post back page e.g. http://www.thirdparty.com/mis/order.php
- token
- Type: System String
The key encrypted using the shared secret in an ASCII string
See Also