using bmc itsm oob web services - bmc software · using bmc srm oob web services the bmc service...

35
Using BMC SRM OOB Web Services The BMC Service Request Management application is shipped with a number of OOB Web Services that can be used to Create, Query and Modify requests (see Figure 1. at end of document). Service Request Web Services There are 2 associated Web Services with SRM. These are: SRM_RequestInterface_Create_WS SRM_RequestInterface_WS They can be accessed from the following links: http://<midtier_server>/arsys/WSDL/public/<servername>/SRM_RequestInterface_Create_WS http:// <midtier_server>/arsys/WSDL/public/<servername>/SRM_RequestInterface_WS Each Web Service contains one or more functions. These are: SRM_RequestInterface_Create_WS Request_Submit_Service - Submit a request into Service Request Management SRM_RequestInterface_WS Request_Modify_Service - Modify a request in Service Request Management Request_Query_Service - Query a request in Service Request Management Request_QueryList_Service - Query and return a list of requests in Service Request Management Further information can be found here:

Upload: ngolien

Post on 09-Jun-2018

321 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

Using BMC SRM OOB Web Services

The BMC Service Request Management application is shipped with a number of OOB Web Services that can be used to Create, Query and Modify requests (see Figure 1. at end of document). Service Request Web Services There are 2 associated Web Services with SRM. These are: SRM_RequestInterface_Create_WS SRM_RequestInterface_WS They can be accessed from the following links: http://<midtier_server>/arsys/WSDL/public/<servername>/SRM_RequestInterface_Create_WS http:// <midtier_server>/arsys/WSDL/public/<servername>/SRM_RequestInterface_WS Each Web Service contains one or more functions. These are: SRM_RequestInterface_Create_WS Request_Submit_Service - Submit a request into Service Request Management SRM_RequestInterface_WS Request_Modify_Service - Modify a request in Service Request Management Request_Query_Service - Query a request in Service Request Management Request_QueryList_Service - Query and return a list of requests in Service Request Management

Further information can be found here:

Page 2: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

https://docs.bmc.com/docs/display/public/srm91/Web+services+for+BMC+Service+Request+Management https://docs.bmc.com/docs/display/public/srm91/Request_Submit_Service https://docs.bmc.com/docs/display/public/srm91/Request_Modify_Service https://docs.bmc.com/docs/display/public/srm91/Request_Query_Service+and+Request_QueryList_Service

Common integrations to these Web Services are from third party applications that can consume these Web Services and functions to create, query and modify requests. Interfaces can be written in a number of languages, such as Java, ASP, C, .NET, etc to interact with these Web Services. There are a few things to remember when using these Web Services. Some follow the normal integration form rules:

1. When creating a request in certain programming languages, ALL the fields that are mapped into the WSDL need to be provided even if they are NULL. Generally, however, only the required fields listed in the WSDL are required to create a request.

2. The required fields, along with Authentication Information, must be provided as a minimum. These are (although where indicate the default fields are auto populated):

Field Notes Company

TitleInstanceID The InstanceID for the SRD of the Service requested. Source_Keyword Enter Interface Form or similar to describe the creation origin Login_ID Add_Request_For Refer to documentation. Default = Individual. Impact Urgency Status Refer to documentation. Default = Submitted. AppRequestSummary The Title of the SRD. Z1D Action Default = CREATE.

Page 3: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

3. You cannot use the questions as defined on the SRD through these interfaces. If you require to use parameters for processing, utilise the SR Type Fields and map through the SRD to the associated PDT variables (see example provided).

4. Date values are XML based format > YYYY-MM-DDThh:mmTZD (e.g. 1997-07-16T19:20+01:00)

Page 4: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

Testing Web Services One of the most common ways to test Web Services is to use a free tool call “soapUI”. This allows you to consume the Web Services and test the associated functionality. Using soapUI Creating a Request

1. Open a new project in soapUI. Provide a project name and paste the URL of the SRM Web Service into the “Initial WSDL/WADL:” field. This will search for the Web Service and return a list of functions on the left hand panel.

2. Expand out the tree under the Web Service to expose the functions (left hand panel of soapUI).

