Asynchronous callback responses


#1

New to RAML so apologies if this is covered elsewhere.
Say I have an API called “GetCustomerFeedback” which triggers an internal workflow process and there is the immediate response of ‘OK your request id is 201’.
However since this starts an internal process and I have no idea how long this process may take I want to callback to the originator when it is done to say “That response for id 201 is : Customer is happy”. Is this possible in the RAML spec?

Ideally I’d like to not have to worry about the originator polling all the time to get a response (so event driven) and that also the originator would know the spec of the callback.

Sorry if I’m unclear - please feel free to ask more questions.

Regards
Andrew