McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 595

↗ View in doc context
page
595
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::561

GET https://< connection-server>/vmrest/handlers/interviewhandlers/<Interviewhandler- objectid>/interviewquestions/<questionnumber> The following is the response from the above GET request and the actual response will depend upon the information given by you: <InterviewQuestion> <InterviewHandlerObjectId>9fa58ed4-af0b-4de5-977c- 8c080b0727c1</InterviewHandlerObjectId> <InterviewHandlerURI>/vmrest/handlers/interviewhandlers/9fa58ed4-af0b-4de5-977c- 8c080b0727c1</InterviewHandlerURI> <QuestionNumber>2</QuestionNumber> <MaxMsgLength>30</MaxMsgLength> <StreamText>2</StreamText> <IsActive>true</IsActive> </InterviewQuestion> Response Code: 200 Updating the Interview Handler Questions The following is an example of the PUT request that can be used to modify an interview handler questions. PUT https://<connection-server>/vmrest/handlers/interviewhandlers/<interviewhandler-objectid>/interviewquestions/<questionnumber> Request Body: <InterviewQuestion> <IsActive>false</IsActive> </InterviewQuestion> Response Code: 204 JSON Example To update the interview handler, do the following: Request URI: PUT https://<connection-server>/vmrest/handlers/interviewhandlers/<interviewhandler-objectid>/interviewquestions/<questionnumber> Accept: application/json Content-Type: application/json Connection: Keep-alive Request Body: { "IsActive": "false" } The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 563 Cisco Unity Connection Provisioning Interface (CUPI) API--Interview Handler APIs Updating the Interview Handler Questions