Session

Set session priority

Changed on

Assigns priority to a charging session (requires owner or service permissions).

Prioritized sessions are allocated before unprioritized ones and will receive at least the prioritized current.

<b>Important considerations:</b>

  • Multiple sessions can be prioritized; the caller must ensure enough available current.

  • If there is insufficient current, prioritized sessions are allocated on a first-come, first-served basis.

  • After allocating prioritized sessions, any remaining current is distributed among unprioritized sessions.

post/api/session/{id}/priority

Request

  • Base URL
    https://api.zaptec.com
  • URL
    https://api.zaptec.com/api/session/{id}/priority
  • Auth
    OAuth 2
    Password
    Token URL: https://api.zaptec.com/oauth/token

Path parameters

idstring uuid required

Session ID

Request body

prioritizedPhases1 | 3

1 = One

3 = Three

prioritizedCurrentnumber double nullable

Response

OK

Changes