Integration TrailsINTEGRATION/TRAILS
FORGENewARTICLESMODULESCHALLENGESLEADERBOARDPRICINGABOUTDASHBOARD
INTEGRATION/TRAILS

Stop Reading Theory. Start Solving Problems.

// Built by practitioners
// PlatformModulesChallengesLeaderboardTrailsArticles
// ConnectNewsletterYouTubeTikTokAbout Us
// SupportHelp & SupportContact
© 2026 — Integration TrailsContent — CC BY-NC-SA | Code — MIT LicenseVER:2026-08-11-72a9b56
Challenges/ch-21-build-paginated-shipment-response-for-system-api·DataWeave·INTERMEDIATE
DataWeaveINTERMEDIATE

Build Paginated Shipment Response for System API

Veridian Logistics exposes a Shipments System API consumed by internal Process APIs and third-party logistics partners. When a paginated query returns results from Oracle DB, the raw JDBC output carries uppercase column names and a full datetime string — none of which match the API contract. This challenge asks you to rename every field, compute the pagination envelope from the result set, and read page metadata from the HTTP request attributes preserved earlier in the flow.

#jdbc#rest-api#pagination
BY @patryk_bandurski
Community rating
5.0
1 rating
Sign in to rate
DWL
// READY TO BEGIN

Make it
count.

  • 3 attempts on every challenge
  • XP points & leaderboard scored
  • Public profile & shared trail
  • Newsletter weekly with API replay
Sign Up Free →Already a member → Sign in
// 5.0 ★ from 1 ratings

The fastest way
to learn integration.

Every challenge ships with a real-world payload, a graded test suite, and a walkthrough by a practitioner. No surface-level theory — just problems, solved.

…Challenges
…Modules
// You're reading in preview mode

You can read everything.
Coding requires an account.

🔒 IDE locked · sign in to enable
%dw 2.0
output application/json
---
payload
// Sign up to run, submit, and earn XP on this challenge
// 5.0 STARS · 1 RATINGSSCROLL TO READ ↓

The fastest way
to learn integration.

01.
Production payloads
Real CSV/JSON/XML you'll meet on day one — null fields, mixed casing, partial records.
02.
Design problems
What practitioners actually solve — null-safety, idempotency, retries, batch boundaries.
03.
Edge cases that break
Empty arrays, type coercion, deeply nested transforms, locale-specific dates.
…
CHALLENGES
…
MODULES
// Free forever · No credit card

Sign up.
Then code.

Free accounts get 3 attempts per challenge, full XP, and your trail progress synced across devices.

▶ Sign up free →Have an account? Sign in →
// WHAT YOU'LL BUILDHOW IT WORKS ↓
01.
Live DataWeave editor
Real DWL 2.0 IDE with helpers, modules, syntax highlighting.
02.
Test cases run on real runner
Same Go runner used in prod. Diffs show exactly which fields fail.
03.
3 graded attempts
Submit when you're ready. Score persists. Solution unlocks after pass or last attempt.
04.
Helpers & multi-module DWL
Bring in reusable %dw modules. Import, export, compose.
05.
XP & leaderboard
Points + XP awarded per challenge. Trail progress synced.
06.
Production-style payloads
Real CSV/JSON/XML — null fields, mixed casing, partial records.