younifyd
Menu

/api/users/current (Get current user)

Get current user

GET/api/users/current

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/users/current (Get current user) action (under CbxUserController).
  3. Fill in the fields below, then reference the result from later steps as {{apiUsersCurrentGetCurrentUser.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "/"

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

Returns 200 with an object. Read it in later steps with {{apiUsersCurrentGetCurrentUser.response.data.<field>}}.

idstring
refNostring
versioninteger (int32)
userNamestring
docStatusstring
json
{
  "id": "string",
  "refNo": "string",
  "version": 0,
  "userName": "string",
  "docStatus": "string"
}

Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.

/api/users/current (Get current user) — TradeBeyond — Documentation