Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.78 KB

PhoneRequest.md

File metadata and controls

34 lines (28 loc) · 1.78 KB

EzmaxApi::PhoneRequest

Properties

Name Type Description Notes
pki_phone_id Integer The unique ID of the Phone. [optional]
fki_phonetype_id Integer The unique ID of the Phonetype. Valid values: Value
e_phone_type FieldEPhoneType [optional]
s_phone_region String The region of the phone number. (For a North America Number only) The region is the "514" section in this sample phone number: (514) 990-1516 x123 [optional]
s_phone_exchange String The exchange of the phone number. (For a North America Number only) The exchange is the "990" section in this sample phone number: (514) 990-1516 x123 [optional]
s_phone_number String The number of the phone number. (For a North America Number only) The number is the "1516" section in this sample phone number: (514) 990-1516 x123 [optional]
s_phone_international String The international phone number. [optional]
s_phone_extension String The extension of the phone number. The extension is the "123" section in this sample phone number: (514) 990-1516 x123. It can also be used with international phone numbers [optional]
s_phone_e164 String A phone number in E.164 Format [optional]

Example

require 'Ezmaxapi'

instance = EzmaxApi::PhoneRequest.new(
  pki_phone_id: 1,
  fki_phonetype_id: 1,
  e_phone_type: null,
  s_phone_region: 514,
  s_phone_exchange: 990,
  s_phone_number: 1516,
  s_phone_international: 15149901516,
  s_phone_extension: 123,
  s_phone_e164: +15149901516
)