Message. Fetch data by request POST

get data of Messages by parametrs

# ENDPOINT
/api/clientMessage/getData/clientMessageSearchRequest
# REQUEST BODY
# RESPONSE
        						
# REQUEST BODY
Schema: clientMessageSearchRequest
Type: object
Variable Name Type Format Usage Description
allocation Allocation string
List of allowed values in field (value=>name):
  • 0
    MESSAGE
  • 1
    NOTIFICATION
body body string Body
direction direction string Direction
List of allowed values in field (value=>name):
  • 0
    A2A
  • 1
    A2C
  • 2
    C2A
  • 3
    C2C
from_client_code from_client_code string From client code
from_mail from_mail string From mail
from_phone from_phone string From phone
from_url from_url string From url
fromOrTo_client_code fromOrTo_client_code string FromOrTo client code
importance importance string Importance
List of allowed values in field (value=>name):
  • 0
    Nothing
  • 1
    URGENT
limit limit integer int64 Count records for part data to get
offset_version Offset version INTEGER
offsetid Offsetid integer
page page integer int64 Part data with number of page
page_changes_version_offset Page changes version offset INTEGER
processing_status Processing Status string Processing operation status
read_status read_status string Read status
reference_model Reference model string
reference_value Reference value string
reply_message_id Reply message id integer
send_date send_date string DATETIME Send date
skip_total_records Skip total records boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
subject subject string Subject
template_id template_id integer INT64 Template id
to_client_code to_client_code string To client code
to_mail to_mail string To mail
to_phone to_phone string To phone
to_url to_url string To url
# REQUEST BODY EXAMPLE
													
# POSITIVE RESPONSE

200 - Response successfully when status is OK

200 - Response successfully when status is OK

Schema: clientMessage
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data array data of Response
attribute: data
Variable Name Type Format Description
action Action string
allocation Allocation string
attachments attachments string Attachments
body body string Body
create_date Create Date string DATETIME The date entry was created on
create_user Create User string The username of ABS user who has created an entry
delivery_date delivery_date string DATETIME Delivery date
direction direction string Direction
error_description Error Description string Description of error
expires expires string Expires
form_title form_title string Service field
from_client_code from_client_code string From client code
from_country_calling_code from_country_calling_code string From country calling code
from_mail from_mail string From mail
from_name from_name string From name
from_phone from_phone string From phone
from_url from_url string From url
id id integer INT64 Record's sequence number generated in the system.
importance importance string Importance
language language string The language user has specified as the language of service
modify_date Modify Date string DATETIME The date entry was last modified on
modify_user Modify User string The username of ABS user who has made last changes to the entry
processing_response processing_response string Processing response
processing_status Processing Status string Processing operation status
protocol protocol string Protocol
provider provider string Provider
read_status read_status string Read status
reference_model Reference model string
reference_type reference_type string Reference type
reference_value Reference value string
reply_message_id Reply message id integer
send_date send_date string DATETIME Send date
state state integer INT64 Record state for replication
subject subject string Subject
template_id template_id integer INT64 Template id
to_client_code to_client_code string To client code
to_country_calling_code to_country_calling_code string To country calling code
to_mail to_mail string To mail
to_mail_cc to_mail_cc string To mail cc
to_name to_name string To name
to_phone to_phone string To phone
to_url to_url string To url
uid uid string Unique record identifier which is used to distinguish between existing records
UrlEndpoint UrlEndpoint string UrlEndpoint
version version integer INT64 Record version for replication
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

200 - Response with error when status is ERROR

Schema: HeaderResponseStatusError
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object