Parameters for
command=statusorder_id |
Order number |
Parameters for command=send |
product_id |
1 -
Letter 2 -
Telegram 3 -
Fax 4 -
Telex 5 -
SMS
|
message_body |
Message text |
[debug] |
If not empty, the message will not be actually sent, instead of that user will receive back an email message with gebug info inside. |
[schedule] |
Date and time in "yyyyMMdd hh:mm" format. If given, the message will be scheduled. |
[postback_url] |
URL, to that would be sent a notification, that message got a "final" status. Notification will be POST'ed as XML. Also can be a valid email address (instead of URL) - to get notified by email instead of POSTing. |
Parameters for command=send & product_id=5 (SMS) |
[phones] |
Full recipient phone number, starting with country code. If not empty, you need not assign parameters country_code, area_code and phone_no. |
[rus_sms] |
If not empty, message text WILL NOT be autoconverted to "translit". Translit - cyrillic letters encoded with latin symbols. Used, when recipient's device does not display cyrillic letters correctly. |
[source_phone_no] |
Sender's phone number (or text). Up to 15 digits or up to 11 other symbols - digits, punctuation marks and latin letters. If empty, "Napishi.Ru" will be used. |
[source_confirmed] |
Confirmation, that [source_phone_no] really belongs to sender, and sender can proof that fact. |
Parameters for command=send & product_id=4 (Telex) |
full_telex_no |
Full recipient's telex number, including country code. |
Parameters for command=send & product_id=3 (Fax) |
country_code |
Country code |
area_code |
Area or mobile operator code |
phone_no |
Recipient's fax number |
Parameters for command=send & product_id=2 (Telegram) |
country_code |
Standatd 2-letter country code. "RU" for Russia. |
city_address |
City. |
street_address |
Street address. |
recipient_name |
Recipient name. |
signature |
Signature (sender's name) |
[urgent] |
Urgency attribute, applicable to Russia only. If given, telegram will be treat as "urgent". |
Parameters for command=send & product_id=1 (Letter) |
to_country_code |
Standatd 2-letter country code. "RU" for Russia. |
[to_zipcode] |
Zipcode |
[to_region] |
Addressee region (area, state etc.) |
to_city_address |
Addressee city. |
to_street_address |
Addressee street address |
to_name |
Addressee name |
[to_company] |
Addressee company name |
from_country_code |
Standard 2-letter sender's country code. "RU" for Russia. |
[from_zipcode] |
Sender's zipcode |
[from_region] |
Sender's region (area, state etc.) |
[from_city_address] |
Sender's city. |
[from_street_address] |
Sender's street address. |
from_name |
Sender's name. |
[from_company] |
Sender's company. |
[picture_url] |
URL of the picture to print |