How to describe an exchange between two systems

User guide Document

What it is for: An arrow between two systems can say what flows through it. You note the protocol, the operation, the message and the possible errors.

Before you start: Switch to Edit mode. Click "Edit".

Steps

  1. Click the arrow to describe.
  2. In the floating bar, click "Exchange format". A right-click on the arrow offers "Exchange format…".
  3. In "Nature", say the kind of exchange. Example: "HTTP request".
  4. In "Protocol", "Operation" and "Message", note the details. Fictional example of an operation: "POST /v1/demandes".
  5. In "Message body (JSON or free text)", paste a sample of the message.
  6. In "Result and errors", note the possible responses.
  7. Click "Save". The shortcut is Ctrl+Enter (⌘+Enter on Mac).

The "Exchange format" window of an arrow between "Portail citoyen" and "Système de permis", fields filled in.

Words to know

  • The protocol is the way of communicating. Example: "HTTPS · REST".
  • JSON is a text format for data. Boreal Map indents it with "Format JSON".
  • "Condition" says when the exchange takes place.

Good to know

  • Everything is optional. Fill in only what you know.
  • The same fields are in "Properties", "Exchange format" section.
  • Text that is not JSON is kept as it is.
  • Readers see the message as read-only. The "Copy" button copies it.

If it does not work

  • "Save" is greyed out: nothing has changed.
  • The message field is red: the JSON is not valid. Fix it, or keep it as text.
  • "Exchange unavailable": the arrow is no longer in the view.
  • No "Exchange format" button: you selected a box. Select an arrow.

See also