notificationProfile query
Retrieves the partner's notification profile and its subscriptions.
Syntax
1query {2 notificationProfile {5 }6}
Example
This returns the partner's callback configuration and event types to which the partner has subscribed. Note that if a profile has not been created for the partner or if the partner has not subscribed to event types, empty arrays are returned.
- Request
- Response
- Response - No profile
1query {2 notificationProfile {3 callbackConfigs {4 id5 callbackUrl6 requestTimeoutSeconds7 secretExpirationDateTime8 contactEmail9 }10 subscriptions{11 product12 eventTypeSubscriptions {13 eventType14 callbackConfig {15 id16 }17 }18 }19 }20}
Arguments
Name | Description |
---|
Types
Name | Type | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EmailAddress | EmailAddress | |||||||||||||
A field whose value conforms to the standard internet email address format as specified in HTML Spec. | ||||||||||||||
ID | ID | |||||||||||||
The | ||||||||||||||
Int | Int | |||||||||||||
The | ||||||||||||||
LocalDateTime | LocalDateTime | |||||||||||||
A type representing a date and time (such as 2007-12-03T10:15:30). | ||||||||||||||
NotificationCallbackConfig | Object | |||||||||||||
Details about the callback configuration.
| ||||||||||||||
NotificationEventTypeSubscription | Object | |||||||||||||
Callback URL and the event types to which it is subscribed.
| ||||||||||||||
NotificationProfile | Object | |||||||||||||
Callback configurations that exist for the notification profile.
| ||||||||||||||
NotificationSubscription | Object | |||||||||||||
Details about the event type subscription.
| ||||||||||||||
String | String | |||||||||||||
The | ||||||||||||||
Url | Url | |||||||||||||
Scalar type whose value conforms to the standard URL format as specified in RFC3986 specification. |