Esempio n. 1
0
 public TelephonySystemPeerResult UpdatePeer(string tsKey, Guid id, TelephonySystemPeerModel peer)
 {
     return(_httpClient.PutJson <TelephonySystemPeerModel, TelephonySystemPeerResult>(_pgClient.ServiceUrl, $"api/v1/telephony/{tsKey}/peer/{id}", _pgClient.Ticket, peer));
 }
Esempio n. 2
0
 public TelephonySystemPeerResult CreatePeer(string tsKey, TelephonySystemPeerModel peer)
 {
     return(_httpClient.PostJson <TelephonySystemPeerModel, TelephonySystemPeerResult>(_pgClient.ServiceUrl, $"api/v1/telephony/{tsKey}/peer", _pgClient.Ticket, peer));
 }