SK SKYVVA Documentation

How to Generate SKYVVA V4/integrate API Metadata for Interface API V3

Overview

This guide explains how to generate SKYVVA API V4 metadata in OpenAPI 3.0 format, import it into an external application, and use the generated request structure to send business data to Salesforce through SKYVVA.

SKYVVA API metadata is intended for external systems and applications. Postman is used here only as an example API client to show the generated structure and test requests.

The V4/Integrate metadata generation supports JSON, XML, and CSV business payload formats.

image

Interface API Version Compatibility

Interface API VersionSupported SKYVVA API metadata
V2API V2
V3API V3 and API V4

Important: To generate SKYVVA API V4 metadata, configure the inbound interface with Interface API Version V3. A separate Interface API Version V4 is not required.

How SKYVVA Generates the Request Structure

SKYVVA generates the metadata based on the Source Object configured in the selected interface's Mapping Tool, rather than the Salesforce target fields.

The Source Object can be an sObject or a Message Type. A Message Type may define hierarchical parent and child objects.

In this example, the inbound interface AccountMessageType_Inb_V3 uses the following source structure:

Source objectSource fields
My_Account (parent)City, Country, CustomerID, CustomerName, CustomerNumber, Description
My_Contact (child)ContactName, Email, FirstName, LastName

For example, the source field CustomerName can map to Salesforce Account.Name, while the generated request continues to use the source field name CustomerName.

Screenshot — SKYVVA Mapping Tool

image

The Mapping Tool shows the source objects and their field mappings to Salesforce Account and Contact.

Prerequisites

Generate SKYVVA API V4 Metadata

Step: Open the inbound interface

  1. Open SKYVVA in Salesforce and navigate to the required Integration.
  2. Open the inbound Interface, such as AccountMessageType_Inb_V3.
  3. Confirm that its Interface API Version is V3.
image

Step: Open Generate MetaData

  1. Open Generate MetaData for the selected interface.
  2. Choose SKYVVA API as the application type.
  3. Open the metadata configuration options.

Step: Select the metadata options

SettingValue
Choose a format fileOpenAPI 3.0
Choose an API nameV4/Integrate
Payload FormatJSON, XML, or CSV

Screenshot — Generate SKYVVA API V4 Metadata

image

The Generate MetaData screen shows OpenAPI 3.0, V4/Integrate, and the payload format selection.

Step: Download the metadata

  1. Select JSON and click Generate File.
  2. Save the generated OpenAPI 3.0 file.
  3. Repeat for XML and CSV if you want to test those payload formats.

Import the Generated Metadata into Postman

  1. Open Postman and click Import.
  2. Select the generated OpenAPI 3.0 file.
  3. Complete the import and open the imported collection.
  4. Locate the generated POST /V4/integrate request.
  5. Repeat the import for other payload formats if needed.

The request body shown in Postman follows the Source Object structure from the SKYVVA Mapping Tool.

Generated API V4 Request Structures

The examples below show the original request bodies generated by SKYVVA and the same bodies filled with test values. They are request bodies, not complete URLs or authentication configurations.

JSON Payload Format

Screenshot — Generated JSON Request Structure

image

Postman displays the generated JSON source fields and nested My_Contact object.

Original generated JSON structure

{
  "Description": "",
  "CustomerNumber": "",
  "CustomerName": "",
  "CustomerID": "",
  "Country": "",
  "City": "",
  "My_Contact": {
    "LastName": "",
    "FirstName": "",
    "Email": "",
    "ContactName": ""
  }
}

JSON structure with sample values

{
  "Description": "Test Account using SKYVVA API V4",
  "CustomerNumber": "10001",
  "CustomerName": "SKYVVA Technology",
  "CustomerID": "C001",
  "Country": "Cambodia",
  "City": "Phnom Penh",
  "My_Contact": {
    "LastName": "Dara",
    "FirstName": "Sok",
    "Email": "sok.dara@example.com",
    "ContactName": "Sok Dara"
  }
}

The parent fields appear at the JSON root. The generated example represents My_Contact as a nested object, not an array.

XML Payload Format

Screenshot — Generated XML Request Structure

image