Page 5: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

3. Right mouse-click on the “Request1” call and select “Clone Request”. This is to ensure you have a reference (baseline) entry that you can duplicate

if anything goes wrong. Enter an appropriate name for the cloned request e.g.

4. Double Click on the “Submit Test Request” (SOAP Definition) under the Request_Submit_Service function. This will open the SOAP Envelope in the right hand window where you can view the parameters required. Although certain XML elements are listed as “Optional”, refer to the documentation for the actual minimum required fields that need to be passed for the Web Service call to be successful.

Page 6: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 7: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

5. You will notice that soapUI puts the value “?” where it is expecting an input. Remove the “?” where not required.

** NOTE: These will be transmitted when submitting the request if not removed. This will also cause errors back from Remedy due to incorrect data types, etc **

6. Enter in the AuthenticationInfo. You need to provide a valid Remedy Username and Password with appropriate permissions for the module. 7. Provide values for the minimum fields and submit the request by pressing the green play button (top left).

Any errors relating to values, etc, will be displayed in the far right hand window. If successful, you will be provided with a Service Request number. ** NOTE: Although you may have been supplied an Service Request Number, this number comes from the SRM:RequestInterface_Create form workflow and may not be valid if the request was not successful in some of the field validations ... **

Page 8: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

Querying a Request (It is assumed that you have loaded in the correct Web Service > SRM_RequestInterface _WS)

1. Duplicate the “Request 1” Web Service request. 2. Double Click on the cloned Web Service request (SOAP Definition) under the HelpDesk_Query_Service function. This will open the SOAP Envelope

in the right hand window.

3. Enter in the AuthenticationInfo. You need to provide a valid Remedy Username and Password with appropriate permissions for the module. 4. Enter in a valid Service Request Number and submit the request by pressing the green play button (top left). 5. A response will be shown in the far right hand window.

Page 9: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 10: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 11: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

Interfacing Example – Create Service Request > Work Order creation using PDT variables and SR Type Fields The following example shows how to use the SRM Web Service to create a Service Request passing in parameters (which can be question answers) to branch to the correct Work Order. The parameters are passed through the Interface into the SRM SR Type Fields (“SRM:Request”) where they are mapped into PDT variables for use with the processing and passing to the underlying fulfilment request. NOTE: For some unknown reason, not all the WO Type Fields are exposed from the SRM Forms when mapping through using the OOB workflow i.e. Work Order Type Fields 1-30 and 48-51 are the only exposed fields where a one to one mapping can be achieved from SRM > WO. ** If using Work Order Management as fulfilment, SR Type Fields are automatically mapped to Work Order Type Fields where available on the WO **

1. Create 2 Work Order Templates for use with the PDT.

Page 12: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

2. Create AOT > Work Order Template associations and expose the required fields.

Page 13: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

3. Create PDT, Variables and Conditioning. In this example, SR Type Field 10 will provide the conditional parameter to the “var_Condition” PDT variable via the SRD Mappings.

Page 14: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 15: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

4. Create a SRD and map through SR Type Fields that will be used in the integration. ** Any SR Type Field that has an equivalent Work Order Type Field will automatically be mapped through (see note above about exposed SRM > WO fields) and there is no need to expose in the AOT ** Note: As this is used purely for integration purpose, no questions have been defined on the SRD although you may utilise the one SRD for both internal and interface purposes if you map the SRD Question/Answers into the SR Type Fields as would be provided through the interface.

Page 16: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 17: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

5. Test the Web Service by passing in the required values. If successful, you will be returned the Service Request Number. The associated fulfilment application request will also be created.

Page 18: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 19: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 20: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order
Page 21: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

SOAPUI EXAMPLES

Create Service Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:SRM_RequestInterface_Create_WS"> <soapenv:Header> <urn:AuthenticationInfo> <urn:userName>MPS</urn:userName>

