I am trying to make my first call via post man, folowing this forum post, but every time I am getting a valdiation error. I have triple checked that the username/password and the company account ID they are all correct. We use Intuit to sign into Methods. Would that be affecting my access to the API?
Here are the details of my Postman call.
POST to https://www.methodintegration.com/MethodAPI/service.asmx
I have added the Content-Type : text/xml header to the call.
I have entered the body in as raw with XML selected.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<MethodAPITableListV2 xmlns="http://tempuri.org/">
<strCompanyAccount>myCompany</strCompanyAccount>
<strLogin>myEmail</strLogin>
<strPassword>myPassword</strPassword>
<strSessionID></strSessionID>
</MethodAPITableListV2>
</soap:Body>
</soap:Envelope>
The response I get back is
<?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:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<MethodAPITableListV2Response xmlns="http://tempuri.org/">
<MethodAPITableListV2Result><?xml version="1.0" encoding="windows-1252" ?><MethodAPI response = "Failure. The API could not validate your log in. Please make sure you have entered the correct Company Account, User and Password, and that each are spelt correctly. Also, ensure that this User has been configured for Method API access by going to Customize > Users, editing the User, and ensuring that there is a check in the 'Is Allowed to Connect via MethodAPI' checkbox." ></MethodAPI></MethodAPITableListV2Result>
</MethodAPITableListV2Response>
</soap:Body>
</soap:Envelope>
Any help would be greatly appreciated.!
Carter