Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.14.1
-
None
-
None
-
None
-
Unknown
Description
Following parameters - types should generate values in lower case:
- event_type - org.apache.camel.component.linkedin.api.Eventtype
- category - org.apache.camel.component.linkedin.api.Category
- order - org.apache.camel.component.linkedin.api.Order
- role - org.apache.camel.component.linkedin.api.Role
- postcategorycode - org.apache.camel.component.linkedin.api.model.PostCategoryCode
Also notice that postcategory code should contain 'job' and 'promotion' values - https://developer-programs.linkedin.com/documents/groups-api.
I've tried to fix that with adding of
<bindings node="//xs:simpleType[@name='event-type']"> <typesafeEnumClass name="EventType" /> </bindings>
to linkedin-api-schema.xjb as well as appropriate simpleType to linkedin-api-schema.xsd, but it was without success. I still got:
Error invoking getCompanyUpdates: Invalid filter {STATUS_UPDATE}
Names of enum values are used.