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

Q&A Deletion Interface

Interface Method

POST

URL

https://IP:PORT/oifde/rest/api/faq/delete

Request

Parameter

Type

Position

Mandatory

Description

tenantId

String

Body

Yes

Tenant ID.

faqGroupId

Integer

Body

Yes

FAQ group ID.

faqIds

int[]

Body

Yes

List of IDs to be deleted.

authToken

String

Body

Yes

Authentication token.

For details, see C3 OIAP Interface Authentication.

Response

Parameter

Type

Position

Mandatory

Description

faqGroupModel

FaqModel

Body

Yes

Q&A data.

faqModel

FaqElementModel

Body

Yes

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,
        "faqIds":[22897],
        "authToken": "9**************************"
    }
  • Response
    { 
         "errorCode" : "0",
         "errorMsg" : "" 
     }