Mutations
reviewPrivatePersonCreate
Generate a review for a private person.
mutation ReviewPrivatePersonCreate($where: PrivatePersonWhereInput!, $riskLevel: RiskLevelKind) {
reviewPrivatePersonCreate(where: $where, riskLevel: $riskLevel) {
success
risk
id
context {
triggerId
relation {
edges {
kind
explanation
custom
node {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
... on DeletedEntity {
isDeleted
id
name
addresses {
country {
code
name
}
addressLine
city
zipCode
addressKind
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
countries {
relationship
country {
code
name
}
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
identifiers {
value
country
kind
description
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
sanctionInfo {
sanctioned
sanctions {
sanctionedBy
sourceReference
sanctionedSince
program
programs {
id
name
}
sourceUrl
confirmedMatch
dispositions {
status
comment
dispositionedBy {
id
name
avatar
email
accountKind
}
dispositionedAt
}
}
}
ams {
id
entityId
published
publisher
title
summary
bodyText
url
clusteredEvents {
id
url
}
authors
images
entityMentions {
text
span {
start
end
}
entityType
containingPhrase
containingPhraseSpan {
start
end
}
amsPredictions {
context {
start
end
}
classification
score
contextText
}
field
amsClassification
}
topicMentions {
topic
mentions
}
eventKind
createdBy {
id
name
avatar
email
accountKind
}
behindPaywall
}
flags
riskSignals {
signals {
name
riskFactors {
name
dateTime
paths {
edges {
kinds
node {
...
}
}
}
}
}
}
isCustom
customEntityMetadata {
sourceKind
createdAt
updatedAt
createdBy {
id
name
avatar
email
accountKind
}
}
}
}
details {
... on OwnershipRelationDetails {
share
}
}
}
}
explanations
entity {
... on Company {
id
name
}
... on BusinessPerson {
id
name
}
... on CustomBusinessPerson {
id
name
}
... on DeletedEntity {
isDeleted
id
name
addresses {
country {
code
name
}
addressLine
city
zipCode
addressKind
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
countries {
relationship
country {
code
name
}
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
identifiers {
value
country
kind
description
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
sanctionInfo {
sanctioned
sanctions {
sanctionedBy
sourceReference
sanctionedSince
program
programs {
id
name
}
sourceUrl
confirmedMatch
dispositions {
status
comment
dispositionedBy {
id
name
avatar
email
accountKind
}
dispositionedAt
}
}
}
ams {
id
entityId
published
publisher
title
summary
bodyText
url
clusteredEvents {
id
url
}
authors
images
entityMentions {
text
span {
start
end
}
entityType
containingPhrase
containingPhraseSpan {
start
end
}
amsPredictions {
context {
start
end
}
classification
score
contextText
}
field
amsClassification
}
topicMentions {
topic
mentions
}
eventKind
createdBy {
id
name
avatar
email
accountKind
}
behindPaywall
}
flags
riskSignals {
signals {
name
riskFactors {
name
dateTime
paths {
edges {
kinds
node {
... on BusinessPerson {
id
name
}
... on Company {
id
name
}
... on CustomBusinessPerson {
id
name
}
... on DeletedEntity {
isDeleted
id
name
addresses {
country {
code
name
}
addressLine
city
zipCode
addressKind
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
countries {
relationship
country {
code
name
}
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
identifiers {
value
country
kind
description
sourceMetadata {
acquiredAt
verifiedAt
source
origin
}
editMetadata {
editKind
updatedAt
editedBy {
id
name
avatar
email
accountKind
}
comment
sourceKind
}
}
sanctionInfo {
sanctioned
sanctions {
sanctionedBy
sourceReference
sanctionedSince
program
programs {
id
name
}
sourceUrl
confirmedMatch
dispositions {
status
comment
dispositionedBy {
id
name
avatar
email
accountKind
}
dispositionedAt
}
}
}
ams {
id
entityId
published
publisher
title
summary
bodyText
url
clusteredEvents {
id
url
}
authors
images
entityMentions {
text
span {
start
end
}
entityType
containingPhrase
containingPhraseSpan {
start
end
}
amsPredictions {
context {
start
end
}
classification
score
contextText
}
field
amsClassification
}
topicMentions {
topic
mentions
}
eventKind
createdBy {
id
name
avatar
email
accountKind
}
behindPaywall
}
flags
riskSignals {
...
}
isCustom
customEntityMetadata {
sourceKind
createdAt
updatedAt
createdBy {
id
name
avatar
email
accountKind
}
}
}
}
}
}
}
}
}
isCustom
customEntityMetadata {
sourceKind
createdAt
updatedAt
createdBy {
id
name
avatar
email
accountKind
}
}
}
... on PrivatePerson {
id
name
}
}
}
}
}input PrivatePersonWhereInput {
id: PrivatePersonId!
}Arguments
where PrivatePersonWhereInput! non-null input
riskLevel RiskLevelKind enum
RiskLevelKind
The risk level to store on the review. Omit it to store none; the risk class returned is decided by the risk class settings either way. Ignored when the risk class settings move the entity to manual review.
Type
PrivatePersonReviewPayload object
Response Fields
success Boolean! non-null scalar
risk RiskClass! non-null enum
id ID scalar
ID
Has a value only when the review is automatically completed, which is dependent on configured risk class settings.