Klasyczne typy plików nie są już dostępne od stycznia 2021 r. Możesz przenieść swoje klasyczne pliki lub pobrać plik PDF. Dowiedz się więcej

List Connections HTTP Request

Udzielono odpowiedzi
0

Komentarze

Komentarze: 3

  • Wade Hays

    There are a couple of things here. First, there is a prebuilt command in the Workiva connector that handles the list-connections API endpoint, and would be simpler to use. Second, If you do need to make a raw HTTP-GET, you need to pass your parameters (sourceType, destinationType, etc) via query string parameters, not headers.

    Wade
    --
    Wade Hays - Tower Turn

    0
  • Jack Nelson

    Hi Wade - thank you for the quick response! Running the HTTP-GET did not error out when passing parameters via query string. However, it did return a blank object as seen below.

    Printing the first 64KB of the response... 
    {"code":200,"body":[],"cursor":null} 

    This was ran for a spreadsheet and query with a known connection. It looks like the raw HTTP-GET possibly isn't working as intended. I'll utilize the prebuilt command in this situation.

    0
  • Jeff Hickey

    Hi Jack,

    I recommend using the List Connections Workiva Command as Wade mentioned above. However, if you do need to use the HTTP Request Get Command, it can be successfully configured to get connections for Spreadsheet destination types with the Spreadsheet ID as follows. Be sure to update the destination ID to reflect the Spreadsheet you are attempting to get the connections from.

    0

Zaloguj się, aby dodać komentarz.