Getting the tracking code can be done using both the “code” and “design” methods, which are given below with related explanations.

bpmAppService.BPMSServices.TrackingService.GetTrackingNumber();
Output: int64