# PushNotificationRedirectionInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/inputs/push-notification-redirection-input


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

No description

```graphql
input PushNotificationRedirectionInput {
  type: PushNotificationRedirectionEnum!
  viewId: ID
  communityProfileId: ID
  productId: ID
  eventId: ID
  eventTarget: PushNotificationRedirectionTargetEnum
  planningId: ID
  exhibitorId: ID
  channelId: ID
  externalUrl: String
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>type</b></code>](#)<Bullet />[`PushNotificationRedirectionEnum!`](/organizer/content-api/graphql-event-api-schema/enums/push-notification-redirection-enum) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> This type allows to define the correct redirection in the app
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>viewId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>communityProfileId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>productId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>eventId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>eventTarget</b></code>](#)<Bullet />[`PushNotificationRedirectionTargetEnum`](/organizer/content-api/graphql-event-api-schema/enums/push-notification-redirection-target-enum) <Badge class="badge badge--secondary" text="enum"/> 
> 
> 
> Is required if type is "EVENT"
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>planningId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>exhibitorId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>channelId</b></code>](#)<Bullet />[`ID`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>PushNotificationRedirectionInput.<b>externalUrl</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

### Member Of

[`CreatePushNotificationInput`](/organizer/content-api/graphql-event-api-schema/inputs/create-push-notification-input)  <Badge class="badge badge--secondary" text="input"/>
