September 2018
Intermediate to advanced
412 pages
11h 12m
English
To associate a card with a deck, you need to run a POST query and link it to the following URL: https://predix-views.run.aws-usw02-pr.ice.predix.io/api/decks/deck-1/cards/add. The headers of the query should be the same as we used to create a card. The body of the query should contain the IDs of the cards you want to associate with the deck, arranging them in any order you choose:
["HJmzRLJR-"]
To get a list of the cards assigned to a deck, run a GET query and link it to the following URL: https://predix-views.run.aws-usw02-pr.ice.predix.io/api/decks/deck-1/cards.
Again, the headers for the GET query will be the same as we used in the previous example: