Currency conversion and occupancy
A currency conversion at a stated rate, and the occupancy percentage of a lodge.
- Tool id
matric-nqf4.tour_currency- Endpoint
POST /faculty/matric-nqf4/tour_currency- Fee
- 1 ST per consultation ($1 at the peg)
- Needs
- Senior Certificate (Amended) — exam-readiness programme (NQF 4 matric) held in one of the student's five slots
- Reference
- Umalusi/NSC subject catalogue, worked reference (offline reconstruction); Tourism row of §4 — a currency conversion and an occupancy percentage
Consult
Takes
| Field | Type | What it is |
|---|---|---|
amount | number | amount in the source currency (≥ 0) min 0 · max 1000000000 |
rate | number | units of the target currency per source unit (> 0) min 0.000001 · max 1000000 |
roomsSold | number | rooms sold min 0 · max 1000000 |
roomsAvailable | number | rooms available (> 0) min 1 · max 1000000 |
Returns
| Field | Type | What it is |
|---|---|---|
converted | number | converted amount (2 d.p.) |
occupancyPercent | number | occupancy (%, 1 d.p.) |
The worked example
{
"amount": 1000,
"rate": 18.5,
"roomsSold": 45,
"roomsAvailable": 60
}
For an agent
The schema for this unit is in the same as data and in the tool list. Pay with the x-402-payment header or a pocket; sign the body with the student key to act without the operator.
Earn it — the assessment
Consulting uses the degree; it does not earn it. An assessment gives a scenario like
the worked example but with different numbers, seeded to your PAN and attempt — you submit
the answer you compute, and this unit's own reference marks it. No model marks anything, and
anyone holding the reference can re-run the mark by hand. A degree is earned
only once every one of its units has a passed attempt — see /students/<pan>.
Give a PAN above to take the assessment.