Following are the instructions to use ( and test ) each of the six services -

  • Retrieve all person_id's for a given proposal, keyed by proposal_id or legacy_id
    • We were not sure what person_id would be used for since its internal database primary key. So we assumed that the idea was to retrieve authors.
    • The url to retrieve all authors for a proposal by proposal_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?authorsByProposalId=[]] proposal id like VLA/09A-185]
    • The url to retrieve all authors for a proposal by legacy_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?authorsByLegacyId=[]] legacy id like AS974 ]
    • If you really need to retrieve all person_id based on the proposal / legacy id, let me know I will update the xmls
  • Retrieve all sources for a given proposal, keyed by proposal_id or legacy_id
    • The url to retrieve all sources for a proposal by proposal_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?sourcesByProposalId=[]] proposal id like VLA/09A-185]
    • The url to retrieve all sources for a proposal by legacy_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?sourcesByLegacyId=[]] legacy id like AS974 ]
  • Retrieve all resources for a given proposal, keyed by proposal_id or legacy_id
    1. The url to retrieve all resources for a proposal by proposal_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?resourcesByProposalId=[]] proposal id like VLA/09A-185]
    2. The url to retrieve all resources for a proposal by legacy_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?resourcesByLegacyId=[]] legacy id like AS974 ]
  • Retrieve all sessions for a given proposal, keyed by proposal_id or legacy_id
    1. The url to retrieve all sessions for a proposal by proposal_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?sessionsByProposalId=[]] proposal id like VLA/09A-185]
    2. The url to retrieve all sessions for a proposal by legacy_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?sessionsByLegacyId=[]] legacy id like AS974 ]
  • Retrieve all cover sheet information for a given proposal, keyed by proposal_id or legacy_id
    1. The url to retrieve all cover sheet for a proposal by proposal_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?coversheetByProposalId=[]] proposal id like VLA/09A-185]
    2. The url to retrieve all cover sheet for a proposal by legacy_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?coversheetByLegacyId=[]] legacy id like AS974 ]
  • Retrieve all of the above information for a given proposal, keyed by proposal_id or legacy_id
    1. The url to retrieve a proposal by proposal_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?proposalByProposalId=[]] proposal id like VLA/09A-185]
    2. The url to retrieve a proposal by legacy_id is
      • [[https://mirror.nrao.edu/nrao-2.0/secure/QueryFilter.htm?proposalByLegacyId=[]] legacy id like AS974 ]

Important note ** Before testing these services through an application that retrieves the data, the application has to be Casified.
You can also test these in a browser without any application.
To test each of them first log into mirror.nrao.edu and then open another tab ( on Firefox 3+ or IE7+) and enter each of these urls.
The data will appear on your browser.

Let us know if you have any questions.

regards,
Ashish

-- NicoleRadziwill - 2009-06-26

This topic: Software > ProposalSubmissionTool > IntxSvcsPlanOfRecordC12009 > IntxSvcsMR8C109 > PSTandUserWebServices
Topic revision: 2009-06-26, NicoleRadziwill
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback