SK SKYVVA Documentation

How to Generate SKYVVA V2/integrate API Metadata for Interface API V2

Overview

This document explains how to generate SKYVVA API metadata for Interface API V2 using the Generate MetaData feature in SKYVVA.

The generated metadata uses the OpenAPI 3.0 format and can be used by compatible external systems or applications to integrate with SKYVVA and exchange data with Salesforce.

SKYVVA supports two API operations for Interface API V2:

The generated API request structure is based on the fields configured in the selected Interface Mapping Tool. These fields can be either custom source fields defined in the interface's IStructure or Salesforce sObject fields. Users can view and configure these fields in the Interface Mapping Tool before generating the API metadata.

Note: SKYVVA API metadata is intended for integration with external systems or applications. In this document, Postman is used as an example API client to demonstrate importing the generated metadata, viewing the original request structure, and testing the API with sample business data.

image

Prerequisites

Before generating the API metadata, ensure that:

  1. A SKYVVA Integration has been created.
  2. An Inbound Interface has been configured with Interface API V2.
  3. The required fields, either custom source fields defined in the interface's IStructure or Salesforce sObject fields, are configured and available in the Interface Mapping Tool.
  4. You have access to the Generate MetaData feature.

5. A compatible API client, such as Postman, is available for testing.

Step 1: Select the Interface and Open Generate Metadata

  1. Navigate to the Integrations tab in SKYVVA.
  2. Open the required Integration, for example, Generate_SKYVVA_API.
  3. Select the Interfaces tab.
  4. Select the checkbox next to the V2 Interface, for example, Account_Inb_V2.
  5. Click Generate MetaData.
image

Figure 1: Select the Account_Inb_V2 Interface and open Generate MetaData.

Expected Result:

The Generate Metadata wizard opens for the selected Interface.

Step 2: Choose the Application Type

  1. In the Choose your application screen, locate the Application Type field.
  2. Select SKYVVA API.
  3. Click Next to continue.
image

Figure 2: Select SKYVVA API as the application type.

Expected Result:

The wizard proceeds to Step 2 of 2 – Configure your metadata.

Step 3: Configure the Metadata

In the Configure your metadata screen, select the required file format and API operation.

FieldExample ValueDescription
Choose a format FileOpenAPI 3.0Defines the format of the generated metadata file.
Choose an API nameV2 Integrate or V2 IntegrateSynchronousDefines the V2 API operation for which metadata will be generated.

Available API operations:

image

Figure 3: Select OpenAPI 3.0 and choose the required V2 API operation.

Important Note: Source Fields Used for API Metadata Generation

SKYVVA generates the API request schema based on the Source fields configured in the Interface Mapping Tool, not the Target fields.

For example, the Source structure Account_V2 contains:

Source FieldData Type
AccountNumberText
BillingCityText
BillingCountryText
NameText
skyvvasolutions__Acc_Id__cText
image

Figure 4: Source fields configured in the Account_V2 Mapping Tool.

Note: Ensure that all required Source fields are configured before generating the metadata because these fields determine the generated API message structure.

After selecting the required API operation, click Generate.

Expected Result:

SKYVVA generates the OpenAPI 3.0 metadata file based on the selected V2 Interface, API operation, and configured Source fields.

Step 4: Download the Generated Metadata File

After clicking Generate, the metadata file is downloaded through the browser.

image

Figure 5: Verify that the generated SKYVVA V2 API metadata file has been downloaded.

Expected Result:

The generated metadata file is available for use by compatible external systems or applications.


Step 5: Import the V2 Integrate Metadata into Postman

This step demonstrates how to import the generated V2 Integrate metadata into Postman and prepare the request payload for testing.

  1. Open Postman.
  2. Click Import.
  3. Select the generated V2 Integrate OpenAPI 3.0 JSON file.
  4. Complete the import.
  5. Open the imported collection, for example, SKYVVA V2 REST API.
  6. Expand Integrate and select POST integrate.
  7. Navigate to Body → raw → JSON to view the generated request payload.
image

Figure 6: Original V2 Integrate request structure generated by SKYVVA and imported into Postman.

5.1 Original Generated Request Structure

The following JSON illustrates the generated request structure displayed in Postman.

{
  "integrationid": "a0c9M00000G9qhbQAB",
  "interfacename": "Account_Inb_V2",
  "batchmode": false,
  "messages": [
    {
      "AccountNumber": "string",
      "BillingCity": "string",
      "BillingCountry": "string",
      "Name": "string",
      "skyvvasolutions__Acc_Id__c": "string"
    },
    {
      "AccountNumber": "string",
      "BillingCity": "string",
      "BillingCountry": "string",
      "Name": "string",
      "skyvvasolutions__Acc_Id__c": "string"
    }
  ]
}

The generated request contains the Integration ID, Interface name, batchmode parameter, and a messages array.

The fields inside messages are generated from the Source structure configured in the SKYVVA Interface Mapping Tool. The value "string" is a placeholder that should be replaced with actual business data.

5.2 Understand the batchmode Parameter

The batchmode parameter determines how records are processed when using the V2 Integrate API.

ValueProcessing Behavior
"batchmode": trueRecords are sent to the SKYVVA Batch Control Board for batch processing.
"batchmode": falseRecords are processed directly into the Salesforce database through the configured SKYVVA Interface.

When batchmode is true:

"batchmode": true

The records are sent to the SKYVVA Batch Control Board, where they can be processed using the configured batch processing mechanism.

When batchmode is false:

"batchmode": false

The records are processed through the SKYVVA Interface and written to the Salesforce database according to the configured mapping and operation.

