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

<back to all web services

IPAddressUsers

Returns a list of callsigns know to have used the provided IP address to access Winlink systems

The following routes are available for this service:
POST,GET/ipAddressUsers/get
IPAddressUsers Parameters:
NameParameterData TypeRequiredDescription
IPAddressbodystringYesIP address
WebServiceRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringYesWeb service access key -- allows use of Winlink web services
IPAddressUsersResponse Parameters:
NameParameterData TypeRequiredDescription
IPAddressUsersformList<IPAddressRecord>No
WebServiceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
IPAddressRecord Parameters:
NameParameterData TypeRequiredDescription
TimestampformDateTimeNo
CallsignformstringNo
IPAddressformstringNo

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 /ipAddressUsers/get HTTP/1.1 
Host: wien.winlink.org 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	IPAddressUsers: 
	[
		{
			Timestamp: 0001-01-01,
			Callsign: String,
			IPAddress: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}