TNS Internal:NDR/API/2.0/implementationDetails/addMetadataRecord
From NSDLWiki
< TNS Internal:NDR | API | 2.0 | implementationDetails
Return to NDR/API 2.0 Requests By Object
Contents[hide] |
Under Construction
Proposed method for inclusion in NDR/API 2.0.
NDR API Implementation Details - addMetadataRecord
Create a metadata record about a resource.
Discussions
Input Discussions
- handle (Collection Aggregator)
- metadataXML (any format)
- XMLFormat (id of format of XML - requires registration in advance)
- resourceURL
- <optional> identifier - assigned generated handle if missing
Output Discussions
- returns identifier if successful
- returns error if identifier is not unique
- may return general error if add fails
Processing Discussions
General Discussions
Assumptions
- current agent of the call is assumed to be the application agent
- MDP handle is based on application's Agent handle
Creates NDR objects...
- Resource (if doesn't already exist) with relationship to Collection Aggregator
- Metadata (stores metadataXML in native format as passed in) with relationship to MetadataProvider (based on app's Agent handle)
Implementation
Developer: TBA
Basic description of the process...
- TBA
Links
API Links:
- Conceptual Framework (2.0 philosophy)
- APIBasics
- ObjectTypes
- Encoding
- APIRequestsByObject v1.0
- APIRequestsAlphabetical v1.0
- APIRequestsByObject v2.0