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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (79,819)