<urn:password></urn:password> <!--Optional:--> <urn:authentication></urn:authentication> <!--Optional:--> <urn:locale></urn:locale> <!--Optional:--> <urn:timeZone></urn:timeZone> </urn:AuthenticationInfo> </soapenv:Header> <soapenv:Body> <urn:Request_Submit_Service> <urn:Submitter>MPS</urn:Submitter> <!--Optional:--> <urn:System_Assignee></urn:System_Assignee> <urn:Status>Submitted</urn:Status> <urn:Short_Description>Test from soapUI</urn:Short_Description> <!--Optional:--> <urn:Vendor_Assignee_Groups></urn:Vendor_Assignee_Groups> <!--Optional:--> <urn:z1D_WorkInfoSummary></urn:z1D_WorkInfoSummary> <!--Optional:--> <urn:z1D_WorkInfoDetails></urn:z1D_WorkInfoDetails> <!--Optional:-->

<urn:z1D_WorkInfoDate></urn:z1D_WorkInfoDate> <!--Optional:--> <urn:z1D_WorkInfoCommunicationSource></urn:z1D_WorkInfoCommunicationSource> <!--Optional:--> <urn:z1D_WorkInfoType></urn:z1D_WorkInfoType> <!--Optional:-->

Page 22: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<urn:z1D_WorkInfoViewAccess></urn:z1D_WorkInfoViewAccess> <!--Optional:--> <urn:z1D_WorkInfoSecureLog></urn:z1D_WorkInfoSecureLog> <!--Optional:--> <urn:Department></urn:Department> <!--Optional:--> <urn:Site_Group></urn:Site_Group> <!--Optional:--> <urn:Region></urn:Region> <!--Optional:--> <urn:Customer_Region></urn:Customer_Region> <!--Optional:--> <urn:Customer_Site_Group></urn:Customer_Site_Group> <!--Optional:--> <urn:Customer_Site></urn:Customer_Site> <!--Optional:--> <urn:FormKeyword>SERVICE_REQUEST_INTERFACE</urn:FormKeyword> <!--Optional:--> <urn:Site></urn:Site> <!--Optional:--> <urn:z1D_DirtyFlag></urn:z1D_DirtyFlag>

<!--Optional:--> <urn:SR_Type_Field_1>This is the Notes field</urn:SR_Type_Field_1> <!--Optional:--> <urn:SR_Type_Field_2>Answer 1</urn:SR_Type_Field_2> <!--Optional:--> <urn:SR_Type_Field_3>Answer 2</urn:SR_Type_Field_3> <!--Optional:--> <urn:SR_Type_Field_4>Answer 3</urn:SR_Type_Field_4> <!--Optional:--> <urn:SR_Type_Field_5>Answer 4</urn:SR_Type_Field_5> <!--Optional:-->

<urn:SR_Type_Field_6></urn:SR_Type_Field_6> <!--Optional:--> <urn:SR_Type_Field_7></urn:SR_Type_Field_7> <!--Optional:--> <urn:SR_Type_Field_8></urn:SR_Type_Field_8> <!--Optional:-->

Page 23: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<urn:SR_Type_Field_9></urn:SR_Type_Field_9> <!--Optional:--> <urn:Actual_Cost_currencyValue></urn:Actual_Cost_currencyValue> <!--Optional:--> <urn:Actual_Cost_currencyCode></urn:Actual_Cost_currencyCode> <!--Optional:--> <urn:Actual_Cost_currencyConversionDate></urn:Actual_Cost_currencyConversionDate> <!--Optional:--> <urn:Estimated_Cost_currencyValue></urn:Estimated_Cost_currencyValue> <!--Optional:--> <urn:Estimated_Cost_currencyCode></urn:Estimated_Cost_currencyCode> <!--Optional:--> <urn:Estimated_Cost_currencyConversionDate></urn:Estimated_Cost_currencyConversionDate> <!--Optional:--> <urn:Anticipated_Start_Date></urn:Anticipated_Start_Date> <!--Optional:--> <urn:z1D_DirtyFlagAssociations></urn:z1D_DirtyFlagAssociations> <!--Optional:--> <urn:Anticipated_Duration></urn:Anticipated_Duration> <!--Optional:--> <urn:Actual_Duration></urn:Actual_Duration>

