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

<back to all web services

ProgramVersionsCounts

Returns a data structure containing the name and counts of all programs reporting version within the past 30 days.Maximum request frequency - 30 minutes.

The following routes are available for this service:
POST,GET/program/version/counts
WebServiceRequest Parameters:
NameParameterData TypeRequiredDescription
KeyformstringYesWeb service access key -- allows use of Winlink web services
ProgramVersionsCountsResponse Parameters:
NameParameterData TypeRequiredDescription
ProgramVersionCountsformList<ProgramVersionsCountRecord>No
WebServiceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ProgramVersionsCountRecord Parameters:
NameParameterData TypeRequiredDescription
ProgramformstringNo
VersionformstringNo
CountformintNo

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 /program/version/counts HTTP/1.1 
Host: wien.winlink.org 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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

{"ProgramVersionCounts":[{"Program":"String","Version":"String","Count":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}