Skip to Content

Add Backfill - AddBackfill

Overview

Users send messages through the interface. When the message is consumed at the terminal, this interface is called to record it.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is AddBackfill.Yes
PublicKeystringThe user’s public key can be obtained from Console Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesNo
ZonestringAvailability Zone. See Availability Zone ListNo
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.Yes
SendNostringSend Number, record the uniqueness of a send requestYes
TargetstringThe recipient of the SMS, the phone number needs to add a country code, for example (1)231xxxxYes
BackfillTimeintBackfill Time, Second-Level TimestampNo
ContentstringFill in contentNo
SendTimeintTime of sending the request, second-level timestampNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No

Example

Request Example

https://api.ucloud-global.com/?Action=AddBackfill &Region=cn-zj &Zone=cn-zj-01 &ProjectId=hXfXXHNM &SendNo=RSwiTUiJ &Target=YAOhCfLh &BackfillTime=5 &Content=iXXgqdvC &SendTime=7

Response Example

{ "Action": "AddBackfillResponse", "Message": "VOtOhTwd", "RetCode": 0 }