<!--Optional:--> <urn:Middle_Name></urn:Middle_Name> <!--Optional:--> <urn:Customer_Cost_Center></urn:Customer_Cost_Center> <!--Optional:--> <urn:Customer_Middle_Name></urn:Customer_Middle_Name> <!--Optional:--> <urn:Response_Instance_ID></urn:Response_Instance_ID> <!--Optional:--> <urn:Form_Name>$SCHEMA$</urn:Form_Name> <!--Optional:-->

<urn:Approval_Process_Name></urn:Approval_Process_Name> <urn:OfferingTitle></urn:OfferingTitle> <!--Optional:--> <urn:ServiceRequestApproval></urn:ServiceRequestApproval> <!--Optional:--> <urn:ApprovalProcessType></urn:ApprovalProcessType>

Page 24: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:AppRequestSummary>SRM Interface Test</urn:AppRequestSummary> <!--Optional:--> <urn:AppRequestID></urn:AppRequestID> <!--Optional:--> <urn:Enable_Assignment_Engine></urn:Enable_Assignment_Engine> <urn:TitleInstanceID>SRGAA5V0FW1O9AOIFA7UOHJNOEVTHW</urn:TitleInstanceID> <!--Optional:--> <urn:DefaultProcessName></urn:DefaultProcessName> <!--Optional:--> <urn:z1D_ApprovalStatus></urn:z1D_ApprovalStatus> <!--Optional:--> <urn:Entitlement_Qual>1=0</urn:Entitlement_Qual> <!--Optional:--> <urn:AppRequestInstanceID></urn:AppRequestInstanceID> <!--Optional:--> <urn:AppRegistryInstanceID></urn:AppRegistryInstanceID> <urn:Source_Keyword>Interface Form</urn:Source_Keyword> <!--Optional:--> <urn:SCODescription></urn:SCODescription> <!--Optional:-->

<urn:ApprovalDefinitionID></urn:ApprovalDefinitionID> <!--Optional:--> <urn:Request_Type></urn:Request_Type> <!--Optional:--> <urn:Company_Group_Name></urn:Company_Group_Name> <!--Optional:--> <urn:Customer_Company_Group_Name></urn:Customer_Company_Group_Name> <!--Optional:--> <urn:RequesterInstanceId></urn:RequesterInstanceId> <!--Optional:--> <urn:z1D_SiteGroup></urn:z1D_SiteGroup>

<!--Optional:--> <urn:AppRequestStatus></urn:AppRequestStatus> <!--Optional:--> <urn:AppRequestStatusReason></urn:AppRequestStatusReason> <!--Optional:--> <urn:RequestedForInstanceID></urn:RequestedForInstanceID>

Page 25: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:z1D_Integer01></urn:z1D_Integer01> <!--Optional:--> <urn:UnknownUser></urn:UnknownUser> <!--Optional:--> <urn:Categorization_Tier_4></urn:Categorization_Tier_4> <!--Optional:--> <urn:Categorization_Tier_5></urn:Categorization_Tier_5> <!--Optional:--> <urn:SRMSAOIGUID></urn:SRMSAOIGUID> <!--Optional:--> <urn:DataTags></urn:DataTags> <!--Optional:--> <urn:z1D_Region></urn:z1D_Region> <!--Optional:--> <urn:z1D_Site></urn:z1D_Site> <!--Optional:--> <urn:z2AF_Attachment3_attachmentName></urn:z2AF_Attachment3_attachmentName> <!--Optional:--> <urn:z2AF_Attachment3_attachmentData>cid:1231793636649</urn:z2AF_Attachment3_attachmentData> <!--Optional:-->

<urn:z2AF_Attachment3_attachmentOrigSize></urn:z2AF_Attachment3_attachmentOrigSize> <!--Optional:--> <urn:z2AF_Attachment2_attachmentName></urn:z2AF_Attachment2_attachmentName> <!--Optional:--> <urn:z2AF_Attachment2_attachmentData>cid:777278802627</urn:z2AF_Attachment2_attachmentData> <!--Optional:--> <urn:z2AF_Attachment2_attachmentOrigSize></urn:z2AF_Attachment2_attachmentOrigSize> <!--Optional:--> <urn:z2AF_Attachment1_attachmentName></urn:z2AF_Attachment1_attachmentName> <!--Optional:--> <urn:z2AF_Attachment1_attachmentData>cid:1341116710064</urn:z2AF_Attachment1_attachmentData>

<!--Optional:--> <urn:z2AF_Attachment1_attachmentOrigSize></urn:z2AF_Attachment1_attachmentOrigSize> <!--Optional:--> <urn:z1D_WorkInfoInstanceId></urn:z1D_WorkInfoInstanceId> <!--Optional:--> <urn:AppRequestAssignee></urn:AppRequestAssignee>

Page 26: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:SolutionRequestID></urn:SolutionRequestID> <!--Optional:--> <urn:z2AF_WIAttachment1_attachmentName></urn:z2AF_WIAttachment1_attachmentName> <!--Optional:--> <urn:z2AF_WIAttachment1_attachmentData>cid:1298440443636</urn:z2AF_WIAttachment1_attachmentData> <!--Optional:--> <urn:z2AF_WIAttachment1_attachmentOrigSize></urn:z2AF_WIAttachment1_attachmentOrigSize> <!--Optional:--> <urn:AppEventStatus></urn:AppEventStatus> <!--Optional:--> <urn:z2AF_Attachment4_attachmentName></urn:z2AF_Attachment4_attachmentName> <!--Optional:--> <urn:z2AF_Attachment4_attachmentData>cid:1219535512752</urn:z2AF_Attachment4_attachmentData> <!--Optional:--> <urn:z2AF_Attachment4_attachmentOrigSize></urn:z2AF_Attachment4_attachmentOrigSize> <!--Optional:--> <urn:z2AF_Attachment5_attachmentName></urn:z2AF_Attachment5_attachmentName> <!--Optional:--> <urn:z2AF_Attachment5_attachmentData>cid:780979718616</urn:z2AF_Attachment5_attachmentData> <!--Optional:-->

<urn:z2AF_Attachment5_attachmentOrigSize></urn:z2AF_Attachment5_attachmentOrigSize> <!--Optional:--> <urn:z2AF_Attachment6_attachmentName></urn:z2AF_Attachment6_attachmentName> <!--Optional:--> <urn:z2AF_Attachment6_attachmentData>cid:1210413851190</urn:z2AF_Attachment6_attachmentData> <!--Optional:--> <urn:z2AF_Attachment6_attachmentOrigSize></urn:z2AF_Attachment6_attachmentOrigSize> <!--Optional:--> <urn:SRD_Cost_currencyValue></urn:SRD_Cost_currencyValue> <!--Optional:--> <urn:SRD_Cost_currencyCode></urn:SRD_Cost_currencyCode>

<!--Optional:--> <urn:SRD_Cost_currencyConversionDate></urn:SRD_Cost_currencyConversionDate> <!--Optional:--> <urn:Entitlement_Management_ON_OFF></urn:Entitlement_Management_ON_OFF> <!--Optional:--> <urn:SRDStatus></urn:SRDStatus>

Page 27: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:SRD_TurnaroundTimeX>0</urn:SRD_TurnaroundTimeX> <!--Optional:--> <urn:SR_TurnaroundTimeUnits></urn:SR_TurnaroundTimeUnits> <!--Optional:--> <urn:z1D_Locale></urn:z1D_Locale> <!--Optional:--> <urn:Custom_Form_InstanceId></urn:Custom_Form_InstanceId> <!--Optional:--> <urn:SRD_Number></urn:SRD_Number> <!--Optional:--> <urn:z1D_ENTMSG></urn:z1D_ENTMSG> <!--Optional:--> <urn:CoordGroupID></urn:CoordGroupID> <!--Optional:--> <urn:InternalFlag></urn:InternalFlag> <!--Optional:--> <urn:SR_Type_Field_10>Template Two</urn:SR_Type_Field_10> <!--Optional:--> <urn:SR_Type_Field_11></urn:SR_Type_Field_11> <!--Optional:-->

