cieTrade.net API
Trading Inquiry API Instructions
The Trading Inquiry API is a REST API. Arguments are given via URL parameters and the Trading Inquiry is returned as a JSON Datatable.
The UserID and UserPwd parameters are mandatory, all others are optional.
After 6 failed login attempts login will be blocked for 24 hours.
URL:
http://cieapi.cietrade.com/ice/api/datatable
Parameters:
- UserID
- o CieTrade.net username
- o This parameter is mandatory
- UserPwd
- o CieTrade.net user password
- o This parameter is mandatory
- FromDt
- o Beginning of date range the Trading Inquiry will be run for.
- o This parameter is optional. If FromDt and ToDt are left blank the inquiry will run for the past month.
- ToDt
- o End of date range the Trading Inquiry will be run for.
- o This parameter is optional. If FromDt and ToDt are left blank the inquiry will run for the past month.
- COID:
- o COID of the Department the Trading Inquiry will be run for.
- o This parameter is optional. If left blank the Trading Inquiry will be run for ALL departments.
- TradeType:
- o TradeType the Trading Inquiry will be run for.
- o This parameter is optional. If left blank the Trading Inquiry will be run for ALL Trade Types.
Example Calls
- http://cieapi.cietrade.com/ice/api/datatable?UserID=ExampleUser@gmail.com&UserPwd=123ABC
- http://cieapi.cietrade.com/ice/api/datatable?UserID=ExampleUser@gmail.com&UserPwd=123ABC&FromDt=1/1/2022&ToDt=8/9/2022&COID=01
Worksheet Inquiry API Instructions
The WorkSheet Inquiry API is a REST API. Arguments are given via URL parameters and the Worksheet Inquiry is returned as a JSON Datatable.
The UserID and UserPwd parameters are mandatory, all others are optional.
After 6 failed login attempts login will be blocked for 24 hours.
URL:
http://cieapi.cietrade.com/ice/api/Worksheet
Parameters:
- UserID:
- o CieTrade.net username
- o This parameter is mandatory
- UserPwd:
- o CieTrade.net user password
- o This parameter is mandatory
- ShippingDt:
- o Start date of the Worksheet inquiry, will return all records shipped after this date.
- o This Parameter is optional. If left blank the Worksheet inquiry will run for the past month.
- Status:
- o Status of the records the Worksheet inquiry will filter be run for.
- o This parameter is optional. If left blank the Worksheet inquiry will be run for ALL status types.
- TradeType:
- o TradeType the Worksheet Inquiry will be run for.
- o The Parameter is optional. If left blank the Worksheet Inquiry will be run for ALL Trade Types.
Example Calls
- http://cieapi.cietrade.com/ice/api/worksheet?UserID=ExampleUser@gmail.com&UserPwd=123ABC
- http://cieapi.cietrade.com/ice/api/worksheet?UserID=ExampleUser@gmail.com&UserPwd=123ABC&ShippingDt=1-1-20&Status=W&TradeType=Plastic
If you have additional questions, please contact the Support Team via email to support@cietrade.net.