CMS Web Services - v4.0.6459.17834 [cms-b]

<back to all web services

AccountCallsignSearch

Searches for matching callsigns. All callsigns containing the search text are returned.

The following routes are available for this service:
POST,GET/account/callsign/search
AccountCallsignSearch Parameters:
NameParameterData TypeRequiredDescription
SearchTextbodystringYesSearch text
RecordLimitbodyintNoLimits number of returned records (default: 100)
WebServiceRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringYesWeb service access key -- allows use of Winlink web services
AccountCallsignSearchResponse Parameters:
NameParameterData TypeRequiredDescription
CallsignsformList<string>No
WebServiceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

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

HTTP + JSV

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

POST /account/callsign/search HTTP/1.1 
Host: cms.winlink.org 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	SearchText: String,
	RecordLimit: 0,
	Key: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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