Sequence diagrams do not require detailed information about the returned object.
When an operation is performed on an object / class (rectangles), the returned dashed arrow should return to the line and the object from where it came from.

If a value is returned (an object or a simple type variable is called), its identifier should appear above the returned arrow.
Optional return tags may appear above arrows that do not explicitly return a value.
There are several tutorials on the Internet, I recommend:
http://www.agilemodeling.com/essays/umlDiagrams.htm
EDIT:
In sequence diagrams, the returned type of an object is indicated by an identifier in the text in each field, for example, "user: user" or ": UserDAO".
Then, an additional object diagram or an object diagram based on these objects can provide additional information to the actual sequence diagram using the same class identifier or object identifier, For example: βUserβ or βUserβ.
Do not confuse class id with instance id.
Please note that in this figure, some fields skip the instance identifier of a particular object or replace it with an asterisk.
umlcat
source share