ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Purpose

In order to receive the final SMS status there is must be a job which automatically send request to IP2SMS and update status in verification.sms_log

Logic

Update must be done 2 times a day according to schedule in Cron format - `* 1 * * *`

Updated must be id in statuses ('Accepted', 'Enroute')

Field nameSourceDescription 
id

phone_number

body 
SMS text, for verifications SMS body='VERIFICATION' 
gateway_id$status_idstatus_id from response
gateway_status$statusSMS Status (see the table above)
status_changed_at$datedate from status response (date when status was changed)
updated_at:timestampTIMESTAMP
inserted_at
TIMESTAMP
  • No labels