Skip to content
Console(opens in a new tab)

ColumnMapping

Fields of ColumnMapping and how to reach it.

Selection. This type is a selection. An intent returns it, and you choose which of its fields come back.

The schema carries no description for this type.

No connection leads here from a primary entity.

Field Type Description
columnName String! The name of a column in the input file.
searchField ListSearchField! The search field that the values of the column supply, such as NAME, WEBSITE, or ADDRESS_CITY. One of NAME, PERSON_FIRST_NAME, PERSON_LAST_NAME, WEBSITE, ADDRESS_STREET1, ADDRESS_STREET2, ADDRESS_CITY, ADDRESS_STATE, ADDRESS_POSTAL_CODE, BRAND_ID, OPERATING_LOCATION_ID, LEGAL_ENTITY_ID, PHONE_NUMBER.
groupIndex ListSearchField! The zero-based position, in columnMappings, of the mapping group that this column belongs to. The columns of one group describe one identity for each input row. A list created with columnMapping puts every column in group 0. One of NAME, PERSON_FIRST_NAME, PERSON_LAST_NAME, WEBSITE, ADDRESS_STREET1, ADDRESS_STREET2, ADDRESS_CITY, ADDRESS_STATE, ADDRESS_POSTAL_CODE, BRAND_ID, OPERATING_LOCATION_ID, LEGAL_ENTITY_ID, PHONE_NUMBER.
query {
lists {
edges { node {
columnMapping {
columnName
searchField
groupIndex
}
} }
}
}

Response, as returned:

{
"data": {
"lists": {
"edges": [
{
"node": {
"columnMapping": null
}
},
{
"node": {
"columnMapping": null
}
},
{
"node": {
"columnMapping": null
}
},
{
"node": {
"columnMapping": null
}
},
{
"node": {
"columnMapping": null
}
},
{
"node": {
"columnMapping": null
}
},
{
"node": {
"columnMapping": null
}
},
{
…
}