3 description: "Listener API has to be implemented on the client side in order to\
4 \ receive notification.\nNotification are received if HUB has been posted on server\
10 backgroundColor: "#FFFFFF"
12 basePath: "/externalapi/listener/v1"
16 - "application/json;charset=utf-8"
26 - "application/json;charset=utf-8"
28 - "application/json;charset=utf-8"
29 operationId: "listenerCreate"
30 summary: "createEvent"
31 description: "The create event is used by the seller to trigger (POST) a notification\
32 \ to the buyer. The buyer has previously subscribed to receive notification\n\
33 \nSpecific business errors for current operation will be encapsulated in\n\
34 \nHTTP Response 422 Unprocessable entity\n"
42 $ref: "#/definitions/Listener"
45 description: "Success"
47 $ref: "#/definitions/Listener"
49 description: "Bad Request\n\nList of supported error codes:\n- 20: Invalid\
50 \ URL parameter value\n- 21: Missing body\n- 22: Invalid body\n- 23: Missing\
51 \ body field\n- 24: Invalid body field\n- 25: Missing header\n- 26: Invalid\
52 \ header value\n- 27: Missing query-string parameter\n- 28: Invalid query-string\
55 $ref: "#/definitions/ErrorRepresentation"
57 description: "Unauthorized\n\nList of supported error codes:\n- 40: Missing\
58 \ credentials\n- 41: Invalid credentials\n- 42: Expired credentials"
60 $ref: "#/definitions/ErrorRepresentation"
62 description: "Forbidden\n\nList of supported error codes:\n- 50: Access\
63 \ denied\n- 51: Forbidden requester\n- 52: Forbidden user\n- 53: Too many\
66 $ref: "#/definitions/ErrorRepresentation"
68 description: "Unprocessable entity\n\nFunctional error"
70 $ref: "#/definitions/ErrorRepresentation"
72 description: "Internal Server Error\n\nList of supported error codes:\n\
75 $ref: "#/definitions/ErrorRepresentation"
77 description: "Service Unavailable\n\nList of supported error codes:\n- 5:\
78 \ The service is temporarily unavailable\n- 6: Orange API is over capacity,\
81 $ref: "#/definitions/ErrorRepresentation"
87 - "ServiceOrderCreationNotification"
88 - "ServiceOrderStateChangeNotification"
89 - "ServiceOrderItemStateChangeNotification"
120 description: "An event will be triggered for each time a notification is send\
130 description: "id of the event"
137 $ref: "#/definitions/EventType"
139 description: "An event representation is the payload of information send with\
140 \ the notification; it will feature event attributes + summary view of the\