CMS Web Services - v4.0.6412.13235 [cms-a]

<back to all web services

AccountAdd

Adds a new callsign or tactical account. Password must be alphanumeric, uppercase, and no less than 6 and no more than 12 characters long. Password can be blank for tactical accounts only.

The following routes are available for this service:
POST,GET/account/add
AccountAdd Parameters:
NameParameterData TypeRequiredDescription
CallsignbodystringYesAccount callsign or tactical address
PasswordbodystringYesAccount password
WebServiceRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringYesWeb service access key -- allows use of Winlink web services
WebServiceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/AccountAdd HTTP/1.1 
Host: cms.winlink.org 
Content-Type: text/csv
Content-Length: length

{"Callsign":"String","Password":"String","Key":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}