Get QMASS Routing Assignments - OMQMVRA
Get QMASS Routing Assignments (OMQMVRA)
Required Parameter Group:
| 1 | Vehicle Identifier | Input | Char(10) |
| 2 | Return Status | Output | Char(1) |
| 3 | Number of Routing Assignments | Output | Packed(3,0) |
| 4 | Routing Assignment List | Output | Char(100) |
API Overview:
The Get QMASS Routing Assignments API (OMQMVRA) will retrieve the list (if any) of QMASS Routing Profiles that are currently assigned to a given vehicle. In addition to the list of Profile identifiers, it returns the number of profiles that are currently assigned.
Required Parameter Group Details:
(1) Vehicle Identifier
INPUT; CHAR(10)
This parameter must contain the vehicle identifier used to determine the name and number of routing assignments.
(2) Return Status
OUTPUT; CHAR(1)
Status value returned to the caller will be set as follows:
| 0 | Success, 0 to 10 routing assignments found for the specified vehicle |
| 1 | Failure, vehicle identifier not found |
(3) Number of Routing Assignments
OUTPUT; PACKED(3,0)
The number of routing assignments currently defined for the specified vehicle.
(4) Routing Assignment List
OUTPUT; CHAR(100)
This field contains the list of Routing Profiles that are currently assigned to the specified vehicle. If the specified vehicle has multiple assignments, this field will contain Profile 1 in positions 1-10, Profile 2 in positions 11-20, etc. It will contain blanks if the given vehicle has no routing assignments defined.
| 1-10 | Profile #1 | Char(10) |
| 11-20 | Profile #2 | Char(10) |
| 21-30 | Profile #3 | Char(10) |
| 31-40 | Profile #4 | Char(10) |
| 41-50 | Profile #5 | Char(10) |
| 51-60 | Profile #6 | Char(10) |
| 61-70 | Profile #7 | Char(10) |
| 71-80 | Profile #8 | Char(10) |
| 81-90 | Profile #9 | Char(10) |
| 91-100 | Profile #10 | Char(10) |