These requests retrieve subscriber-based "engagement score" and "lead score" information.
Subscriber Engagement Score
Use the following data elements in this request to retrieve engagement score information.
Data Element | Type | Length | Conditional | Description |
---|---|---|---|---|
subscriber_email | String | -1 | True | The email address of the subscriber |
subscriber_id | Int | True | The unique ID of the subscriber | |
remote_id | String | 50 | True | The unique ID of the subscriber in the remote system's database |
type_id | Int | True | The unique ID of the Score Type | |
type_name | String | 255 | True | The name of the Score Type |
description | String | 2000 | True | Information about the Score |
score_id | Int | True | The unique ID of the Score |
Request
<GridRequest xmlns="http://partner.informz.net/aapi/2009/08/"> <Password></Password> <Brand id="9999">Test Brand</Brand> <User></User> <Grids> <Grid type="subscriber_engagement_score"> <Conditions> <Condition> <Single> <DataElement>subscriber_id</DataElement> <DataValue>500402555</DataValue> <Comparator>EQ</Comparator> </Single> </Condition> </Conditions> <ReturnFields> <DataElement>subscriber_email</DataElement> <DataElement>subscriber_id</DataElement> <DataElement>remote_id</DataElement> <DataElement>type_id</DataElement> <DataElement>type_name</DataElement> <DataElement>description</DataElement> <DataElement>score_id</DataElement> </ReturnFields> </Grid> </Grids> </GridRequest>
Response
<?xml version="1.0" encoding="utf-8"?> <GridResponse xmlns="http://partner.informz.net/aapi/2009/08/"> <Brand id="9999">Test Brand</Brand> <User></User> <Grids> <Grid type="subscriber_engagement_score"> <Record row="1"> <Fields> <Field element="subscriber_email">1288testing@informz.com</Field> <Field element="subscriber_id">500402555</Field> <Field element="remote_id" /> <Field element="type_id">1</Field> <Field element="type_name">Engagement Score</Field> <Field element="description">Subscribers not in the scoring group</Field> <Field element="score_id">12229</Field> </Fields> </Record> </Grid> </Grids> </GridResponse>
Subscriber Lead Score
Use the following data elements in this request to retrieve lead score information.
Data Element | Type | Length | Conditional | Description |
---|---|---|---|---|
subscriber_email | String | -1 | True | The email address of the subscriber |
subscriber_id | Int | True | The unique ID of the subscriber | |
remote_id | String | 50 | True | The unique ID of the subscriber in the remote system's database |
type_id | Int | True | The unique ID of the Score Type | |
type_name | String | 255 | True | The name of the Score Type |
description | String | 2000 | True | Information about the Score |
score_id | Int | True | The unique ID of the Score |
Request
<GridRequest xmlns="http://partner.informz.net/aapi/2009/08/"> <Password>password</Password> <Brand id="9999">Test Brand</Brand> <User></User> <Grids> <Grid type="subscriber_lead_score"> <Conditions> <Condition> <Single> <DataElement>subscriber_id</DataElement> <DataValue>500970880</DataValue> <Comparator>EQ</Comparator> </Single> </Condition> </Conditions> <ReturnFields> <DataElement>subscriber_email</DataElement> <DataElement>subscriber_id</DataElement> <DataElement>remote_id</DataElement> <DataElement>type_id</DataElement> <DataElement>type_name</DataElement> <DataElement>description</DataElement> <DataElement>score_id</DataElement> </ReturnFields> </Grid> </Grids> </GridRequest>
Response
<?xml version="1.0" encoding="utf-8"?> <GridResponse xmlns="http://partner.informz.net/aapi/2009/08/"> <Brand id="9999">Test Brand</Brand> <User></User> <Grids> <Grid type="subscriber_lead_score"> <Record row="1"> <Fields> <Field element="subscriber_email">1155testing@informz.com</Field> <Field element="subscriber_id">500970880</Field> <Field element="remote_id" /> <Field element="type_id">3</Field> <Field element="type_name">Lead Score</Field> <Field element="description">Subscribers not in the scoring group</Field> <Field element="score_id">12235</Field> </Fields> </Record> </Grid> </Grids> </GridResponse>