Difference between revisions of "GOCDB/PI/get project contacts"

From EGIWiki
< GOCDB‎ | PI
Jump to: navigation, search
(parameters)
(parameters)
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
|-
 
|-
 
| project || Limit results to users with a role over a specified project || any project name || any|| ?method=get_project_contacts&project=EGI
 
| project || Limit results to users with a role over a specified project || any project name || any|| ?method=get_project_contacts&project=EGI
 +
|-
 +
| Docs for cursor params coming soon.
 +
| Limit results and use cursor paging to iterate over all results
 +
| [https://wiki.egi.eu/wiki/GOCDB/notifications#Optional_Cursor_Paging_on_Read_API See here for info]
 +
|
 +
|
 +
|-
 
|}
 
|}
  
 
=== Output Example ===
 
=== Output Example ===
 
+
<Source Lang="XML">
 
  <?xml version="1.0"?>
 
  <?xml version="1.0"?>
 
  <results>
 
  <results>
Line 41: Line 48:
 
  </PROJECT>
 
  </PROJECT>
 
  </results>
 
  </results>
 +
</Source>
  
 
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]]
 
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]]

Latest revision as of 15:27, 16 December 2016

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


GOC DB menu: Home Documentation Index


Method: get_project_contacts

Description Returns a list of persons (and associated info) having a role over a project.
Protection Level Protected (level 2)

Entry point

parameters

parameter effect format/value(s) default example
project Limit results to users with a role over a specified project any project name any ?method=get_project_contacts&project=EGI
Docs for cursor params coming soon. Limit results and use cursor paging to iterate over all results See here for info

Output Example

 <?xml version="1.0"?>
 <results>
 <PROJECT NAME="EGI">
     <CONTACT USER_ID="1484G0" PRIMARY_KEY="1484G0">
     <FORENAME>David</FORENAME>
     <SURNAME>Meredith</SURNAME>
     <TITLE>Dr.</TITLE>
     <EMAIL>david.meredith@stfc.ac.uk</EMAIL>
     <TEL>+44 1925 603762</TEL>
     <WORKING_HOURS_START/>
     <WORKING_HOURS_END/>
     <CERTDN>/C=UK/O=eScience/OU=CLRC/L=DL/CN=david meredith</CERTDN>
     <ROLE_NAME>COD Staff</ROLE_NAME>
 </PROJECT>
 </results>

Back to GOCDB technical Documentation main page