POST /phones/get ⇒ { phone }
Request
await seam.phones.get({
device_id: "22222222-2222-2222-2222-444444444444",
});
Response
[{ "phone_id": "22222222-2222-2222-2222-444444444444" }]
Request
seam.phones.get(device_id="22222222-2222-2222-2222-444444444444")
Response
[Phone(device_id="22222222-2222-2222-2222-444444444444")]
Request
seam.phones.get(device_id: "22222222-2222-2222-2222-444444444444")
Response
[{ "device_id" => "22222222-2222-2222-2222-444444444444" }]
Request
<?php
$seam->phones->get(device_id: "22222222-2222-2222-2222-444444444444");
Response
<?php
[["device_id" => "22222222-2222-2222-2222-444444444444"]];
Request
seam phones get --device_id "22222222-2222-2222-2222-444444444444"
Response
[{ "device_id": "22222222-2222-2222-2222-444444444444" }]
Request
package main
import api "github.com/seamapi/go"
import phones "github.com/seamapi/go/phones"
func main() {
client.Phones.Get(
context.Background(),
phones.PhonesGetRequest{
DeviceId: api.String("22222222-2222-2222-2222-444444444444"),
},
)
}
Response
[]api.Phone{api.Phone{DeviceId: "22222222-2222-2222-2222-444444444444"}}
ID of the desired phone.