Get Specific Asset Fullness Level Filter in Company API
Require Authentication
This API is used to Get All data from all/selected companies based on combination of deviceID and token of super admin.
URL
api/companies/allcompaniesdata
Required parameter (POST)
- deviceID
- token
Optional parameter (GET)
All optional parameters use GET method. So it should be embedded in the URL, e.g: api/companies/allcompaniesdata?o=companyState&ot=desc&q=river&s=active
- q «contains keyword that want to be looked for. Keyword will search companyName field only»
- o «used to sort data, contains field name. Available value: companyName, companyState, expiredDate. Default value: companyName»
- ot «used to sort data, contains sort type. Available value: asc, desc. Default value: asc»
- s «contain status. Available value: active, suspended, canceled. Default value: active»
Example JSON Payload
{
  "deviceID": "ABCD-EFGH-IJKL-MNOP",
  "token": "c43fa596e7916827106b591e2bb026cd"
}
    Possible return HTTP status code
- 200
- 401
Return message
        {
            "status": "success",
            "message": [
                {
                    "companyID": "189",
                    "companyName": "Acciona",
                    "companyShortDescription": "",
                    "companyDescription": "",
                    "companyLogoURL": "dbc1a04b567f05619470737951eacb75.png",
                    "companyReportLogoURL": "3fc8c272669664ea10bc9a3eb8bb876d.png",
                    "companyAddress1": "Level 2, 55 Harrington Street",
                    "companyAddress2": "",
                    "companyCity": "The Rocks",
                    "companyState": "NSW",
                    "companyCountry": "AU",
                    "companyLatitude": "-33.859321594238",
                    "companyLongitude": "151.207763671875",
                    "companyZipCode": "2000",
                    "companyPhone": "+61 2 8117 0100",
                    "companyFax": "",
                    "companyWebsite": "http://acciona.com.au",
                    "companyEmail": "",
                    "companyFacebookURL": "",
                    "companyTwitterURL": "",
                    "companyLinkedinURL": "",
                    "companyInstagramURL": "",
                    "companyCreatedDate": "1674791042",
                    "companyModifiedDate": "1677247967",
                    "licenseTypeID": "1",
                    "status": "active",
                    "expiredDate": "0",
                    "ewayCustomerTokenID": "",
                    "default_currencyCode": "AUD",
                    "default_paymentPeriod": "monthly",
                    "isDemo": "N",
                    "demoResetState": "disable",
                    "demoResetIntervalSeconds": "0",
                    "demoStartDate": "0",
                    "fillLevelSource": "laseravg",
                    "collectionCalculationConfig": "halflevel",
                    "webhookEnable": "N",
                    "webhookUrl": null,
                    "lastExpiryNotifSend": null,
                    "jumpReportThreshold": "30",
                    "defaultDateRange": "2",
                    "bulkCollectionRadius": "300",
                    "trackerTripInterval": "600",
                    "volumeUnit": "metric",
                    "weightUnit": "metric",
                    "username": "envra@superfy.com",
                    "password": "6eb008560e8daec11e5c5efa312fde75e8a3cd2b30aeea151",
                    "licenseTypeName": "Town Plan"
                },
                {
                    "companyID": "140",
                    "companyName": "ACT Government",
                    "companyShortDescription": "",
                    "companyDescription": "",
                    "companyLogoURL": "127b2c27a1b29ec30bc780ea51a07135.jpg",
                    "companyReportLogoURL": "e7384175dcf449a4fb0d3911a4f4fd74.jpg",
                    "companyAddress1": "480 Northbourne Avenue",
                    "companyAddress2": "",
                    "companyCity": "Dickson",
                    "companyState": "ACT",
                    "companyCountry": "AU",
                    "companyLatitude": "-35.250843048096",
                    "companyLongitude": "149.134719848633",
                    "companyZipCode": "2601",
                    "companyPhone": "02 6205 4190 ",
                    "companyFax": "",
                    "companyWebsite": "http://www.act.gov.au",
                    "companyEmail": "",
                    "companyFacebookURL": "",
                    "companyTwitterURL": "",
                    "companyLinkedinURL": "",
                    "companyInstagramURL": "",
                    "companyCreatedDate": "1650955377",
                    "companyModifiedDate": "1650955865",
                    "licenseTypeID": "1",
                    "status": "active",
                    "expiredDate": "0",
                    "ewayCustomerTokenID": "",
                    "default_currencyCode": "AUD",
                    "default_paymentPeriod": "monthly",
                    "isDemo": "N",
                    "demoResetState": "disable",
                    "demoResetIntervalSeconds": "0",
                    "demoStartDate": "0",
                    "fillLevelSource": "laseravg",
                    "collectionCalculationConfig": "halflevel",
                    "webhookEnable": "N",
                    "webhookUrl": null,
                    "lastExpiryNotifSend": null,
                    "jumpReportThreshold": "30",
                    "defaultDateRange": "2",
                    "bulkCollectionRadius": "300",
                    "trackerTripInterval": "600",
                    "volumeUnit": "metric",
                    "weightUnit": "metric",
                    "username": "actgovt@taoglas.com",
                    "password": "ceed38e7e25f5ed73ca8ed1a1382d09b5190b539dab71ac57",
                    "licenseTypeName": "Town Plan"
                }
            ]
        }
    
    
        
    
