Closed JoepDemey closed 1 year ago
These three types are defined in official LA template. The type of mobility is indicated by the contents of the ListOf_Components type in get response:
There is no separte property for mobility type, as it would be redundant to the lists of components and would require the client to validate property against component lists.
Ok, thank you. The types defined on the ListOf_Components are: component-studied component-recognized virtual-component blended-mobility-component short-term-doctoral-component
So what is the mapping? blended => blended-mobility-component doctoral => short-term-doctoral-component semester => component-studied, component-recognized and virtual-component
Is that correct?
Yes, that's correct.
For the index api, an optional parameter mobility type is described:
mobility_type (optional) One of the following mobility types: blended, doctoral, semester. If given, then the server MUST return learning agreements only of the specified type.
But where is this mobility type defined? Is it a property of an Outgoing Mobility Learning Agreement? There is no sign of it in the get response.