GET api/Telegram/GetUsersByService?service={service}
Получить зарегистрированных пользователей по номеру сервиса
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
service | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TgUserInfoName | Description | Type | Additional information |
---|---|---|---|
Phone | string |
None. |
|
ChatId | integer |
None. |
|
ServiceId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Phone": "sample string 1", "ChatId": 2, "ServiceId": 3 }, { "Phone": "sample string 1", "ChatId": 2, "ServiceId": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfTgUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Models.dto"> <TgUserInfo> <ChatId>2</ChatId> <Phone>sample string 1</Phone> <ServiceId>3</ServiceId> </TgUserInfo> <TgUserInfo> <ChatId>2</ChatId> <Phone>sample string 1</Phone> <ServiceId>3</ServiceId> </TgUserInfo> </ArrayOfTgUserInfo>