<urn:SR_Type_Field_12></urn:SR_Type_Field_12> <!--Optional:--> <urn:SR_Type_Field_13></urn:SR_Type_Field_13> <!--Optional:--> <urn:SR_Type_Field_14></urn:SR_Type_Field_14> <!--Optional:--> <urn:SR_Type_Field_15></urn:SR_Type_Field_15> <!--Optional:--> <urn:SR_Type_Field_16></urn:SR_Type_Field_16> <!--Optional:--> <urn:SR_Type_Field_17></urn:SR_Type_Field_17>

<!--Optional:--> <urn:SR_Type_Field_18></urn:SR_Type_Field_18> <!--Optional:--> <urn:SR_Type_Field_19></urn:SR_Type_Field_19> <!--Optional:--> <urn:SR_Type_Field_20></urn:SR_Type_Field_20>

Page 28: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:SR_Type_Field_21></urn:SR_Type_Field_21> <!--Optional:--> <urn:SR_Type_Field_22></urn:SR_Type_Field_22> <!--Optional:--> <urn:SR_Type_Field_23></urn:SR_Type_Field_23> <!--Optional:--> <urn:SR_Type_Field_24></urn:SR_Type_Field_24> <!--Optional:--> <urn:SR_Type_Field_25></urn:SR_Type_Field_25> <!--Optional:--> <urn:SR_Type_Field_26></urn:SR_Type_Field_26> <!--Optional:--> <urn:SR_Type_Field_27></urn:SR_Type_Field_27> <!--Optional:--> <urn:SR_Type_Field_28></urn:SR_Type_Field_28> <!--Optional:--> <urn:SR_Type_Field_29></urn:SR_Type_Field_29> <!--Optional:--> <urn:SR_Type_Field_30></urn:SR_Type_Field_30> <!--Optional:-->

<urn:SR_Type_Field_31></urn:SR_Type_Field_31> <!--Optional:--> <urn:SR_Type_Field_32></urn:SR_Type_Field_32> <!--Optional:--> <urn:SR_Type_Field_33></urn:SR_Type_Field_33> <!--Optional:--> <urn:SR_Type_Field_34></urn:SR_Type_Field_34> <!--Optional:--> <urn:SR_Type_Field_35></urn:SR_Type_Field_35> <!--Optional:--> <urn:SR_Type_Field_36></urn:SR_Type_Field_36>

<!--Optional:--> <urn:SR_Type_Field_37></urn:SR_Type_Field_37> <!--Optional:--> <urn:SR_Type_Field_38></urn:SR_Type_Field_38> <!--Optional:--> <urn:SR_Type_Field_39></urn:SR_Type_Field_39>

Page 29: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:SR_Type_Field_40></urn:SR_Type_Field_40> <!--Optional:--> <urn:SR_Type_Field_41></urn:SR_Type_Field_41> <!--Optional:--> <urn:SR_Type_Field_43></urn:SR_Type_Field_43> <!--Optional:--> <urn:SR_Type_Field_44></urn:SR_Type_Field_44> <!--Optional:--> <urn:SR_Type_Field_45></urn:SR_Type_Field_45> <!--Optional:--> <urn:SR_Type_Field_46></urn:SR_Type_Field_46> <!--Optional:--> <urn:SR_Type_Field_47></urn:SR_Type_Field_47> <!--Optional:--> <urn:SR_Type_Field_42></urn:SR_Type_Field_42> <!--Optional:--> <urn:z1D_WorkInfoTypeSelection></urn:z1D_WorkInfoTypeSelection> <!--Optional:--> <urn:z1D_PhoneNumber></urn:z1D_PhoneNumber> <!--Optional:-->

<urn:SRD_RO_InstanceID></urn:SRD_RO_InstanceID> <!--Optional:--> <urn:SRD_RO_ReconID></urn:SRD_RO_ReconID> <!--Optional:--> <urn:SRD_RO_DatasetID></urn:SRD_RO_DatasetID> <!--Optional:--> <urn:z1D_Function></urn:z1D_Function> <!--Optional:--> <urn:z1D_EmailID></urn:z1D_EmailID> <!--Optional:--> <urn:z1D_ErrorMsg></urn:z1D_ErrorMsg>

