Warning, /pim/libkgapi/autotests/people/data/person1_create_response.txt is written in an unsupported language. File is not indexed.

0001 HTTP/1.1 200 OK
0002 Content-Type: application/json; charset=UTF-8
0003 Date: Fri, 24 Feb 2023 16:53:10 GMT
0004 Server: ESF
0005 Cache-Control: private
0006 X-XSS-Protection: 0
0007 X-Frame-Options: SAMEORIGIN
0008 X-Content-Type-Options: nosniff
0009 Accept-Ranges: none
0010 Vary: X-Origin, Referer, Origin,Accept-Encoding
0011 Transfer-Encoding: chunked
0012 Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
0013 
0014 {
0015   "resourceName": "people/c5170723913980391624",
0016   "etag": "%EigBAgMEBQYHCAkKCwwNDg8QERITFBUWFxkfISIjJCUmJy40NTc9Pj9AGgQBAgUHIgxabTRZZlRpekE3TT0=",
0017   "metadata": {
0018     "sources": [
0019       {
0020         "type": "CONTACT",
0021         "id": "47c21a010c6b30c8",
0022         "etag": "#Zm4YfTizA7M=",
0023         "updateTime": "2023-02-24T16:40:20.181599Z"
0024       }
0025     ],
0026     "objectType": "PERSON"
0027   },
0028   "names": [
0029     {
0030       "metadata": {
0031         "primary": true,
0032         "source": {
0033           "type": "CONTACT",
0034           "id": "47c21a010c6b30c8"
0035         }
0036       },
0037       "displayName": "Dr. John Jay Doe III",
0038       "familyName": "Doe",
0039       "givenName": "John",
0040       "middleName": "Jay",
0041       "honorificPrefix": "Dr.",
0042       "honorificSuffix": "III",
0043       "phoneticFamilyName": "dəʊ",
0044       "phoneticGivenName": "ʤɒn",
0045       "phoneticMiddleName": "ʤeɪ",
0046       "displayNameLastFirst": "Doe, Dr. John Jay, III",
0047       "unstructuredName": "Dr. John Jay Doe III"
0048     }
0049   ],
0050   "nicknames": [
0051     {
0052       "metadata": {
0053         "primary": true,
0054         "source": {
0055           "type": "CONTACT",
0056           "id": "47c21a010c6b30c8"
0057         }
0058       },
0059       "value": "Johnnyboy"
0060     }
0061   ],
0062   "photos": [
0063     {
0064       "metadata": {
0065         "primary": true,
0066         "source": {
0067           "type": "CONTACT",
0068           "id": "47c21a010c6b30c8"
0069         }
0070       },
0071       "url": "https://lh3.googleusercontent.com/cm/AAkdduqTsfJ-EulAFCbanvhzVJKal1kBKM8ewvVEJHhDU-IbUC4_I6S3tdmWcb1b5Fhl=s100",
0072       "default": true
0073     }
0074   ],
0075   "birthdays": [
0076     {
0077       "metadata": {
0078         "primary": true,
0079         "source": {
0080           "type": "CONTACT",
0081           "id": "47c21a010c6b30c8"
0082         }
0083       },
0084       "date": {
0085         "year": 1999,
0086         "month": 11,
0087         "day": 3
0088       }
0089     }
0090   ],
0091   "addresses": [
0092     {
0093       "metadata": {
0094         "primary": true,
0095         "source": {
0096           "type": "CONTACT",
0097           "id": "47c21a010c6b30c8"
0098         }
0099       },
0100       "formattedValue": "KDE Road 15\nInternet 1800\nPo box in internet space and time\nInternet land\nMálaga\n51000\nES",
0101       "type": "home",
0102       "formattedType": "Home",
0103       "poBox": "Po box in internet space and time",
0104       "streetAddress": "KDE Road 15",
0105       "extendedAddress": "Internet 1800",
0106       "city": "Internet land",
0107       "region": "Málaga",
0108       "postalCode": "51000",
0109       "country": "ES",
0110       "countryCode": "ES"
0111     },
0112     {
0113       "metadata": {
0114         "source": {
0115           "type": "CONTACT",
0116           "id": "47c21a010c6b30c8"
0117         }
0118       },
0119       "formattedValue": "Main way 35\nMain road 20000\nSome other PO Box\nInternet city\nHuelva\n20035\nES",
0120       "type": "work",
0121       "formattedType": "Work",
0122       "poBox": "Some other PO Box",
0123       "streetAddress": "Main way 35",
0124       "extendedAddress": "Main road 20000",
0125       "city": "Internet city",
0126       "region": "Huelva",
0127       "postalCode": "20035",
0128       "country": "ES",
0129       "countryCode": "ES"
0130     }
0131   ],
0132   "emailAddresses": [
0133     {
0134       "metadata": {
0135         "primary": true,
0136         "source": {
0137           "type": "CONTACT",
0138           "id": "47c21a010c6b30c8"
0139         }
0140       },
0141       "value": "john@kde.example",
0142       "type": "work",
0143       "formattedType": "Work"
0144     },
0145     {
0146       "metadata": {
0147         "source": {
0148           "type": "CONTACT",
0149           "id": "47c21a010c6b30c8"
0150         }
0151       },
0152       "value": "john@home.test",
0153       "type": "home",
0154       "formattedType": "Home"
0155     },
0156     {
0157       "metadata": {
0158         "source": {
0159           "type": "CONTACT",
0160           "id": "47c21a010c6b30c8"
0161         }
0162       },
0163       "value": "john@private.stuff",
0164       "type": "other",
0165       "formattedType": "Other"
0166     }
0167   ],
0168   "phoneNumbers": [
0169     {
0170       "metadata": {
0171         "primary": true,
0172         "source": {
0173           "type": "CONTACT",
0174           "id": "47c21a010c6b30c8"
0175         }
0176       },
0177       "value": "666 12 34 90",
0178       "canonicalForm": "+34666123490",
0179       "type": "mobile",
0180       "formattedType": "Mobile"
0181     },
0182     {
0183       "metadata": {
0184         "source": {
0185           "type": "CONTACT",
0186           "id": "47c21a010c6b30c8"
0187         }
0188       },
0189       "value": "952 66 61 23",
0190       "canonicalForm": "+34952666123",
0191       "type": "home",
0192       "formattedType": "Home"
0193     },
0194     {
0195       "metadata": {
0196         "source": {
0197           "type": "CONTACT",
0198           "id": "47c21a010c6b30c8"
0199         }
0200       },
0201       "value": "910 12 30 00",
0202       "canonicalForm": "+34910123000",
0203       "type": "other",
0204       "formattedType": "Other"
0205     }
0206   ],
0207   "biographies": [
0208     {
0209       "metadata": {
0210         "primary": true,
0211         "source": {
0212           "type": "CONTACT",
0213           "id": "47c21a010c6b30c8"
0214         }
0215       },
0216       "value": "John is awesome!",
0217       "contentType": "TEXT_PLAIN"
0218     }
0219   ],
0220   "urls": [
0221     {
0222       "metadata": {
0223         "primary": true,
0224         "source": {
0225           "type": "CONTACT",
0226           "id": "47c21a010c6b30c8"
0227         }
0228       },
0229       "value": "kde.org",
0230       "type": "work",
0231       "formattedType": "Work"
0232     },
0233     {
0234       "metadata": {
0235         "source": {
0236           "type": "CONTACT",
0237           "id": "47c21a010c6b30c8"
0238         }
0239       },
0240       "value": "johndoe.test",
0241       "type": "blog",
0242       "formattedType": "Blog"
0243     }
0244   ],
0245   "organizations": [
0246     {
0247       "metadata": {
0248         "primary": true,
0249         "source": {
0250           "type": "CONTACT",
0251           "id": "47c21a010c6b30c8"
0252         }
0253       },
0254       "name": "KDE",
0255       "department": "PIM",
0256       "title": "Developer"
0257     }
0258   ],
0259   "memberships": [
0260     {
0261       "metadata": {
0262         "source": {
0263           "type": "CONTACT",
0264           "id": "47c21a010c6b30c8"
0265         }
0266       },
0267       "contactGroupMembership": {
0268         "contactGroupId": "myContacts",
0269         "contactGroupResourceName": "contactGroups/myContacts"
0270       }
0271     }
0272   ],
0273   "events": [
0274     {
0275       "metadata": {
0276         "primary": true,
0277         "source": {
0278           "type": "CONTACT",
0279           "id": "47c21a010c6b30c8"
0280         }
0281       },
0282       "date": {
0283         "year": 2023,
0284         "month": 2,
0285         "day": 24
0286       },
0287       "type": "other",
0288       "formattedType": "Other"
0289     }
0290   ],
0291   "imClients": [
0292     {
0293       "metadata": {
0294         "primary": true,
0295         "source": {
0296           "type": "CONTACT",
0297           "id": "47c21a010c6b30c8"
0298         }
0299       },
0300       "username": "johndoefromkde",
0301       "protocol": "googleTalk",
0302       "formattedProtocol": "Google Talk"
0303     },
0304     {
0305       "metadata": {
0306         "source": {
0307           "type": "CONTACT",
0308           "id": "47c21a010c6b30c8"
0309         }
0310       },
0311       "username": "johndoefromkde",
0312       "protocol": "jabber",
0313       "formattedProtocol": "Jabber"
0314     }
0315   ],
0316   "relations": [
0317     {
0318       "metadata": {
0319         "primary": true,
0320         "source": {
0321           "type": "CONTACT",
0322           "id": "47c21a010c6b30c8"
0323         }
0324       },
0325       "person": "Joanna Doe",
0326       "type": "spouse",
0327       "formattedType": "Spouse"
0328     }
0329   ],
0330   "userDefined": [
0331     {
0332       "metadata": {
0333         "primary": true,
0334         "source": {
0335           "type": "CONTACT",
0336           "id": "47c21a010c6b30c8"
0337         }
0338       },
0339       "key": "Custom Field Number One",
0340       "value": "custom field 1"
0341     }
0342   ],
0343   "sipAddresses": [
0344     {
0345       "metadata": {
0346         "primary": true,
0347         "source": {
0348           "type": "CONTACT",
0349           "id": "47c21a010c6b30c8"
0350         }
0351       },
0352       "value": "123456789",
0353       "type": "home",
0354       "formattedType": "Home"
0355     }
0356   ]
0357 }