Sending different messages to users in a list

This service sends different message(s) to multiple users. Unlike sendmsgservlist, each user can receive a different message. For each item in receivercontentlist, provide the recipient, the message to send, and optionally the expire value. It works asynchronously.

Format

Send the service username/password in the Header using Basic Authentication.

https://tims.turkcell.com.tr/tes/rest/spi/sendmultiusermulticontent

Request
FieldValueDescription
*txnidstringRequest id value
*receiverobject
*typeintRecipient address type. Values: 0 -> Hashed address 1 -> All addresses following the service 2 -> MSISDN (plain number)
*addressstringAddress in the type specified by type. If type is 0, address is hashed (value provided by bipussu). If type is 1, address must not be in the request. If type is 2, provide the address in 905XXXXXXXXX format.
*compositionobject
*listlistMessages to send; at least 1 item required.
*typeintMessage type. Values: 0 – Text 2 – Photo 3 – Audio 4 – Video 5 – Sticker 6 – Caps 7 – Location 9 – Finish Line 10 – Contact 13 – Template Media Message 14 – Document. Additional parameters depend on the selected type.
expireintSeconds until the message disappears. Values: 3, 5, 10, 60
extra paramsAdditional parameters depending on content type. See content type formats.
Response
FieldValueDescription
*txnidstringRequest id value
*resultcodestringResponse code. 0 for success; failures see Error Codes.
*listlistFilled if successful and reporting is available.
*resultcodeintSend result. 0 for success; otherwise see Error Codes.
*receiverstringRecipient.
*reportidstringId of the message sent to the user.
*numberofmessageintNumber of messages to the user.
*totalnumberofmessageintTotal number of messages sent to the user.

Validations

Follows the same validation rules as other message sending services; refer to the Validations and Error Handling sections.