Service-Records
The Service-Record API " ListServices" returns service records based on the parameters used. Each row represents one service or piece of equipment for a specific account and location, maintained by a designated provider or hauler on a predefined schedule and/or on- demand service. Service Records can have one or more related customer charges and hauler expenses which are defined in the API for ServiceRecordExpenses Note: Results are limited to first 10,000 rows.
Request Example
https://api.cietrade.net/ListServices?UserID=Example@gmail.com&UserPwd=asdf&ServiceID=813&CustomerNm=daktest234&VendorNm=black trucks&LocationNm=new location
Query Parameters (Filters)
UserID | cieTrade.net User Name. | Required | |
UserPwd | cieTrade.net User Password. | Required | |
ServiceID | Specific Service ID to request service charges & expenses for. Blank value defaults to ALL | Optional | |
CustomerNm | Target Customer Account. Use exact company name as defined, the Account ID or blank value for all customer accounts. | Optional | |
LocationNm | Location or blank value for all locations of the specified Customer Account parameter (above). Cannot have a value without a CustomerNm parameter. | Optional | |
VendorNm | Hauler or vendor servicing account. Pass the exact company name as listed in cieTrade or the vendor’s account ID. Blank value defaults to all. |
Response Example
{ "serviceNo": 813, "customer": "DAKTEST234", "location": "new location", "department": "ALLEGHENY", "equipment_type": "15 Yard Open Top", "site_reference": "site Ref", "commodity_name": "#2 COPPER (P)", "vendor": "BLACK TRUCKS", "schedule": "Weekly", "interval": "", "days": "T,W,F", "daily_interval": "", "times_per_day": "", "monthly_interval": 0, "job_type": "DOCUMENT DESTRUCTION", "start_date": "07-16-24", "equipment_count": "5", "expiration_date": "07-31-24", "pickups_per_month": 0, "description": "Occurs every week Monday Tuesday Wednesday. ", "UDF_1": "", "UDF_2": "", "UDF_3": "", "UDF_4": "" }