Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi everyone,
I'm currently attempting to construct a request through an API URL that requires two query parameters: token and $select.
I've tried two different methods to build the request. The first one, which works fine, involves a simple web link request:
let
Fonte = Json.Document(Web.Contents("https://api.movidesk.com/public/v1/tickets?token=[classified token]&$select=id,type,serviceFull,category,urgency,status,createdDate,origin"))
in
FonteHowever, this method doesn't allow me to manage pagination. To resolve this issue, I've created the following code:
let
Fonte = Json.Document(Web.Contents("https://api.movidesk.com/public/v1",
[
RelativePath = "/tickets",
Query = [
token = "[classified token]",
select = "id,type,serviceFull,category,urgency,status,createdDate"
]
]
))
in
FonteUnfortunately, using this approach results in a Bad Request (400) error code. Upon investigation, it appears that the $ icon before the select parameter is missing. I've been unable to find the proper method to include the $ before select.
Not sure if this would work but you may have a try.
#"$select" = "id,type,serviceFull,category,urgency,status,createdDate"
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |