Skip to Content
Short Message Service(USMS)QueryUSMSSignature

Query USMS Signature Application Status - QueryUSMSSignature

Overview

Invoke the QueryUSMSSignature interface to query the status of the SMS signature application

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is QueryUSMSSignature.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
ProjectIdstringProject ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the GetProjectList interface.No
SigIdstringApplied SMS Signature ID (Work Order ID when applying for SMS signature); At least one of the Signature ID and Signature must be filled in;No
SigContentstringSignature content; At least one of Signature ID and Signature must be filled in;No

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
DataOutSignatureSignature InformationYes

Data Model

OutSignature

Field NameTypeDescription InformationRequired
SigIdstringSignature IDYes
SigContentstringSignature ContentYes
StatusintSignature status. 0-Pending review 1-Under review 2-Approved 3-Not approved 4-DisabledYes
ErrDescstringSignature Audit Failure ReasonYes

Example

Request Example

https://api.ucloud-global.com/?Action=QueryUSMSSignature &ProjectId=BLAfnnPS &SigId=SIG20190711D48C1F

Response Example

{ "Action": "QueryUSMSSignatureResponse", "Data": { "ErrDesc": "", "SigContent": "test", "SigId": "SIG20190711D48C1F", "Status": 2 }, "Message": "", "RetCode": 0 }