<!--Optional:--> <urn:z1D_OfflineError></urn:z1D_OfflineError> <!--Optional:--> <urn:z1D_EntError></urn:z1D_EntError> <!--Optional:--> <urn:z1D_UnavailError></urn:z1D_UnavailError>

Page 30: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:z1D_ConfirmGroup></urn:z1D_ConfirmGroup> <!--Optional:--> <urn:z1D_ApplicationID></urn:z1D_ApplicationID> <!--Optional:--> <urn:deleted></urn:deleted> <!--Optional:--> <urn:OperationID></urn:OperationID> <!--Optional:--> <urn:Offering_Description></urn:Offering_Description> <!--Optional:--> <urn:Location_Company></urn:Location_Company> <!--Optional:--> <urn:Site_Country></urn:Site_Country> <!--Optional:--> <urn:Site_State_Province></urn:Site_State_Province> <!--Optional:--> <urn:Site_City></urn:Site_City> <!--Optional:--> <urn:Organization></urn:Organization> <!--Optional:-->

<urn:Assigned_Support_Organization></urn:Assigned_Support_Organization> <!--Optional:--> <urn:Full_Name></urn:Full_Name> <!--Optional:--> <urn:Last_Name></urn:Last_Name> <!--Optional:--> <urn:First_Name></urn:First_Name> <!--Optional:--> <urn:Customer_Full_Name></urn:Customer_Full_Name> <!--Optional:--> <urn:Desk_Location></urn:Desk_Location>

<!--Optional:--> <urn:Mail_Station></urn:Mail_Station> <!--Optional:--> <urn:Site_Street></urn:Site_Street> <!--Optional:--> <urn:Service_Location_Address></urn:Service_Location_Address>

Page 31: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<!--Optional:--> <urn:Site_Zip_Postal_Code></urn:Site_Zip_Postal_Code> <!--Optional:--> <urn:GEOnet></urn:GEOnet> <!--Optional:--> <urn:Internet_E-mail></urn:Internet_E-mail> <!--Optional:--> <urn:Phone_Number></urn:Phone_Number> <!--Optional:--> <urn:z1D_Char01></urn:z1D_Char01> <!--Optional:--> <urn:Categorization_Tier_1></urn:Categorization_Tier_1> <!--Optional:--> <urn:Categorization_Tier_2></urn:Categorization_Tier_2> <!--Optional:--> <urn:Categorization_Tier_3></urn:Categorization_Tier_3> <!--Optional:--> <urn:z1D_Char02></urn:z1D_Char02> <!--Optional:--> <urn:Site_ID></urn:Site_ID> <!--Optional:-->

<urn:z1D_Action>CREATE</urn:z1D_Action> <!--Optional:--> <urn:Company>Calbro Services</urn:Company> <urn:Add_Request_For_>Individual</urn:Add_Request_For_> <!--Optional:--> <urn:Service_Type></urn:Service_Type> <!--Optional:--> <urn:z1D_Lastcount></urn:z1D_Lastcount> <!--Optional:--> <urn:Status_Reason></urn:Status_Reason> <!--Optional:-->

<urn:Details>Testing from soapUI</urn:Details> <urn:Urgency>4-Low</urn:Urgency> <urn:Impact>4-Minor/Localized</urn:Impact> <!--Optional:--> <urn:Priority></urn:Priority> <!--Optional:-->

Page 32: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<urn:Cost_Center>?</urn:Cost_Center> <!--Optional:--> <urn:Assigned_Group></urn:Assigned_Group> <!--Optional:--> <urn:Request_Manager></urn:Request_Manager> <!--Optional:--> <urn:Assigned_Support_Company></urn:Assigned_Support_Company> <!--Optional:--> <urn:Login_ID>MPS</urn:Login_ID> <!--Optional:--> <urn:Customer_Login>MPS</urn:Customer_Login> <!--Optional:--> <urn:Actual_Start_Date></urn:Actual_Start_Date> <!--Optional:--> <urn:Request_Number></urn:Request_Number> <!--Optional:--> <urn:Person_ID></urn:Person_ID> <!--Optional:--> <urn:Date_Required></urn:Date_Required> <!--Optional:--> <urn:Anticipated_Completion_Date></urn:Anticipated_Completion_Date>

