This service calculates ORC PCS scoring online. To use this service:
You can find a test page for this service here.
To use the web service to query the ORC database for the rating data of the currently active certificates for a single boat:
http://data.orc.org/public/WPub.dll?action=DownBoatRMS
The possible parameters are:
RefNo : The ORC Reference Number of the certificate (eg. ESP00003507, only if the certificate is known)
CountryId : The country abbreviation (eg ESP)
Family : The family of certificates. Possible values are
This web service will always return a file as result, containing ONE (ONLY the first of a multi-row result set) boat (or none, if the criteria are not met).
All the parameters above are optional. They can also be used in conjunction.
The "%" character can by used as a wildcard in the YachtName, SailNo, dxtName parameters (use "%%" if testing from the browser address bar).
The url accepts both GET & POST requests.
Examples:
https://data.orc.org/public/WPub.dll?action=DownBoatRMS&SailNo=GRE-016&Family=DH&ext=json
https://data.orc.org/public/WPub.dll?action=DownBoatRMS&YachtName=OXYG%%&CountryId=GRE&ext=rms
https://data.orc.org/public/WPub.dll?action=DownBoatRMS&YachtName=OXYG%%&SailNo=%%-70
https://data.orc.org/public/WPub.dll?action=DownBoatRMS&RefNo=ESP00002531&ext=json
To use the web service to query the ORC database for the rating data of the currently active certificates for a country:
https://data.orc.org/public/WPub.dll
The url above will provide summary information of boat rating records for each country in xml format, including the date and time of the last update.
To download a specific's country rating use the following query:
https://data.orc.org/public/WPub.dll?action=DownRMS&CountryId=[country abbreviation]&Family=[family abbreviation]&ext=[format]
Country abbreviations (3-letter string) are available in the xml summary mentioned above.
Family parameter may be "ORC", "NS" or "DH" (see above).
Format parameter may be "rms" (default), "json" or "csv" (see boat data format above).