Postman displays the My_Account root element with a nested My_Contact element.

Original generated XML structure

<?xml version="1.0" encoding="UTF-8"?>
<My_Account>
  <City></City>
  <Country></Country>
  <CustomerID></CustomerID>
  <CustomerName></CustomerName>
  <CustomerNumber></CustomerNumber>
  <Description></Description>
  <My_Contact>
    <ContactName></ContactName>
    <Email></Email>
    <FirstName></FirstName>
    <LastName></LastName>
  </My_Contact>
</My_Account>

XML structure with sample values

<?xml version="1.0" encoding="UTF-8"?>
<My_Account>
  <City>Phnom Penh</City>
  <Country>Cambodia</Country>
  <CustomerID>C001</CustomerID>
  <CustomerName>SKYVVA Technology</CustomerName>
  <CustomerNumber>10001</CustomerNumber>
  <Description>Test Account using SKYVVA API V4</Description>
  <My_Contact>
    <ContactName>Sok Dara</ContactName>
    <Email>sok.dara@example.com</Email>
    <FirstName>Sok</FirstName>
    <LastName>Dara</LastName>
  </My_Contact>
</My_Account>

CSV Payload Format

Screenshot — Generated CSV Request Structure

image

Postman displays the generated CSV header and an empty data row.

Original generated CSV structure

City,Country,CustomerID,CustomerName,CustomerNumber,Description,ContactName,Email,FirstName,LastName
,,,,,,,,,

CSV structure with sample values

City,Country,CustomerID,CustomerName,CustomerNumber,Description,ContactName,Email,FirstName,LastName
Phnom Penh,Cambodia,C001,SKYVVA Technology,10001,Test Account using SKYVVA API V4,Sok Dara,sok.dara@example.com,Sok,Dara

CSV represents the parent and child source fields as columns in the same row. For this example, the header contains no explicit parent-child prefixes.

Configure the API V4 Request in Postman

Step: Review the endpoint and parameters

  1. Open the imported POST /V4/integrate request.
  2. Keep the endpoint URL provided by the generated OpenAPI definition.
  3. Review the generated query parameters and supply the correct values for your Integration and Interface.
  4. Ensure the request format matches the selected JSON, XML, or CSV payload.

Note: Use the parameter names and allowed values from the generated metadata; do not assume that V4 uses exactly the same parameters as V3.

Step: Configure authentication and request body

  1. Configure the Salesforce authentication required for your environment.
  2. Open Body and select raw.
  3. Use the appropriate body format for the generated request: JSON, XML, or CSV/text.
  4. Replace the empty fields with the sample values shown above.
  5. Check the generated headers, including the request content type.

Step: Send the request

  1. Click Send.
  2. Review the HTTP response and response body.
  3. If the request fails, check the authentication, parameters, payload format, and mapping configuration.

Verify Processing in SKYVVA and Salesforce

Step: Check SKYVVA Message Monitor

  1. Open Message Monitor in SKYVVA.
  2. Find the message associated with the test request.
  3. Review its processing status and error details, if any.

Step: Check Salesforce records

  1. Open the Salesforce Accounts tab.
  2. Locate the Account corresponding to CustomerName = SKYVVA Technology.
  3. Verify the mapped Account fields.
  4. Open the related Contacts and verify the Contact fields.
Salesforce fieldExpected sample value
Account.NameSKYVVA Technology
Account.AccountNumber10001
Account.BillingCityPhnom Penh
Account.BillingCountryCambodia
Account.DescriptionTest Account using SKYVVA API V4
Contact.FirstNameSok
Contact.LastNameDara
Contact.Emailsok.dara@example.com

The expected Salesforce results depend on the configured mapping and operation. Source fields that are not mapped to Salesforce target fields do not automatically populate target fields.

Expected Result

After successful configuration and processing:

Summary

SKYVVA API V4 metadata enables external applications to prepare requests using the source structure configured in a SKYVVA inbound interface. The interface uses API Version V3, while the generated external API operation is V4/Integrate. Postman provides a practical way to inspect the generated JSON, XML, and CSV bodies and test the integration before connecting another external system.

Open this article in the interactive viewer →