ArcGIS API for JavaScript: DocEx/DocumentRecords_addOnly (MapServer)
Built using the ArcGIS API for JavaScript