Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Querying Customer Information

Updated on 2023-09-27 GMT+08:00

Description

This interface is invoked by the business software mall to query business software mall customer information stored on the OMA. (Currently, this interface is provided for the business software mall official website for trial use.)

Method

GET

URI

https://Domain name/rest/oma/softwareconsole/tenant/querytenantbasic (For example, the domain name is service.besclouds.com.)

Request Description

Table 1 Request header parameter

No.

Parameter

Type

Mandatory or Not

Description

1

X-Auth-Token

String

Yes

Value of access-token of a business software mall user

Response Description

  • Status code: 200
Table 2 Response body parameters

No.

Parameter

Type

Mandatory or Not

Description

1

schema

Object

Yes

Success response code, which indicates that the query is successful

1.1

mobilePhone

String

Yes

Customer mobile number, which has been masked

1.2

company

String

Yes

Customer company name, which has been masked

1.3

customerName

String

Yes

Contact name, which has been masked

1.4

email

String

Yes

Email address, which has been masked

1.5

vdn

String

Yes

VDN

1.6

createDate

Number

Yes

Creation time

1.7

tenantSpaceStatus

String

Yes

Tenant space status

1.8

portalUrl

String

Yes

URL for signing in to the AICC

  • Status code: 401
Table 3 Response body parameter

No.

Parameter

Type

Mandatory or Not

Description

1

schema

String

Yes

Unauthorized operation. 1. Check whether you have purchased services related to the AICC. 2. Sign in to the AICC as a system administrator and check whether the value of Business Software Mall Official Website under System parameters > Unified Public Configuration > Cloud Customers is correct. 3. Check whether the request header parameter is correctly set.

  • Response status code: 502
Table 4 Response body parameter

No.

Parameter

Type

Mandatory or Not

Description

1

schema

String

Yes

The business fails.

Example

  • Scenario: The business software mall invokes this interface to query customer information.
    URL: /rest/oma/softwareconsole/tenant/querytenantbasic
  • Request header
    {
        "X-Auth_Token":"0000000000srLl4pnoBc*************9DvgIB87KzYpxMdE9+vvzLZqYIw="
    }
  • Response header
    {
        "connection": "keep-alive", 
        "Content-Length": "16", 
        "Content-Type": "application/json%3Bcharset=UTF-8"
    }
  • Response body
    {
        "mobilePhone": "153****0991",
        "company":"Huawei XXXXXXXXX",
        "customerName":"zXXXXXX",
        "email":"sunk****@huawei.com",
        "vdn":"150",
        "createDate":1681203525000,
        "tenantSpaceStatus":"2",
        "portalUrl":"https://software.huawei.com/auth?client_id=xxxxx&redirect_uri=https://xxx.com/service-cloud/sm/login/portal.html"
    }

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback