added bulk capabilities to the api endpoints
added bulk capabilities to the api endpoints