TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation User Notifications Get B2C Connection Notification Settings

Get B2C Connection Notification Settings

On this page

GraphQL endpoint: /user

Returns the per-connection email notification preferences for one of the calling user's B2C connections.

Query

query ($b2cConnectionId: ID!) {
  b2cConnectionNotificationSettings(b2cConnectionId: $b2cConnectionId) {
    id
    b2bConnRequestReceivedEmail
    b2bConnRequestResponseEmail
    b2cConnRequestResponseEmail
    c2bConnRequestReceivedEmail
    b2cSubRequestResponseEmail
    companySocialNetworkStatusChangeEmail
    b2bFormInstanceSubmissionRequestReceivedEmail
  }
}

Variables

{
  "b2cConnectionId": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "b2cConnectionNotificationSettings": {
      "b2bConnRequestReceivedEmail": true,
      "b2bConnRequestResponseEmail": true,
      "b2bFormInstanceSubmissionRequestReceivedEmail": true,
      "b2cConnRequestResponseEmail": true,
      "b2cSubRequestResponseEmail": true,
      "c2bConnRequestReceivedEmail": true,
      "companySocialNetworkStatusChangeEmail": true,
      "id": "00000000-0000-4000-8000-000000000001"
    }
  }
}