C# Class Pocketstop.PocketstopRestClient

ファイルを表示 Open project: pocketstop/sdk-csharp

Public Methods

Method Description
GenerateQrCode ( string data, string size = "150x150" ) : dynamic

Generate a QR Code Makes a POST request to the QR resource.

SendSmsMessage ( string from, string to, string body ) : dynamic

Send a new SMS message to the specified recipients Makes a POST request to the SMSMessages List resource.

Method Details

GenerateQrCode() public method

Generate a QR Code Makes a POST request to the QR resource.
public GenerateQrCode ( string data, string size = "150x150" ) : dynamic
data string The data to encode in the QR Code.
size string height x width dimensions (default to 150x150 up to max 500x500).
return dynamic

SendSmsMessage() public method

Send a new SMS message to the specified recipients Makes a POST request to the SMSMessages List resource.
public SendSmsMessage ( string from, string to, string body ) : dynamic
from string The phone number to send the message from. Must be a Pocketstop-provided short code or or authorized local (not toll-free) number.
to string The phone number to send the message to.
body string The message to send. Must be 160 characters or less.
return dynamic