Home General Discussion

Problem with API Cireson portal

Hi Team! User create SR and Cireson API return ID, but in ServiceManager and ServiceManagement databases aren't this workitem. In event viewer I have two erorrs(Attach in this theme)


Answers

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    @Shane_White Can you see this case?

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Hi @Roman_Nepomniashchii

    Could you share the API call/code you are making?

    Thanks,

    Shane

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    Request URL: http://172.27.136.149/SC/ServiceCatalog/SaveRequestOffering

    Request Method: POST

    {"AffectedUserId":"d0831c59-b5f3-508a-c7af-1b0a9f2c1fe1","Id":"61cfb4c5-ace2-771a-dfe5-1419f975ba20","TargetTemplateId":"06863492-2183-37be-9e58-61e4a5bc0172","WatchListUserIds":[],"AnswerCollection":[{"Answer":"1","AnswerType":"String","QuestionId":"6b180b69-de83-440d-a601-44862ddf5e51"},{"Answer":"35a05018-f835-78ad-886d-a947993f53d1","AnswerType":"InstancePicker","QuestionId":"68c871cc-5939-405e-aab9-17a7b4557874"},{"Answer":"b83d40c3-6547-b8fc-0029-ea07cf58a0db","AnswerType":"InstancePicker","QuestionId":"c8b61eee-5207-4e51-b6c4-4a11101a4615"},{"Answer":"51ff2cb8-6f80-37b0-e3d6-4d9bbb245ec0","AnswerType":"InstancePicker","QuestionId":"f3aa060e-4057-4cbb-a7c1-223ea7cb215e"},{"Answer":true,"AnswerType":"Boolean","QuestionId":"8a60d12d-5cad-4bf8-a4ed-51ab8d9e652d"},{"Answer":"Why do you need it? *","AnswerType":"String","QuestionId":"1cb41462-5670-419f-b92a-bc7b1a396ff0"},{"AnswerType":"Boolean","QuestionId":"b81da260-1479-46f1-b02b-2e7fd515d4aa"},{"AnswerType":"String","QuestionId":"91f2b14a-9704-4bad-80aa-c726d7d8af34"},{"AnswerType":"String","QuestionId":"b016f840-a5c1-4e1e-8fde-b46a22756390"},{"Answer":"[{\"Asset\":{\"Name\":\"Computers\",\"ItemType\":\"Computer\"},\"Quantity\":1}]","AnswerType":"String","QuestionId":"3b1b9537-4e61-403d-b673-65133a5ba9ed"},{"AnswerType":"String","QuestionId":"67da0f70-96f8-4830-a002-b2a9c0d968a7"},{"AnswerType":"InstancePicker","QuestionId":"1ed3928c-caad-4b9e-bc2e-b8dfe5258e7c"},{"AnswerType":"String","QuestionId":"f7a0eba5-dead-4d60-9d99-dd4b3ff20519"},{"AnswerType":"InstancePicker","QuestionId":"682c45a8-14e8-476c-93fb-94b70f6fc8af"},{"AnswerType":"InstancePicker","QuestionId":"238b8217-0df7-42cd-a558-9d99a0eefae7"},{"AnswerType":"InstancePicker","QuestionId":"011c75e5-01c2-42e8-b32a-62f1c6d19c9a"},{"AnswerType":"InstancePicker","QuestionId":"0cc4fe64-7ba7-4bc1-830e-e6595e668f13"}]}

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Hi @Roman_Nepomniashchii

    So you aren't coding an API call? Is this just when using the Cireson Portal to create and SR through a Request Offering?

    Thanks,

    Shane

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Hi @Roman_Nepomniashchii

    Oh okay! So when you save the Request Offering, can you open F12 to see the developer tools and see if any errors are thrown?

    Do you have any errors in the Webconsole log?

    Thanks,

    Shane

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    We caught this error by accident after a user contacted (he created a ticket but in fact the ticket was not created and code 200 was returned)

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Do you know which RO he tried creating a ticket from? Are you able to reproduce it?

    Thanks,

    Shane

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    I know but I can hardly reproduce(((( And the errors that I attached from the event log do not say anything?

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Chances are the errors you sent will be in the Web Console log, if it is an issue with a particular RO, then it should be easy to replicate. If it is sporadic then it is much harder to troubleshoot.

    Thanks,

    Shane

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    Maybe you know why in browser I have status 200 (workitem created) but SR not created?

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭

    Hi @Roman_Nepomniashchii

    What version of the Portal are you running? What is the configuration of your RO?

    Thanks,

    Shane

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    edited January 2020

    @Shane_White

    Current Portal Version: 8.2.0.2016

    Management Pack Version: 7.7.2016.185

    MP with RO in attach

Sign In or Register to comment.