Remote
Register a new reusable remote callback.
Create a new reusable callback.
post/fleets/{fid}/remote/callbacks
Request
- Base URLhttps://api-cert.groupe-psa.com/connectedcar/v3
- AuthHTTP basic and API key in query parameter client_id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fidstring required
Resource is related to this fleet ID only.
Request body
Example request
{
"retryPolicy": {
"policy": "None",
"retryNumber": 10,
"retryDelay": 60
},
"callback": {
"webhook": {
"target": "https://my.post.callback",
"name": "My_Webhook",
"attributes": [
{
"type": "Header",
"key": "X-Vehicle_Id",
"value": "$vin"
}
]
}
},
"remoteTypes": [
"Doors"
]
}Response
Remote callback creation or update success response
Example response
{
"_links": {
"fleet": {
"href": "http://example.com",
"deprecation": "http://example.com"
},
"callback": {
"href": "http://example.com",
"deprecation": "http://example.com"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.