Skip to content

API parameters cause 404 error #6141

Closed Answered by elavy-harris
elavy-harris asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @pacmano1 for getting me going in the right direction. This works:

curl -X GET -su elavy -k "https://interface.harris-chr.com:8443/api/channels/5c19b0fe-251b-40ce-a376-51e5951ba96e/messages?startDate=2020-01-01T00%3A00%3A00.000-0000&endDate=2025-01-01T00%3A00%3A00.000-0000" -H X-Requested-With:whatever -H accept:application/json

It appears that (a) the milliseconds must be included and (b) the timezone must be specified as an offset. For positive offsets, the plus sign must be specified as %3B.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@elavy-harris
Comment options

@elavy-harris
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by elavy-harris
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants