RingCentral .Net SDK
Loading...
Searching...
No Matches
RingCentral.CountryContext Class Reference

Country context definition. More...

Properties

string isoCode [get, set]
 Two-letter country code in ISO 3166-1 alpha-2 format Example: US.
string name [get, set]
 The official name of the country. Example: United States.
string callingCode [get, set]
 Country calling code defined by ITU-T recommendations, E.123 and E.164. See also Calling Codes.

Detailed Description

Country context definition.

In the request:

Country context can be identified by country.isoCode value only:

  • If the value is not specified, it's taken from the context source:
    • Default -> null
    • Account -> home country of the requester's account
  • Explicitly set value redefines the value taken from the context source.
  • Explicitly set null value disables country context for parsing.

In the response:

Country context is returned with additional attributes.

In particular result items:

Country attribute is absent for the results.category response's attribute values: Unknown and Extension.


The documentation for this class was generated from the following file:
  • RingCentral.Net/Definitions/CountryContext.cs