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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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.

Top Kudoed Authors
Users online (3,058)