[api] user external id instead of internal id for Undertaking Detail