API Access Credentials
USING API ACCESS CREDENTIALS
- Log into SLIMCD.COM (you can use our TEST account… clientid=1032, password=289075)
- Click on CONFIG at the top of the screen
- Click on API ACCESS CREDENTIALS
- Click on CREATE NEW TOKEN
- Click on PRIVATE (because you want to be able to do more things)
- Check the checkboxes for the functions you wish to be able to perform (LOAD, SALE, etc)
- Click on SUBMIT. You will get an API ACCESS CREDENTIAL.
Notes:
- You can specify a SITEID to restrict the credential to a specific site (recommended)
- You can restrict to IP address, etc (not recommended at this point)
- To use the API ACCESS CREDENTIAL, change your calls:
a. If you use PostXML, you are sending “clientid=&siteid=&priceid=&password=&product=&ver=&key=&xmldata=”.
i. Set the password to empty. Put a tag called <username> in the XMLData and set it to the API ACCESS CREDENTIAL.
-OR-
ii. Change PostXML to ProcessTransaction. Add a username with the API ACCESS CREDENTIAL. Leave the password empty. Move all of the remaining http tags (clientid, etc) into the XML except for password.
b. If you are use PostHTTP, set the password to blank and add a field called &username=. Set it to the API ACCESS CREDENTIAL
c. If you are using ProcessTransaction, set the UserName to the API Access Credential and set the password to empty
If the API ACCESS CREDENTIAL specifies a SITEID and PRICEID, you must either:
- Send the same SITEID and PRICIED
-OR- - Send 0 as the SITEID and PRICEID so the values from the API ACCESS CREDENTIAL can be used.