Hi Everyone
I'm a total newbie in API, and I'd like to find a way to get an id that my http request get in its body,
So here I'm creating some new group in my sharepoint on premise,
so here how I create my group: (it works)
Hi @Anonymous ,
I have added two compose actions, in the first Compose action, select the output of Send an HTTP request to SharePoint, then in the next compose action, input the code I suggested.
By the way, it is a default behavior that some functions will be replaced with its original field name when you come back to edit the flow.
Hope this makes sense.
Best regards,
Mabel
Thank you for your answer but there isn't outputs funtion in Flow, is there another function?
Because if I add:
outputs('Compose')?['Id']
I save, I leave and I come back and there command has dissapear and it's replace by an empty value: Id
Hi @Anonymous ,
Do you want to get the value of Id from the body result that you mentioned?
If yes, you could add a Compose to save the Body, and then you could get the Id from the body with expression below:
outputs('Compose')?['Id']
You could refer to screenshot below to create the flow:
Please let me know if your problem could be solved or let me know if you have any questions.
Best regards,
Mabel