APIs and SaaS
REST · GET, POST and explicit reply
Retrieve a customer, post a mapped order, and return an explicit 201 response with a business header. In an exported runtime the response is sent only after successful End validation.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 5 activities and 4 transitions
Activities
- Start
start - GET customer
http.get - POST order
http.post - Reply with HTTP 201
http.reply - End
end
Transitions
- Start → GET customer (on success)
- GET customer → POST order (on success)
- POST order → Reply with HTTP 201 (on success)
- Reply with HTTP 201 → End (on success)
Walkthrough
- GET customerHTTP GET using the selected shared connection.
- POST orderHTTP POST using the selected shared connection.
- Reply with HTTP 201Set the HTTP status and response headers. End validates and returns the body; no early response or duplicate replies.
What you will practise
- Retrieve a customer, post a mapped order, and return an explicit 201 response with a business header. In an exported runtime the response is sent only after successful End validation.
- Shared connection IDs stay explicit. Simulation uses fixtures; live actions require operator approval.
Sample cases
1 case with 3 assertions, run with python -m server.integration examples --all in simulation.
End-to-end sample
PassedExecute the actual flow with explicit external fixtures.
Expected result Every activity completes and the expected final result matches.
3/3 assertions
- Flow completes
- Final output
- No unconfirmed receipts
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- REST request. The gallery never activates it; sample runs pass the case input directly.
- Optional dependencies
- None beyond the base runtime.
- Simulation fixtures
crm_apihttp · http.getorders_apihttp · http.post
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
6382b451772db4b6edecda9a658f646b52e96a1db8faac96e0eb7eb77eec2936- Closure SHA-256
b3767d1e43797d4661d21336023c877358662902b82ec2855a387148c383570b- Runtime
1.27.0- Results
- 1/1 cases, 3/3 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/rest_reply_palette_lab.jsonserver/integration/templates/rest_reply_palette_lab.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example rest_reply_palette_lab PYTHONPATH=. python scripts/export_public_gallery.py --check