Legacy Dev Forum Posts

 View Only

Sign Up

Relationship between Station and Phone

  • 1.  Relationship between Station and Phone

    Posted 06-05-2025 18:28

    ssteiner | 2023-10-09 13:54:53 UTC | #1

    Is there a way to relate a User's station objects to phone objects? @tim.smith answered that Station and Phone can be conflated, but at least in my tenant, the stations' id don't match the phones' id. When I have a Station object, the name seems to be match of the phone's name, but that's the only match I found. Am I missing something or is this the way to go about making the relationship?


    tim.smith | 2023-10-09 14:16:40 UTC | #2

    The terms are often conflated in documentation and effectively mean the same thing to an end user because they're inseparable to end users (agents). When working with the API, I can't promise that the terms are never conflated, but "a station is a line on a phone" in the context of GET /api/v2/telephony/providers/edges/phones and GET /api/v2/users/{userId}/station. If you get a station ID using the latter endpoint, you can use it as a filter to the former using the lines.id query param to find the phone for that line/station.


    ssteiner | 2023-10-09 15:02:22 UTC | #3

    ahh... I didn't see the link between lines.id and id of the station. Maybe something to point out in the documentation at some point? I didn't even bother to look in the lines collection of the phone when looking through station and phone object because I figured it's '1phone, 0-n lines' (lines being an array and all, plus that's how things are on the various telephony systems I'm familiar with).


    system | 2023-11-09 15:02:47 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 22424