SMS structure
This document describes SMS structure returned by API. If SMS is returned by API, it has following structure:
Objects has following parameters:
Most of parameters follows the parameters used when SMS is being sent using API or in SMS send response.
- ID
- SMS id.
- state
- SMS state.
- delivery
- SMS delivery state.
- type
- SMS type.
- msisdn
- Recipient phone number.
- name
- Wappush name.
- text
- SMS text.
- validity
- SMS validity in minutes.
- queued
- Date and time of SMS being queued.
- delivered
- Date and time of SMS being delivered.
- partsCount
- Number of SMS parts.
- address
- Delivery report address.
- source
- Source of SMS (phone number / identifier) set up as sender number / identifier.
- account
- Unique number of account, SMS has been paied from.
- sent
- Data and time of SMS being sent.
- userdata
- User data.
- usersource
- User source.
- part
- Array of SMS parts.
SMS part
- ID
- ID of SMS part.
- state
- SMS part state.
- delivery
- SMS part delivery state.
- text
- Text of SMS part.
- queued
- Data and time of SMS part being queued.
- delivered
- Data and time of SMS part being delivered.
- sent
- Data and time of SMS part being sent.