TrakIT API‎ > ‎Pending API‎ > ‎

Get Entity List

The below API is used to get Entity List.


Request: GET

Signature: /api/mobile/GetEntityList?Token={Login_Token}&EntityType={Entity_Type}&Search={Search_text}&SkipCount={Skip_count}



Sample: /api/mobile/GetEntityList?Token=VomYEMiECFFyAQ3==&EntityType=0&Search=Cargo&SkipCount=0

Response:

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 2,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "EntID": 88,
            "EntCode": "KCA",
            "EntName": "Kcargo Agencies",
            "CountryCode": null
        },
        {
            "EntID": 1829,
            "EntCode": "MCL",
            "EntName": "Multi Cargo Line",
            "CountryCode": null
        }
    ]
}

Things to know about this API:
    • Token - You can use Login API to get token displayed under Info

    • EntityType - You can use Get Entity Types API to get the list of entity types under Key

    • Search - You can search with EntCode, EntName and Entity Email.

    • SkipCount - It is an integer which decides the number of rows returned. For example: If you send 0, then it will display 0 to 20 rows. If you send 13, then it will display 13 to 33 rows.

    • RowsAffected - Displays the total number of Users
        Comments