*Implemented CORE-1543 In Resource Flag API add the collectionId field