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

FAQ Group Status Change Interface

Interface Method

POST

URL

https://IP:PORT/oifde/rest/api/faqGroup/changeStatus

Request

Table 1 Parameters in the request body

Parameter

Type

Position

Mandatory

Description

tenantId

String

Body

Yes

Tenant ID.

faqGroupId

Integer

Body

Yes

ID of the FAQ group whose status is to be changed.

on

Boolean

Body

No

Activation flag. The default value is false.

true: activation

false: deactivation

authToken

String

Body

Yes

Authentication token.

For details, see C3 OIAP Interface Authentication.

Response

Parameter

Type

Position

Mandatory

Description

faqGroupModel

FaqModel

Body

No

Q&A data.

faqModel

FaqElementModel

Body

No

Q&A object data.

errorCode

String

Body

Yes

Error code.

  • 0: success
  • Other values: failure

errorMsg

String

Body

No

Error description.

Example

  • Request
    {
        "tenantId": "00030010",
        "faqGroupId":10012,
        "on":true,
        "authToken": "e*************************"
    }
  • Response
    { 
         "errorCode" : "0",
         "errorMsg" : "" 
     }