5 "description": "Listener API has to be implemented on the client side in order to receive notification.\nNotification are received if HUB has been posted on server side.",
7 "title": "API Listener",
9 "url": "/redoc/logo.png",
10 "backgroundColor": "#FFFFFF"
15 "basePath": "/externalapi/listener/v1",
20 "application/json;charset=utf-8"
36 "application/json;charset=utf-8"
39 "application/json;charset=utf-8"
41 "operationId": "listenerCreate",
42 "summary": "createEvent",
43 "description": "The create event is used by the seller to trigger (POST) a notification to the buyer. The buyer has previously subscribed to receive notification\n\nSpecific business errors for current operation will be encapsulated in\n\nHTTP Response 422 Unprocessable entity\n",
54 "$ref": "#/definitions/Listener"
60 "description": "Success",
62 "$ref": "#/definitions/Listener"
68 "description": "Bad Request\n\nList of supported error codes:\n- 20: Invalid URL parameter value\n- 21: Missing body\n- 22: Invalid body\n- 23: Missing body field\n- 24: Invalid body field\n- 25: Missing header\n- 26: Invalid header value\n- 27: Missing query-string parameter\n- 28: Invalid query-string parameter value",
71 "$ref": "#/definitions/ErrorRepresentation"
76 "description": "Unauthorized\n\nList of supported error codes:\n- 40: Missing credentials\n- 41: Invalid credentials\n- 42: Expired credentials",
79 "$ref": "#/definitions/ErrorRepresentation"
84 "description": "Forbidden\n\nList of supported error codes:\n- 50: Access denied\n- 51: Forbidden requester\n- 52: Forbidden user\n- 53: Too many requests",
87 "$ref": "#/definitions/ErrorRepresentation"
92 "description": "Unprocessable entity\n\nFunctional error",
95 "$ref": "#/definitions/ErrorRepresentation"
100 "description": "Internal Server Error\n\nList of supported error codes:\n- 1: Internal error",
103 "$ref": "#/definitions/ErrorRepresentation"
108 "description": "Service Unavailable\n\nList of supported error codes:\n- 5: The service is temporarily unavailable\n- 6: Orange API is over capacity, retry later !",
111 "$ref": "#/definitions/ErrorRepresentation"
125 "ServiceOrderCreationNotification",
126 "ServiceOrderStateChangeNotification",
127 "ServiceOrderItemStateChangeNotification"]
131 "ErrorRepresentation": {
176 "description": "An event will be triggered for each time a notification is send to a listener.",
189 "description": "id of the event",
195 "format": "date-time"
199 "$ref": "#/definitions/EventType"
202 "description": "An event representation is the payload of information send with the notification; it will feature event attributes + summary view of the resource.",