<!--Optional:--> <urn:Submitter_Group_ID></urn:Submitter_Group_ID> <!--Optional:--> <urn:z1D_Permission_Group_ID></urn:z1D_Permission_Group_ID> <!--Optional:--> <urn:Actual_Completion_Date></urn:Actual_Completion_Date> <!--Optional:--> <urn:Approval_Phase_Name></urn:Approval_Phase_Name> <!--Optional:--> <urn:ASORG></urn:ASORG> <!--Optional:-->

<urn:ASCPY></urn:ASCPY> <!--Optional:--> <urn:ASGRP></urn:ASGRP> <!--Optional:--> <urn:ASCHG></urn:ASCHG> <!--Optional:-->

Page 33: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<urn:ASLOGID></urn:ASLOGID> <!--Optional:--> <urn:ASGRPID></urn:ASGRPID> <!--Optional:--> <urn:Approval_Status></urn:Approval_Status> <!--Optional:--> <urn:Customer_Person_ID></urn:Customer_Person_ID> <!--Optional:--> <urn:Customer_First_Name></urn:Customer_First_Name> <!--Optional:--> <urn:Customer_Last_Name></urn:Customer_Last_Name> <!--Optional:--> <urn:Customer_Company></urn:Customer_Company> <!--Optional:--> <urn:Customer_Organization></urn:Customer_Organization> <!--Optional:--> <urn:Customer_Department></urn:Customer_Department> <!--Optional:--> <urn:Customer_Internet_E-mail></urn:Customer_Internet_E-mail> <!--Optional:--> <urn:Customer_Phone_Number></urn:Customer_Phone_Number>

<!--Optional:--> <urn:Customer_Location_Company></urn:Customer_Location_Company> <!--Optional:--> <urn:Customer_Site_ID></urn:Customer_Site_ID> <!--Optional:--> <urn:Notification_Language></urn:Notification_Language> <!--Optional:--> <urn:Total_Cost_Currency_currencyValue></urn:Total_Cost_Currency_currencyValue> <!--Optional:--> <urn:Total_Cost_Currency_currencyCode></urn:Total_Cost_Currency_currencyCode> <!--Optional:-->

<urn:Total_Cost_Currency_currencyConversionDate></urn:Total_Cost_Currency_currencyConversionDate> <!--Optional:--> <urn:RequestQuantity>1</urn:RequestQuantity> </urn:Request_Submit_Service> </soapenv:Body> </soapenv:Envelope>

Page 34: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

Query Service Request <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:SRM_RequestInterface_WS"> <soapenv:Header> <urn:AuthenticationInfo> <urn:userName>MPS</urn:userName> <urn:password></urn:password> <!--Optional:--> <urn:authentication></urn:authentication>

<!--Optional:--> <urn:locale></urn:locale> <!--Optional:--> <urn:timeZone></urn:timeZone> </urn:AuthenticationInfo> </soapenv:Header> <soapenv:Body> <urn:Request_Query_Service> <urn:Request_Number>REQ000000000003</urn:Request_Number> </urn:Request_Query_Service> </soapenv:Body>

</soapenv:Envelope>

Query (QueryList) Service Request <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:SRM_RequestInterface_WS"> <soapenv:Header> <urn:AuthenticationInfo> <urn:userName>MPS</urn:userName> <urn:password></urn:password> <!--Optional:--> <urn:authentication></urn:authentication> <!--Optional:--> <urn:locale></urn:locale> <!--Optional:--> <urn:timeZone></urn:timeZone> </urn:AuthenticationInfo> </soapenv:Header>

Page 35: Using BMC ITSM OOB Web Services - BMC Software · Using BMC SRM OOB Web Services The BMC Service Request Management ... mapping can be achieved from SRM > WO. ** If using Work Order

<soapenv:Body> <urn:Request_QueryList_Service> <urn:Qualification>1=1</urn:Qualification> <urn:startRecord></urn:startRecord> <urn:maxLimit>0</urn:maxLimit> </urn:Request_QueryList_Service> </soapenv:Body> </soapenv:Envelope>