This API allows eGain users, authenticated customers and anonymous customers to create an article suggestion in the context of a knowledge portal.
For this API to execute successfully:
For this API to work successfully following attributes must be provided in the request body
Created
Bad Request
Unauthorized
Forbidden
Not Found
Not acceptable
Internal server error
{- "attachments": {
- "attachment": [
- {
- "content": "iVBORw0KGgoAAAANSUhEUgAAABgAAAA0CAYAAACQGfi1AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAOrSURBVFhH7ZdLKP1BFMeP6/3MeyMbNhJJugshr608skFISsKKsLGzwsqKBRspOwtZSZRSNh7JQiELxYLkUR55nf+c8zt3fg8Xxc9d/POp6Xfme36/mTszZ+bMBXSJ+/t7BAAu/f39oiJ6lOAKDw8PYgFcX1+LBeBaB0FBQWKpRj1ms651kJCQIBZAeHi4WAqZqh+Tlpam14DK9vY265CRkWFzuFkyMzORJo4qv4atg5SUFHh9fZXa9wgODoaLiwupGfBwOjs7ec7coLu7W0+TjqKrqyuxfo61Ld2BNY7dxLV98BF/HXzJXwdf8tfBl/xHHURHR4v1c2JiYsSyJBxK2h0dHaDuN1T9NpGRkTA9Pa2P7MCmTBpFaGgo3TT4eXZ2xnp9fT3k5+fD8/Mz10NCQuDk5ASmpqa4npWVxRpBKXN3d5dtH5zaUlNTjXxnYXR0lH0vLy+i2ElOTsbc3FypmbS3t/N3VPQi+0v2t7e3/PSXTmk0j4+PPFonfq+ONCVOfNFAw3ZCGhXbLU7wG0XEyMgIvL298a+iaJicnITDw0M4OjoCdYmStwxoBGFhYZzL1VTC3d0d26RR/ebmht/79Sh6t5MbGxtB3e/5lzjp6emBtrY2qdlpaWmB6upqqdnRK+6ksrKSdRWiopioWyD78vLyRDFRU6Xb/PQsonUgIiIi+GnFpyUmJvLTinX079agt7eXPxofH4fLy0tRAeLi4thH/2TGxsZENaA7bV9fH/uGh4dFNQjsIpeUlMD6+jrs7e3xL7LS1dUFm5ub7K+pqRHVoLW1lfXl5WUoKysT1YQXIz4+XpbIZGhoiH1NTU2imBQXF7NPRY8oJunp6eyTog1cWFiQVxDVdke1I1mPiorC4+Nj8SCurKzob9RORnWkiAdxa2tL+6gEfqPROeI8FnxQtPgLS4Iyor9zidDD2dnZkYEaZGdnsx4bG4tPT0+iIp6fn6PaB+xTecB2nJ+enur2pJgVJwMDA6xXVVWJYlJYWPihLycnR7epitlBUlISTkxM4NzcHDY3N1tfwtLSUpydncWZmRn0er02H3WyuLiI8/PzWFRUZPMFdpELCgpAhSDn1MHBQVEN6LTc2NiAtbU1qKurE9WgoaEBVldXYWlpCcrLy0U14aF4PB6ZQROVgNinGhTFpKKign21tbWimNDp62tXFW3wHPqgyFAhybo6VfHg4EA8iOrI0N/Q0axytngQ9/f3tY/9Yvwan+YDN/CokBPTfbxeL/wDUeva+z75IWIAAAAASUVORK5CYII=",
- "contentType": "txt",
- "fileName": "phone.txt"
}
]
}, - "content": "Sample Content",
- "description": "Sample Description",
- "name": "Sample Suggestion",
- "relatedArticle": {
- "id": 202200000002268
}, - "customAttributes": {
- "customAttribute": [
- {
- "attribName": "custom_integer_attribute",
- "attribValues": {
- "attribValue": [
- {
- "value": 8
}
]
}
}, - {
- "attribName": "custom_string_attribute",
- "attribValues": {
- "attribValue": [
- {
- "value": "fg"
}
]
}
}
]
}
}
Required query parameter is missing
{- "code": "400-112",
- "developerMessage": "Required query parameter(s) is missing. The following parameters are required: <param name>"
}