When I fetch Contact data from the Salesforce using REST API I am getting total 25 Contacts and when I check on Salesforce UI there is around 7 contact is there.
What is the reason behind this and How can I see All Cotact there ?
I know there is a filter to see i.e. Recent Contact etc.. but currently there is not All Contact filter on dropdown as well.
Below is json returned by CURL:
{
"totalSize" : 25,
"done" : true,
"records" : [ {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAlAAI"
},
"Name" : "Rose Gonzalez"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAmAAI"
},
"Name" : "Sean Forbes"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAnAAI"
},
"Name" : "Jack Rogers"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAoAAI"
},
"Name" : "Pat Stumuller"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rApAAI"
},
"Name" : "Andy Young"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAqAAI"
},
"Name" : "Tim Barr"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rArAAI"
},
"Name" : "John Bond"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAsAAI"
},
"Name" : "Stella Pavlova"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAtAAI"
},
"Name" : "Lauren Boyle"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAuAAI"
},
"Name" : "Babara Levy"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAzAAI"
},
"Name" : "Tom Ripley"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rB0AAI"
},
"Name" : "Liz D'Cruz"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rB1AAI"
},
"Name" : "Edna Frank"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rB2AAI"
},
"Name" : "Avi Green"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rB3AAI"
},
"Name" : "Siddartha Nedaerk"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rB4AAI"
},
"Name" : "Jake Llorrac"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAvAAI"
},
"Name" : "Josh Davis"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAwAAI"
},
"Name" : "Jane Grey"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAxAAI"
},
"Name" : "Arthur Song"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002j1rAyAAI"
},
"Name" : "Ashley James"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002kKb48AAC"
},
"Name" : "Sagar Virpara"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002jEXjJAAW"
},
"Name" : "Danny Patel"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002kHLIzAAO"
},
"Name" : "First Name Test Last Name Test"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002l92D9AAI"
},
"Name" : "Sandra Eberhard"
}, {
"attributes" : {
"type" : "Contact",
"url" : "/services/data/v41.0/sobjects/Contact/0032v00002l8aAZAAY"
},
"Name" : "Brenda Mcclure"
} ]
}
It is saying total size is 25.
Below is screenshot from of the UI.