Loading
Prepare for Email to Become the Default Login ExperienceRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
SendSubmitToOM

SendSubmitToOM

SendSubmitToOM is a Vlocity open interface that is required to send Submit requests to the order management system using an invokeMethod() call and the sendRequest method.

SendSubmitToOM is only applicable if OdinStandardAPIHandler is used as the implementation for the OdinAPIHandler interface.

Input Parameters

methodName

Required

Type: String

The name of the method to execute: sendRequest

inputMap

Required

Type: Map<String, Object>

The input map contains submitOrderRequest, with its value being the VlocitySubmitOrderRequest object

Output Parameters

outputMap: Contains submitOrderResponse, with its value being the JSON string response from the order management system

Sample outputMap

outputMap.put('submitOrderResponse', '{"orderId": "8011U000000Tq5l", "state": "Rejected", "reasonCode": "QUEUE-FULL", "reasonDescription": "The orders queue is full"}');
 
Loading
Salesforce Help | Article