Knowledge Base / API
עברית

Ask AI

✦ AI answer

Thinking…

Sources

    CompanyOperations - Get Countries

    When should this function be used?

    This function retrieves the countries of the businesses associated with a supplier/dealer.

    Below is a link to the function in JSON.

    Request method - GET.
    Get countries

    https://secure.cardcom.solutions/api/v11/CompanyOperations/GetCountries

    Below are the parameters that must be passed to the function.

    Legend:

    Red parameter - required

    Bold parameter - recommended

    A parameter that is neither red nor bold is optional.

    Number
    Parameter Example values Description
    1 SupplierUserName (String) The supplier's username.
    2 Secret (String) Secret ?

     

    Get Countries Response

    Number
    Parameter Example values Description
    1CountryCode(String)Country code.
    2Name(String)Country name.
    3NameHeb(String)Country name in Hebrew.
    4Alpha_2(String) Alpha-2 code (two-character code)
    5Alpha_3(String) Alpha-3 code (three-character code)
    6Iso_3166_2(String)Region code according to the ISO 3166 standard.
    7Region(String)Region
    8SubRegion(String)Subregion
    9IntermediateRegion(String)Intermediate region
    10RegionCode(String)Region code
    11SubRegionCode(String)Subregion code
    12IntermediateRegionCode(String)Intermediate region code
    13BDI_CountryCode(String)BDI country code

     

    Below is sample code for the function, together with the response.

    Request example:

    {
        "SupplierUserName":"sdgfg",
        "secret":"ahsdfg11"
    }

    Example response:

    [
      {
        "CountryCode": "string",
        "Name": "string",
        "NameHeb": "string",
        "Alpha_2": "string",
        "Alpha_3": "string",
        "Iso_3166_2": "string",
        "Region": "string",
        "SubRegion": "string",
        "IntermediateRegion": "string",
        "RegionCode": "string",
        "SubRegionCode": "string",
        "IntermediateRegionCode": "string",
        "BDI_CountryCode": "string"
      }
    ]

    Was this article helpful?