admin管理员组

文章数量:1320661

There is a data mismatch in the API response for the API "anizationPageStatistics" when using two different versions (202401 and 202411). Previously, I was receiving the equivalent valid data in the 202411 version as well intermittently. Now, only the empty data is returned for 'pageStatisticsByGeoCountry' and 'pageStatisticsByGeo'. I have not added any time-based parameters in both versions of the APIs. I have attached the screenshots for reference.

202411 Version

202401 Version

I tried the latest version (202411) API of "anizationPageStatistics."The data received for 'pageStatisticsByCountry' and 'pageStatisticsByRegion' is incorrect, or I did not receive any data at all. Similarly, in the old version (202401) API of "anizationPageStatistics," I am receiving the correct data for 'pageStatisticsByCountry' and 'pageStatisticsByRegion,' which are equivalent data of 'pageStatisticsByCountry' and 'pageStatisticsByRegion' present in the latest version. I was expecting the same value in the latest version of the API as well. Why is it different in the newer version?

Am I missing something or is this an issue?

202411 Version

{
    "paging": {
        "start": 0,
        "count": 10,
        "links": []
    },
    "elements": [
        {
            "pageStatisticsByIndustryV2": [],
            "pageStatisticsBySeniority": [],
            "anization": "urn:li:anization:53510080",
            "pageStatisticsByGeoCountry": [],
            "pageStatisticsByTargetedContent": [],
            "totalPageStatistics": {
                "views": {
                    ** Masked **
                }
            },
            "pageStatisticsByStaffCountRange": [],
            "pageStatisticsByFunction": [],
            "pageStatisticsByGeo": []
        }
    ]
}

2020401 Version

{
    "paging": {
        "start": 0,
        "count": 10,
        "links": []
    },
    "elements": [
        {
            "pageStatisticsBySeniority": [],
            "pageStatisticsByCountry": [
                {
                    "country": "urn:li:country:br",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                },
                {
                    "country": "urn:li:country:mx",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                },
                {
                    "country": "urn:li:country:ru",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                },
                {
                    "country": "urn:li:country:us",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                }
            ],
            "pageStatisticsByIndustry": [
                {
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    },
                    "industry": "urn:li:industry:27"
                },
                {
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    },
                    "industry": "urn:li:industry:92"
                },
                {
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    },
                    "industry": "urn:li:industry:96"
                }
            ],
            "anization": "urn:li:anization:53510080",
            "pageStatisticsByTargetedContent": [],
            "totalPageStatistics": {
                "views": {
                    ** Masked **
                }
            },
            "pageStatisticsByStaffCountRange": [],
            "pageStatisticsByFunction": [],
            "pageStatisticsByRegion": [
                {
                    "region": "urn:li:region:436",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                },
                {
                    "region": "urn:li:region:5947",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                },
                {
                    "region": "urn:li:region:6034",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                },
                {
                    "region": "urn:li:region:7463",
                    "pageStatistics": {
                        "views": {
                            ** Masked **
                        }
                    }
                }
            ]
        }
    ]
}

本文标签: Data mismatch in different versions of 39organizationPageStatistics39 LinkedIn POST APIStack Overflow