Note: The batchmode parameter is available in the V2 Integrate API request. It is not included in the generated V2 IntegrateSynchronous request.

5.3 Example Request Payload with Actual Values

The following example uses batchmode: false to process Account records into Salesforce.

{
  "integrationid": "a0c9M00000G9qhbQAB",
  "interfacename": "Account_Inb_V2",
  "batchmode": false,
  "messages": [
    {
      "AccountNumber": "A001",
      "BillingCity": "Phnom Penh",
      "BillingCountry": "Cambodia",
      "Name": "SKYVVA Technology",
      "skyvvasolutions__Acc_Id__c": "EXT001"
    },
    {
      "AccountNumber": "A002",
      "BillingCity": "Siem Reap",
      "BillingCountry": "Cambodia",
      "Name": "Test Company",
      "skyvvasolutions__Acc_Id__c": "EXT002"
    }
  ]
}

To send the records to the SKYVVA Batch Control Board instead, change "batchmode": false to "batchmode": true.

5.4 Request Parameters

ParameterDescription
integrationidID of the SKYVVA Integration.
interfacenameName of the selected V2 Interface.
batchmodetrue sends records to the Batch Control Board; false processes records into Salesforce.
messagesArray containing one or more records to process.
Source fieldsFields generated from the Interface Mapping Tool's Source structure.

Expected Result:

The V2 Integrate metadata is successfully imported into Postman. After configuring and sending a valid request:


Step 6: Import the V2 IntegrateSynchronous Metadata into Postman

This step demonstrates how to import the generated V2 IntegrateSynchronous metadata into Postman.

  1. Open Postman.
  2. Click Import.
  3. Select the generated V2 IntegrateSynchronous OpenAPI 3.0 JSON file.
  4. Complete the import.
  5. Open the imported collection, for example, SKYVVA V2 REST API.
  6. Expand IntegrateSynchronous and select POST integrate Synchronous.
  7. Navigate to Body → raw → JSON to view the generated request payload.
image

Figure 7: Original V2 IntegrateSynchronous request structure generated by SKYVVA and imported into Postman.

6.1 Original Generated Request Structure

{
  "integrationid": "a0c9M00000G9qhbQAB",
  "interfacename": "Account_Inb_V2",
  "messages": [
    {
      "AccountNumber": "string",
      "BillingCity": "string",
      "BillingCountry": "string",
      "Name": "string",
      "skyvvasolutions__Acc_Id__c": "string"
    },
    {
      "AccountNumber": "string",
      "BillingCity": "string",
      "BillingCountry": "string",
      "Name": "string",
      "skyvvasolutions__Acc_Id__c": "string"
    }
  ]
}

The generated request contains the Integration ID, Interface name, and messages array.

Unlike V2 Integrate, the generated V2 IntegrateSynchronous request does not include the batchmode parameter.

6.2 Example Request Payload with Actual Values

{
  "integrationid": "a0c9M00000G9qhbQAB",
  "interfacename": "Account_Inb_V2",
  "messages": [
    {
      "AccountNumber": "A001",
      "BillingCity": "Phnom Penh",
      "BillingCountry": "Cambodia",
      "Name": "SKYVVA Technology",
      "skyvvasolutions__Acc_Id__c": "EXT001"
    },
    {
      "AccountNumber": "A002",
      "BillingCity": "Siem Reap",
      "BillingCountry": "Cambodia",
      "Name": "Test Company",
      "skyvvasolutions__Acc_Id__c": "EXT002"
    }
  ]
}

6.3 Request Parameters

ParameterDescription
integrationidID of the SKYVVA Integration.
interfacenameName of the selected V2 Interface.
messagesArray containing one or more records to process synchronously.
Source fieldsFields generated from the Interface Mapping Tool's Source structure.

Expected Result:

The V2 IntegrateSynchronous metadata is successfully imported into Postman. The generated request contains the Integration ID, Interface name, and Source fields configured in SKYVVA.


Step 7: Understand the Difference Between V2 Integrate and V2 IntegrateSynchronous

Both API operations use the Source fields configured in the selected SKYVVA V2 Interface, but their generated request structures differ.

FeatureV2 IntegrateV2 IntegrateSynchronous
HTTP MethodPOSTPOST
API Endpoint/Integrate/IntegrateSynchronous
Integration IDIncludedIncluded
Interface NameIncludedIncluded
Batch Mode ParameterIncludedNot included
Batch Mode = trueRecords sent to Batch Control BoardNot applicable
Batch Mode = falseRecords processed into SalesforceNot applicable
Messages ArraySupportedSupported
Source FieldsBased on Mapping ToolBased on Mapping Tool
ProcessingSupports batch or direct processingSynchronous processing

Important Note:

The V2 Integrate API supports the batchmode parameter to control whether records are sent to the SKYVVA Batch Control Board or processed directly into Salesforce.

The V2 IntegrateSynchronous API does not include the batchmode parameter in its generated request structure.

Conclusion

The SKYVVA Generate MetaData feature simplifies integration with external systems by generating an OpenAPI 3.0 specification for the selected Interface API V2 operation.

External systems or applications can use the generated metadata to understand the SKYVVA API request structure and prepare data for integration with Salesforce through SKYVVA.

In this document, Postman is used as an example to demonstrate importing the generated metadata, reviewing the original request structure, and replacing placeholder values with actual business data.

For V2 Integrate, the batchmode parameter determines whether records are sent to the Batch Control Board or processed into Salesforce. The generated message fields are determined by the Source structure configured in the Interface Mapping Tool.

Open this article in the interactive viewer →