Create Plan Reference Identity
-
Click on the
Step 3 - Reference Descriptor for PlanAPI request in theXDM Schema Lab -> Create Relationship Descriptorsfoldernote caution CAUTION Do not execute the request…yet
-
Update the following properties in the body of the API call.
- Update the value of the
xdm:sourceSchemaproperty to the$idof theCustomer Accountschema you saved from the Create Schema step - Update the value of the
xdm:sourcePropertyto the path of theplanIDfield from theCustomer Accountschema
NOTE
Use the dot notation value of the
planId field from the dep: Lookup Plan schema and replace the . with /Don’t forget the leading
/ either 😄EXAMPLE ONLY
{
"@type": "xdm:descriptorReferenceIdentity",
"xdm:sourceSchema": "https://ns.adobe.com/devbc/schemas/8415ac18dd8943e35d12caf0c24b57b4a5a9ab7fd637245e",
"xdm:sourceVersion": 1,
"xdm:sourceProperty": "/_devbc/plan/planID",
"xdm:identityNamespace": "planID"
}
NOTE
Remember to update the tenant name above (_devbc) with the your own
-
Save your request before continuing using the
Savebutton -
Execute the API by clicking the
Sendbutton
You should now see a 201 Created response like below
NOTE
A reference identity descriptor is always defined on the lookup schema (i.e. sourceSchema)
NOTE
Reference Identity descriptors are created automatically in the backend when you create relationships from Schema UI. You only need create them explicitly when utilizing the APIs to create schemas
TIP
Awesome! You just created all the required descriptors to relate the
dep: Lookup Plan schema to the Customer Account schema and enabled it to be referenced during batch segmentationrecommendation-more-help
blueprints-learn-help-blueprints