Skip to main content
POST
/
v2
/
temporary-evse-statuses
Create a new Temporary EVSE Status
curl --request POST \
  --url https://api.spirii.com/v2/temporary-evse-statuses \
  --header 'Content-Type: application/json' \
  --data '
{
  "evseId": "DK*SPI*E123*1",
  "temporaryStatus": "MAINTENANCE",
  "validFrom": "2025-04-23T10:00:00Z",
  "validTo": "2025-04-23T18:00:00Z"
}
'
{
  "id": 42,
  "temporaryStatus": "MAINTENANCE",
  "evseId": "DK*SPI*E123*1",
  "validFrom": "2023-01-01T12:00:00Z",
  "validTo": "2023-01-01T14:00:00Z"
}

Body

application/json
evseId
string
required

Reference to the EVSE ID

Example:

"DK*SPI*E123*1"

temporaryStatus
enum<string>
required
Temporary EVSE status property.

Use Cases  
- MAINTENANCE: Use this status when an EVSE is undergoing maintenance and should not be used by customers.  
- COMMISSIONING: Use this status for EVSEs that are being set up or tested and are not yet ready for public use.  
- BLOCKED: Use this status to temporarily prevent an EVSE from being used, for example, due to a fault or safety concern.  
- RESERVED: Use this status to indicate that an EVSE is reserved for a specific user or time period.  
Available options:
MAINTENANCE,
COMMISSIONING,
BLOCKED,
RESERVED
Example:

"MAINTENANCE"

validFrom
string

Start date and time of the Temporary EVSE Status. If unset, the current date and time will be used.

Example:

"2025-04-23T10:00:00Z"

validTo
string

End date and time of the Temporary EVSE Status. If unset, the temporary status will ramain until removed.

Example:

"2025-04-23T18:00:00Z"

Response

id
number
required

The unique identifier for the Temporary EVSE Status

Example:

42

temporaryStatus
enum<string>
required

Status of the Temporary EVSE Status

Available options:
MAINTENANCE,
COMMISSIONING,
BLOCKED,
RESERVED
Example:

"MAINTENANCE"

evseId
string
required

The EVSE ID

Example:

"DK*SPI*E123*1"

validFrom
string

The start date and time of the Temporary EVSE Status

Example:

"2023-01-01T12:00:00Z"

validTo
string

The end date and time of the Temporary EVSE Status

Example:

"2023-01-01T14:00:00Z"