Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "GOCDB/PI/get site contacts method"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
(change goc.gridops.org to goc.egi.eu)
Line 28: Line 28:
|-
|-
| roletype || Limit results to contacts with the given role || any valid role type || all || ?method=get_site_contacts&roletype=Security Officer  
| roletype || Limit results to contacts with the given role || any valid role type || all || ?method=get_site_contacts&roletype=Security Officer  
|-
| scope(=Local) || Show only sites in the passed scope (Local is currently the only scope available) || "Local" || all || ?method=get_site_list&scope=Local
|}
|}



Revision as of 11:29, 10 November 2011

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


Tools menu: Main page Instructions for developers AAI Proxy Accounting Portal Accounting Repository AppDB ARGO GGUS GOCDB
Message brokers Licenses OTAGs Operations Portal Perun EGI Collaboration tools LToS EGI Workload Manager



Method: get_site_contacts

Description Returns a list of persons (and associated info) having a role at site level, grouped per site
Protection Level Protected (level 2)

Entry point

parameters

parameter effect format/value(s) default example
sitename Only return infos for site with specified site name any sitename all ?method=get_site_contacts&sitename=RAL-LCG2
roc (ngi) Limit results to sites belonging to given NGI any NGI name all ?method=get_site_contacts&roc=NGI_DE
country Limit results to sites belonging to given country any country all ?method=get_site_contacts&country=Poland
roletype Limit results to contacts with the given role any valid role type all ?method=get_site_contacts&roletype=Security Officer
scope(=Local) Show only sites in the passed scope (Local is currently the only scope available) "Local" all ?method=get_site_list&scope=Local

XML schema

https://goc.egi.eu/gocdbpi_v4/private/?method=get_site_contacts&output=xmlschema

Output Example

<?xml version="1.0"?>
<results>
 <SITE ID="405005" PRIMARY_KEY="123G0" NAME="GRIDOPS-GOCDB">
  <PRIMARY_KEY>123G0</PRIMARY_KEY>
  <SHORT_NAME>GRIDOPS-GOCDB</SHORT_NAME>
  <CONTACT USER_ID="185" PRIMARY_KEY="6215G0">
   <FORENAME>Gilles</FORENAME>
   <SURNAME>Mathieu</SURNAME>
   <TITLE>Mr</TITLE>
   <DESCRIPTION>GOCDB administrator</DESCRIPTION>
   <EMAIL>snip</EMAIL>
   <TEL>+44 (0) 1235446340</TEL>      
   <WORKING_HOURS_START>08:00</WORKING_HOURS_START>      
   <WORKING_HOURS_END>17:00</WORKING_HOURS_END>
   <CERTDN>snip</CERTDN>
   <ROLE_NAME>Site Administrator</ROLE_NAME>
  </CONTACT>
 </SITE>
</results>

Back to GOCDB technical Documentation main page