SendFreeMTMessage (AOC receive the API call)
AOC send call to HUB
HUB receive call
onboarding
SendFreeMTMessage
received request for SendFreeMTMessage Hub sent request to EI
EI received the call and validate payload with adapter
Ei check mandatory fields are exist
Mandatory field
message : (string)
EnduserID : (String)
MCC &MNC
EI forward call to tpay
Validate response
HTTP/1.1 200 OK
{
"endUserId": "tel:+201069409370",
"message": "test message",
"messageDeliveryStatus": true,
"errorMessage": ""
}
message not exist
Error Message should be Missing mandatory parameter: message
EnduserID not exist
Error Message should be Missing mandatory parameter: EnduserID
MCC &MNC not exist
Error Message should be Missing mandatory parameter: MCC &MNC
Mandatory field c not exist
validate error response
Error Message should be Missing mandatory parameter: endUserId
Send request with mandatory field MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with wrong MCC & MNC is not from the operator table
validate error response
Api call not to success
Send request with tpay has MCC & MNC hub doesn't have
validate error response
Api call not to success
Send request with hub has MCC & MNC tpay doesn't have
validate error response
Api call not to success
Send request with wrong endUserId
validate error response
Api call not to success
Send request with out endUserId tel:+
validate error response
Api call not to success
Send request with missmatch endUserId in url and payload
validate error response
Api call not to success
Send a request with consumer key not available in the DB
validate error response
Api call not to success
Send a request with wrong consumer key
validate error response
Api call not to success
Send a request with invalid SP private key
validate error response
Api call not to success
Send a request with invalid SP public key
validate error response
Api call not to success