SK SKYVVA Documentation

1. Update the Parent Record while Upsert the Child of Inbound Integrate V4

In this section, you will understand to do inbound processing of integrate V4 by upserting the child records and also updating parents' records. Our mapping will allow you to append the parent reference field to be mapped.

Pre-requisite

Note: You can append any parent reference field. Therefore, you will able to map the parent fields. For example, if you append on AccountId(reference), you will see the parent's field as screenshot below. You can map the AccountNumber to the AccountNumber of Account field in order to update the AccountNumber field on the Account of the case's parent.

Fill in the URL of your org concat with /services/apexrest/skyvvasolutions/V4/integrate

integration Name

Here is the sample XML payload

It will create a completed message as below

The case record has been created then the link account and contact

Payload field Value Description

accId 0011X000018ymwiQAA Link this account id to the case

contactId 0031X00000wpWYLQA2 Link this Contact id to the case

Description

Create Case and link to Account and Contact and update parent fields

The value will pass to the Description field of case sObject

Subject

Upsert Case

The value will pass to the Subject field of case sObject

Update the Account's field of Case Parent

Payload field Value Description

AccountNumber UpdateAcc001 Update the AccountNumber field of the Account that is the case's parent

DescriptionAccount Insert Case and Update AccountNumber Update the description field of Account sObject that is the parent of the case

Update the Contact's field of Case Parent

Payload field Value Description

CompanyName Skyvva Update CompanyName to createby user of contact parent of case

LastName Pisey Update the description field of Account sObject that is the parent of the case

DescriptionContact Insert Case and Update LastName Update the description field of contact sObject that is the parent of the case

Open this article in the interactive viewer →