Skip to main content
POST
Create a new GLEC service footprint entry

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
id
string<uuid>
requerido
Ejemplo:

"c5b87f15-33ed-4522-90eb-d23473ab911d"

clientId
string<uuid>
requerido
Ejemplo:

"d0486f00-d1fc-4f96-95d3-155b038e98a7"

startDate
string<date>
requerido
Ejemplo:

"2024-07-03"

endDate
string<date>
requerido
Ejemplo:

"2024-07-18"

actions
object[]
requerido
companyId
string<uuid>
requerido
Ejemplo:

"e72a084e-e2ca-4a28-831c-be00bad46a93"

externalId
string
Ejemplo:

""

from
string
Ejemplo:

"Granada, Spain"

to
string
Ejemplo:

"Barcelona"

Respuesta

Successfully created GLEC service footprint entry

message
string
Ejemplo:

"GLEC service footprint entry created successfully."

id
string<uuid>
Ejemplo:

"557628f1-1969-4222-9172-fa66e1c378de"