Initiates the registration process for this OCPI version.
Initiates the registration process for this OCPI version.
Header Parameters
Authorization string required
Token Base64encodedtoken
X-Request-ID string required
Unique request ID
X-Correlation-ID string required
Unique correlation ID
application/json
Request Body
- Array [
- ]
data object
token string
url uri
roles object[]
role int32
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
]
Default value: 0
party_id string
country_code string
business_details object
name string
website uri
logo object
url uri
thumbnail uri
category int32
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
]
Default value: 0
type string
width int32
height int32
statusCode int32
statusMessage string
timestamp date-time
Responses
- 200
- 400
- 405
The OK response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
data object
token string
url uri
roles object[]
role int32
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
]
Default value: 0
party_id string
country_code string
business_details object
name string
website uri
logo object
url uri
thumbnail uri
category int32
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
]
Default value: 0
type string
width int32
height int32
statusCode int32
statusMessage string
timestamp date-time
{
"data": {
"token": "string",
"url": "string",
"roles": [
{
"role": 0,
"party_id": "string",
"country_code": "string",
"business_details": {
"name": "string",
"website": "string",
"logo": {
"url": "string",
"thumbnail": "string",
"category": 0,
"type": "string",
"width": 0,
"height": 0
}
}
}
]
},
"statusCode": 0,
"statusMessage": "string",
"timestamp": "2024-12-04T11:51:40.462Z"
}
Something went wrong
The client has already been registered before
Loading...