Generate Access Token
- Go to POSTMAN ,
- In the “ Enter request URL “ tab, POST request :
- Go to Body , Select raw and Text as JSON.
- In the body add the parameters as below
- The client id , client secret id and company id can be copied from the API page of DSA web
- Now replace the values as per your company’s generated details and Post Request
- This will generate token
- In the Response tab, you should be getting Response as such :
- The token generated above is used for authorization while fetching response from various modules with respect to the APIS provided.
- The above generated token will expire in two cases : if we Regenerate a new token from the API page and another one id after its validity based on n no of days.
http://dev.deltasalesapp.com/tokenauthfetch
{
"clientid": "24",
"clientsecret": "iYRLFyDgPZNBPerjCWr2doEBa3iYSl5AeEtSw1oP",
"companyid": "6292338"
}
"clientid": "24",
"clientsecret": "iYRLFyDgPZNBPerjCWr2doEBa3iYSl5AeEtSw1oP",
"companyid": "6292338"
}