Difference between revisions of "GOCDB/PI/get project contacts"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 21: | Line 21: | ||
! parameter !! effect !! format/value(s) !! default !! example | ! parameter !! effect !! format/value(s) !! default !! example | ||
|- | |- | ||
| project || | | 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> | ||
<PROJECT NAME="EGI"> | <PROJECT NAME="EGI"> | ||
<CONTACT USER_ID=" | <CONTACT USER_ID="1484G0" PRIMARY_KEY="1484G0"> | ||
<FORENAME>David</FORENAME> | <FORENAME>David</FORENAME> | ||
<SURNAME>Meredith</SURNAME> | <SURNAME>Meredith</SURNAME> | ||
Line 47: | 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>