Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Jason Martens's Avatar

Jason Martens

Beigetreten 06. Mai 2021

·

Letzte Aktivität 16. Okt. 2021

Folge ich

0

Follower

0

Gesamtaktivitäten

4

Stimmen

0

Abonnement

1

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Jason Martens

Jason Martens hat einen Kommentar hinterlassen

Community-Kommentar Developer - Zendesk APIs

Hi Jason, when you create multiple relationships with different PC source IDs, you are creating *different* relationships for each PC. The same is true for one-to-one: each relationship is a separate relationship. The difference between one-to-one and one-to-many is that the target field in the one-to-many relationship type is an array. Whereas the target field in the one-to-one is a single ID. 

You should not be able to create multiple relationships with the *same* PC source ID in either the one-to-one or the one-to-many example. 

Does that help?

Kommentar anzeigen · Gepostet 26. März 2021 · Jason Martens

0

Follower

0

Stimmen

0

Kommentare


Jason Martens hat einen Kommentar hinterlassen

Community-Kommentar Developer - Zendesk APIs

Hi Matt, I think you are on the right track, but I'm not sure you need the `location_ticket` object, unless it's holding additional properties about the relationship. You should be able to create a one-to-many relationship between location -> zen:ticket as well as a one-to-many relationship between zen:ticket -> location. Then when you need to associate a ticket to a location, you would create a ticket -> location relationship for the ticket, and a corresponding location -> ticket relationship if you want to know all tickets associated with a location. 

Kommentar anzeigen · Gepostet 26. März 2021 · Jason Martens

0

Follower

0

Stimmen

0

Kommentare


Jason Martens hat einen Kommentar hinterlassen

Community-Kommentar Developer - Zendesk APIs

Hello Matt, to represent many-to-many relationships, you need to create multiple relationship types that go in both directions. Let me know if that doesn't work for you for some reason.

I'm not sure about the Insights question yet, someone will follow up about that.  

Kommentar anzeigen · Gepostet 26. März 2021 · Jason Martens

0

Follower

0

Stimmen

0

Kommentare