cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

HTTP how to build request

Hello, I have a web api (POST) method https://......./Services/CoursesService.svc

 

With a method GetCoursesHist (among others) and a few parameters... like employee ...

How do you transltate this into a HTTP step in a flow ?

 

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Body>
        <GetCoursesHist xmlns="http://tempuri.org/">
            <employeeId>1</employeeId>
            <languageId>2</languageId>
        </GetCoursesHist>
    </Body>
</Envelope>

 

Im not clear if the parameters employeeId and languageId go in queries or in the body and mainly where does the method go... as part of the URI o header?

 

Thanks!

1 REPLY 1
ManishJain
Solution Sage
Solution Sage

HI @Anonymous ,

 

In the http request use the same uri and in the body part use json to send parameters i.e {"employee ":1122}

 

Thanks

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,907)