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=Air&SkipCount=0

Response:

{

"Code": 1,

"Info": "",

"RowsAffected": 4,

"Scalar": null,

"Identity": 0,

"RetInfo": [

{

"EntID": 144,

"EntCode": "CA",

"EntName": "Air - Air China",

"CountryCode": null,

"Email": "",

"CurrCode": null,

"Active": true

},

{

"EntID": 1175,

"EntCode": "AF",

"EntName": "Air - Air France",

"CountryCode": null,

"Email": "",

"CurrCode": null,

"Active": true

},

{

"EntID": 141,

"EntCode": "EK",

"EntName": "Air - Emirates Airlines",

"CountryCode": null,

"Email": "",

"CurrCode": null,

"Active": true

},

{

"EntID": 149,

"EntCode": "ET",

"EntName": "Air - Ethiopian Airlines",

"CountryCode": null,

"Email": "",

"CurrCode": null,

"Active": true

}

]

}

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, CountryCode, CurrencyCode 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 Entities.