E Invoicing API
Search…
⌃K

Access Token SOAP

Name
Description
Name URL
Method Type
Post
Post Parameters (JSON Format)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:server"> soapenv:Header/ soapenv:Body urn:access_new_token Username : ********@mastersindia.co
!
passwd: ******@#Dem*#123 <client_id>**********</client_id> <client_secret>iUSszqAIFwwtP0RkvoyN80dq</client_secret> <grant_type>password</grant_type> </urn:access_new_token> </soapenv:Body> </soapenv:Envelope>
Success Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> SOAP-ENV:Body <ns1:access_new_tokenResponse xmlns:ns1="urn:server"> <access_token>b29cee2156282be62f51b24fe8b3f07f01c9bff1</access_token> <expires_in>14400</expires_in> <token_type>bearer</token_type> <error_description/> </ns1:access_new_tokenResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Error Response
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="Get Access token" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> SOAP-ENV:Body <ns1:access_tokenResponse xmlns:ns1="urn:server"> invalid_grant </ns1:access_tokenResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>