GET | /portal/search-phone-numbers |
---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class AppSearchPhoneNumbers
{
open var accountId:String? = null
open var customerId:String? = null
open var areaCode:String? = null
open var countryCode:String? = null
open var postalCode:String? = null
open var contains:String? = null
open var distance:Int? = null
open var phoneNumberType:EndpointTypes? = null
}
enum class EndpointTypes
{
PhoneNumber,
User,
FaxNumber,
EmailAddress,
Unused1,
Unused2,
Unused3,
Unused4,
Unused5,
Team,
Assistant,
}
open class AppSearchPhoneNumbersResponse
{
open var numbers:ArrayList<AppSearchPhoneNumberInfo>? = null
}
open class AppSearchPhoneNumberInfo
{
open var phoneNumber:String? = null
}
Kotlin AppSearchPhoneNumbers DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /portal/search-phone-numbers HTTP/1.1 Host: team.evovoice.io Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"numbers":[{"phoneNumber":"String"}]}