Zendesk

Links

    Zendesk API

    Getting access, Developing, Testing

    Back to Zendesk

    Get sources by target

    Returns a list of source objects whose values are populated with the id of a related target object. For example, if you have a lookup field called "Success Manager" on a ticket, this endpoint can answer the question, "What tickets (sources) is this user (found by target_type and target_id) assigned as the 'Success Manager' (field referenced by field_id)?"

    Allowed For

    • Agents

    Input

    type: object properties: parameters: type: object properties: Accept: type: string target_type: type: string description: | (Required) The type of object the relationship field is targeting. The options are "zen:user", "zen:ticket", and "zen:organization" target_id: type: string description: | (Required) The id of the object the relationship field is targeting field_id: type: string description: | (Required) The id of the lookup relationship field source_type: type: string description: > (Required) The type of object the relationship field belongs to (example. ticket field belongs to a ticket object). The options are "zen:user", "zen:ticket", and "zen:organization" required: - target_type - target_id - field_id - source_type title: Parameters

    Output

    type: object