Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Contact Role Entity JSON

...

Code Block
languagejs
titleContact Entity JSON
linenumberstrue
{
    "user-12345":
    {
        "type":     "org.symphonyoss.obj.contact",
        "version":  "0.1",
        "id":
        [
			{
				"type":     "com.symphony.user.userId",
				"value": 	123456789
			},
            {
                "type":     "org.symphonyoss.obj.contact.id",
                "value":    "user-12345"
            },
            {
                "type":     "com.ipreo.contact.id",
                "value":    "iid-contact-65832"
            }
        ],
        "contactInfoId":
        {
            "type":     "org.symphonyoss.obj.contact.info.id",
            "value":    100203
        },
        "fullName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "John Smith"
        },
        "formalName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "Mr. Jonathan A. Smith, III"
        },
        "informalName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "John Smith"
        },
        "indexName":
        {
            "type":     "org.symphonyoss.string",
            "value":    "Smith, John"
        },
        "summary":
        {
            "type":     "org.symphonyoss.string",
            "value":    "A short summary of the contact"
        },
        "biography":
        {
            "type":     "org.symphonyoss.string",
            "value":    "An in-depth profile of the contact in paragraph / prose form."
        },
        "organizations":
        [
            {
                "id":
                [
                    {
                        "type":     "org.symphonyoss.fin.organization.id",
                        "value":    "organization-12345"
                    },
                    {
                        "type":     "org.symphonyoss.fin.organization.id.ipreo",
                        "value":    "iid-organization-65833"
                    }
                ],
                "name":
                {
                    "type":     "org.symphonyoss.string",
                    "value":    "Apple Inc."
                },
                "start":
                {
                    "type":     "org.symphonyoss.time.rfc3339",
                    "value":    "2012-01-01"
                },
                "end":
                {
                    "type":     "org.symphonyoss.time.rfc3339",
                    "value":    "2016-11-12"
                },
                "title":
                {
                    "type":     "org.symphonyoss.string",
                    "value":    "Director of North America Macintosh Sales, Education"
                },
                "role":
                {
                    "type":     "org.symphonyoss.obj.contact.role.id",
                    "value":    24
                },
                "contactInfoId":
                {
                    "type":     "org.symphonyoss.obj.contact.info.id",
                    "value":    100203
                }
            }
        ]
    }
}


Code Block
languagejs
titleContact Role Entity JSON
linenumberstrue
{
    "role-24":
    {
        "type":     "org.symphonyoss.obj.contact.role",
        "version":  "0.1",
        "id": 24,
        "name": "Director"
    }
}