Sidebar Menu

AssignKeyword

Contents 1 AssignKeyword Request 2 AssignKeyword Response 3 Assign Keywords Code Examples 3.1 PHP

Request

Parameter Name Data Type Sample Input
LicenseKey: Required to authenticate users invoking this Web Service.

Trial Key. Production Key.

Guid F01d89fd-5155-5455-5585-e84ab8de8591
SMSKeywords: An array of Keyword requests shown below.
KeywordRequestInfo

Keyword: New keyword.

ShortCode: ShortCode to assign new keyword to.


String

String


Keyword27

10101


Response

Parameter Name Data Type Sample Output
ReturnCode: Return code for method call. Should always return NoError for AssignKeyword(). String NoError
SMSKeyword: An array of keyword responses shown below.
KeywordResponseInfo

EntryDate: DateTime in UTC of when keyword was added.

Keyword: Keyword.

ReturnCode: Return code for this keyword. Can return:
ShortCodeInvalid, KeywordInvalid, KeywordAdded, ShortCodeNotAssignedToKey, KeywordAlreadyInUse, InternalError

ShortCode: ShortCode that this keyword is assigned to.


Datetime

String

String


String


2010-05-11T19:17:28

Keyword27

NoError


10101