Add the GetModeDetails api call.