Legacy Dev Forum Posts

 View Only

Sign Up

Get the list of available stations, queried by a lineAppearanceId

  • 1.  Get the list of available stations, queried by a lineAppearanceId

    Posted 06-05-2025 18:23

    kobaken | 2022-09-01 05:17:02 UTC | #1

    Getting phone information by API , "Get the list of available stations, GET /api/v2/stations".

    I can use query parameter, "name" ,"userSelectable", "webRtcUserIdstring", and "id", and it works good. But, if "lineAppearanceIdstringid" is set, it is no result.

    Is this a bug?

    GET /api/v2/stations?name=1006 { "entities": [ { "id": "0fd54038-3d79-4366-9df3-98347143c873", "name": "1006", "status": "ASSOCIATED", "userId": "83057c7a-22d7-4c63-9b88-ba9eefc26f5f", "type": "polycomvvx300", "lineAppearanceId": "1006_1", "selfUri": "/api/v2/stations/0fd54038-3d79-4366-9df3-98347143c873" } ], "pageSize": 25, "pageNumber": 1, "total": 1, "lastUri": "/api/v2/stations?pageSize=25&pageNumber=1", "firstUri": "/api/v2/stations?pageSize=25&pageNumber=1", "selfUri": "/api/v2/stations?pageSize=25&pageNumber=1", "pageCount": 1 }

    GET

    /api/v2/stations?lineAppearanceId=1006_1 { "entities": [], "pageSize": 25, "pageNumber": 1, "total": 0, "firstUri": "/api/v2/stations?pageSize=25&pageNumber=1", "lastUri": "/api/v2/stations?pageSize=25&pageNumber=1", "selfUri": "/api/v2/stations?pageSize=25&pageNumber=1", "pageCount": 0 }


    Jerome.Saint-Marc | 2022-09-02 07:27:07 UTC | #2

    Hello,

    This indeed looks like a bug. Please open a ticket with Genesys Cloud Customer Care.

    Regards,


    kobaken | 2022-09-02 07:32:15 UTC | #3

    Hi Jerome. Thank you!

    I will contact Customer Care.


    John_Carnell | 2022-09-16 12:39:33 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 16105