What's the right format for dateRange for rest-li v2?
The current examples in the documentation do not support it, and I don't understand from the rest-li documentation what's the format for it, exactly.
This is the request I make:
Headers:
X-Restli-Protocol-Version: 2.0.0Authorization: Bearer <token-here>
URL (with request parameters):
OR
URL - deconstructed (with request parameters):
- Base URL:
https://api.linkedin.com/v2 Params:
q:analyticspivot:CAMPAIGNdateRange.start.day:1dateRange.start.month:1dateRange.start.year:2017timeGranularity:DAILY
Error I get:
{ "serviceErrorCode": 100, "message": "Unpermitted fields present in PARAMETER: Data Processing >Exception while processing fields [/dateRange.start.day, /dateRange.start.month, >/dateRange.start.year]", "status": 403 }
Note: I'm referred to a question with the same error in the comments, however this might be caused by a different reason, and the answer there does not work for me. If by StackOverflow's standards you still think that it's a duplicate, please let me know and I'll close this question.