Knowledge Base > API integration > Request example

in API integration

If you are using Rest API, the right place for you is here: https://api.inwise.com/rest/v1/docs/index

Sometimes before you want to begin developing, you prefer to understand the bits and bytes

Here is a step by step how you can online request a soap api:

Open this site in new Tab: https://www.hurl.it/

Provide the following 4 details and press on “Launch Request”:

1. Post https://api.inwise.com/InwiseWebServices.asmx

2. Headers: SOAPAction http://www.inwise.com/schemas/GetAuthenticationToken

3. Another Header: Content-type text/xml; charset=utf-8

4. Body:

<?xml version=”1.0″ encoding=”utf-8″?>
<soap:Envelope xmlns:soap=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:tm=”http://microsoft.com/wsdl/mime/textMatching/” xmlns:tns=”http://www.inwise.com/schemas”>
<soap:Header>
<SecHeader xmlns=”http://www.inwise.com/schemas”>
<username>inwise username</username>
<pass>inwise password</pass>
</SecHeader>
</soap:Header>
<soap:Body>
<GetAuthenticationToken xmlns=”http://www.inwise.com/schemas” />
</soap:Body>

</soap:Envelope>

 

It should look like this:

hurl it example

Now you will get the response