Difference between revisions of "GOCDB/PI/get cert status date"

From EGIWiki
< GOCDB‎ | PI
Jump to: navigation, search
(parameters)
(Output Example)
Line 24: Line 24:
 
=== Output Example ===
 
=== Output Example ===
  
<?xml version="1.0" encoding="UTF-8"?>
+
  <?xml version="1.0" encoding="UTF-8"?>
<results>
+
  <site>
  <site>
+
    <name>Some-Site-Short-Name</name>
    <name>SOME_SITE</name>
+
    <cert_status>Candidate</cert_status>
    <cert_status>Suspended</cert_status>
+
    <cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
    <cert_date>21-MAR-11 03.20.22.000000 PM</cert_date>
+
    <production_status>Production</production_status>
  </site>
+
    <ROC>UKI</ROC>
</results>
+
  </site>
  
  
 
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]]
 
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]]

Revision as of 14:07, 16 May 2011

Method: get_cert_status_date - GOCDB4

Description Returns a list of current certification statuses for Production sites and the date they entered that status
Protection Level Protected (level 2)

Entry point

parameters

parameter effect format/value(s) default example
certification_status Limit results to sites with given certification status one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" all ?method=get_cert_status_date&certification_status=Suspended
roc Limit results to a specific ROC/NGI ROC/NGI short name all ?method=get_cert_status_date&roc=UKI

Output Example

 <?xml version="1.0" encoding="UTF-8"?>
 <site>
   <name>Some-Site-Short-Name</name>
   <cert_status>Candidate</cert_status>
   <cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
   <production_status>Production</production_status>
   <ROC>UKI</ROC>
 </site>


Back to GOCDB technical Documentation main page