Jump to content

Recommended Posts

Posted

Hello Community and Support,

We would like to raise a request via Microsoft Forms and HTTP API Call. The request should use an existing Intelligent Capture and an Workflow. We can raise the request in Hornbill automatically and use the BP but then we miss the description, summary and Team. If we do it without the Parameter (<bpmName>new-starter</bpmName>) then these fields are filled out but of course no BP is behind. For us the question is how we can use the questions from the Intelligent Capture and the right Workflow in generally with this HTTP API Call? Also we would like to send a feedback to microsoft forms back when the ticket is closed is that possible?

Hope that make sense and anyone can help us. Thanks

Nikolaj

 

URI:

====

 

https://lon-p01-api.hornbill.com/tgre/xmlmc/apps/com.hornbill.servicemanager/ServiceRequests/?method=logServiceRequest

 

HEADERS:

========

 

{

  "Authorization": "*sanitized*",

  "Accept": "application/json",

  "Content-Type": "text/xmlmc"

}

 

 

HTTP BODY:

==========

 

<methodCall service="apps/com.hornbill.servicemanager/ServiceRequests" method="logServiceRequest">

<params>

            <description>TEST ONLY: New Starter @{body('Update_item')?['Employee_x0020_First_x0020_Name']} @{body('Update_item')?['Employee_x0020_Surname']} (@{body('Update_item')?['Title']})</description>

            <summary>Only for testing purposes - please assign delete immediately</summary>

                        <serviceID>5</serviceID>

            <catalogID>19</catalogID>

            <teamId>332</teamId>

            <customerType>0</customerType>

            <customerID>@{body('Update_item')?['Author']?['Email']}</customerID>

            <externalRefNumber>@{body('Update_item')?['ID']}</externalRefNumber>

</params>

</methodCall>

 

 

 for Request with Workflow additionally within the <params> tag:

 <bpmName>new-starter</bpmName>

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...