Import Using a Single KVP

The single KVP key is checks with type raw.json.base64 and the value being a base64 encoded (standard encoding, not URL) JSON array of objects. Each object will define a separate check result.

The same check results as described in the Multiple KVP page would in this case be imported with:

Payload
1{
2 "addresses": [
3 {
4 "country": "AUS",
5 "addressType": "RESIDENTIAL1"
6 },
7 {
8 "country": "AUS",
9 "addressType": "RESIDENTIAL2"
10 }
11 ],
12 "identityDocs": [
13 {
14 "extraData": [
15 {
16 "kvpKey": "checks",
17 "kvpType": "raw.json.base64",
18 "kvpValue": "WwogICB7CiAgICAgICJzb3VyY2UiIDogImZvbyIsCiAgICAgICJ0eXBlIiA6ICJuYW1lIgogICB9LAogICB7CiAgICAgICJpbmRleCIgOiAxLAogICAgICAic291cmNlIiA6ICJiYXIiLAogICAgICAidHlwZSIgOiAiYWRkcmVzcyIKICAgfQpdCg=="
19 }
20 ],
21 "idType": "CHECK_RESULTS",
22 "country": "AUS"
23 }
24 ],
25 "dateOfBirth": {
26 "dateOfBirth": "1920-01-02",
27 "yearOfBirth": "1920"
28 },
29 "name": {
30 "displayName": "John Smith"
31 }
32}
33
34Where the decoded JSON would be:
35[
36 {
37 "source" : "foo",
38 "type" : "name"
39 },
40 {
41 "index" : 1,
42 "source" : "bar",
43 "type" : "address"
44 }
45]
Built with