erasmus-without-paper / ewp-specs-api-omobility-las

Learning Agreements
MIT License
1 stars 2 forks source link

No receiving_hei_id in index-response #38

Closed JoepDemey closed 1 year ago

JoepDemey commented 1 year ago

In the Outgoing Mobility Learning Agreements Index endpoint, a request can contain multiple receiving_hei_ids. In the response, only omobility-id is listed. How can the client know what receiving_hei each mobility_id is linked to?

mkurzydlowski commented 1 year ago

You are right, the client would need to check get response to link mobilities to receiving HEIs.

In the light of recent changes (https://github.com/erasmus-without-paper/ewp-specs-architecture#how-callers-and-receivers-are-identified), the client will be uniquely identified for every request, so the response will only contain mobilities of a single HEI.