Updated on 2025-11-07 GMT+08:00

Creating Report Feedback

Function

Create report feedback.

URI

POST /v2/servicerequest/feedbacks

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token.

It can be obtained by calling the IAM API (value of X-Subject-Token in the response header).

Minimum length: 1

Maximum length: 5000

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

type

Yes

String

Specifies the report type.

Minimum length: 1

Maximum length: 32

title

Yes

String

Specifies the reported Huawei Cloud products or services. The value of this parameter needs to be in the following format: Reported Huawei Cloud products or services;Related websites.

Minimum length: 0

Maximum length: 2048

content

Yes

String

Specifies the infringement details or other report content.

Minimum length: 1

Maximum length: 5000

files

Yes

Array of strings

Specifies the list of related proof attachments.

Minimum length: 1

Maximum length: 32

Array length: 1 - 3

ip

No

IntellectualPropertyV2 object

Specifies the property rights information.

contacts

Yes

ContactWayInfoV2 object

Specifies the contact information.

Table 3 IntellectualPropertyV2

Parameter

Mandatory

Type

Description

ip_type

No

String

Specifies the intellectual property type. The options are copyright, trademark, and patent.

Minimum length: 0

Maximum length: 32

ip_area

No

String

Specifies the country/region where the intellectual property is registered.

Minimum length: 0

Maximum length: 128

ip_number

No

String

Specifies the trademark registration No. or patent application No.

Minimum length: 0

Maximum length: 512

ip_content

No

String

Briefly describes the intellectual property rights.

Minimum length: 0

Maximum length: 5000

Table 4 ContactWayInfoV2

Parameter

Mandatory

Type

Description

name

Yes

String

Specifies the name.

Minimum length: 1

Maximum length: 512

mobile

Yes

String

Specifies the phone number.

Minimum length: 1

Maximum length: 32

mail

No

String

Specifies the Email address.

Minimum length: 1

Maximum length: 128

area

No

String

Specifies the country/region.

Minimum length: 1

Maximum length: 128

address

No

String

Specifies the address.

Minimum length: 1

Maximum length: 512

id_type

Yes

Integer

Specifies the identity. The options are 10 (enterprise), 20 (individual), 21 (authorized agent), 22 (lawyer), and 23 (intellectual property owner).

Minimum value: 0

Maximum value: 100

company_name

No

String

Specifies the company name.

Minimum length: 0

Maximum length: 512

id_files

Yes

Array of strings

Specifies the list of identity proof attachments. One to three attachments are required.

Minimum length: 1

Maximum length: 512

Array length: 1 - 3

other_way

No

String

Specifies other contact information.

Minimum length: 0

Maximum length: 512

Response Parameters

Status code: 200

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Specifies the error code.

Minimum length: 0

Maximum length: 32

error_msg

String

Describes the error.

Minimum length: 0

Maximum length: 32

Request Example

POST https://{endpoint}/v2/servicerequest/feedbacks

{
  "type" : "Report type",
  "title" : "Reported Huawei Cloud products or services;Related websites",
  "content" : "Infringement details or other report content",
  "files" : [ "Proof attachment list" ],
  "ip" : {
    "ip_type" : "copyright",
    "ip_area" : "China",
    "ip_number" : "Trademark registration No./Patent application No.,"
    "ip_content" : "Brief description of the intellectual property rights"
  },
  "contacts" : {
    "name" : "Name",
    "mobile" : "123xxxx4567",
    "mail" : "Email address",
    "area" : "Shenzhen",
    "address" : "Address",
    "id_type" : 20,
    "company_name" : "Company name",
    "id_files" : [ "fileId", "fileId2" ],
    "other_way": "Other contact information"
  }
}

Response Example

Status code: 200

Code 200 is returned if the operation is successful.

{
  "error_code" : "Error code",
  "error_msg" : "Error description"
}

Status Codes

Status Code

Description

200

Code 200 is returned if the operation is successful.

Error Codes

See Error Codes.