OneNote List Pages API issue

%3CLINGO-SUB%20id%3D%22lingo-sub-2702089%22%20slang%3D%22en-US%22%3EOneNote%20List%20Pages%20API%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2702089%22%20slang%3D%22en-US%22%3E%3CP%3EOneNote%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3EList%20Pages%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EAPI%20is%20sending%20different%20data%20in%20response%20depending%20on%20the%20location%20of%20client%20server.%20For%20example%20I%20am%20getting%20different%20response%20items%20while%20hitting%20request%20from%20US%20based%20server%20vs%20hitting%20same%20request%20from%20India%20based%20server.%3C%2FP%3E%3CP%3E%3CSTRONG%3EMore%20details%20about%20request%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3EUS%20server%20request%20details%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3EGET%20%2Fv1.0%2Fme%2Fonenote%2Fpages%3F%24top%3D5%26amp%3B%24select%3Did%2Ctitle%2CcreatedDateTime%2ClastModifiedDateTime%2Clinks%2CparentNotebook%2CparentSection%26amp%3B%24expand%3DparentNotebook%2CparentSection%26amp%3B%24sort%3DcreatedDateTime%2520desc%20HTTP%2F1.1%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3Erequest-id%3A%2063d1f853-034c-4944-b4ad-d77b2b628efa%3CBR%20%2F%3Eclient-request-id%3A%2063d1f853-034c-4944-b4ad-d77b2b628efa%3CBR%20%2F%3Ex-ms-ags-diagnostic%3A%20%7B%22ServerInfo%22%3A%7B%22DataCenter%22%3A%22South%20Central%20US%22%2C%22Slice%22%3A%22E%22%2C%22Ring%22%3A%223%22%2C%22ScaleUnit%22%3A%22003%22%2C%22RoleInstance%22%3A%22SN1PEPF0000649A%22%7D%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CUL%3E%3CLI%3EIndia%20server%20request%20details%3A%3C%2FLI%3E%3C%2FUL%3E%3CP%3EGET%20%2Fv1.0%2Fme%2Fonenote%2Fpages%3F%24top%3D5%26amp%3B%24select%3Did%2Ctitle%2CcreatedDateTime%2ClastModifiedDateTime%2Clinks%2CparentNotebook%2CparentSection%26amp%3B%24expand%3DparentNotebook%2CparentSection%26amp%3B%24sort%3DcreatedDateTime%2520desc%20HTTP%2F1.1%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3Erequest-id%3A%20d334f14b-5df6-4c30-8fa9-a022fc8c9b66%3CBR%20%2F%3Eclient-request-id%3A%20d334f14b-5df6-4c30-8fa9-a022fc8c9b66%3CBR%20%2F%3Ex-ms-ags-diagnostic%3A%20%7B%22ServerInfo%22%3A%7B%22DataCenter%22%3A%22South%20India%22%2C%22Slice%22%3A%22E%22%2C%22Ring%22%3A%222%22%2C%22ScaleUnit%22%3A%22002%22%2C%22RoleInstance%22%3A%22MA1PEPF00001CD7%22%7D%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2702089%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneNote%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

OneNote List Pages API is sending different data in response depending on the location of client server. For example I am getting different response items while hitting request from US based server vs hitting same request from India based server.

More details about request:

  • US server request details:

GET /v1.0/me/onenote/pages?$top=5&$select=id,title,createdDateTime,lastModifiedDateTime,links,parentNotebook,parentSection&$expand=parentNotebook,parentSection&$sort=createdDateTime%20desc HTTP/1.1

request-id: 63d1f853-034c-4944-b4ad-d77b2b628efa
client-request-id: 63d1f853-034c-4944-b4ad-d77b2b628efa
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"South Central US","Slice":"E","Ring":"3","ScaleUnit":"003","RoleInstance":"SN1PEPF0000649A"}

  • India server request details:

GET /v1.0/me/onenote/pages?$top=5&$select=id,title,createdDateTime,lastModifiedDateTime,links,parentNotebook,parentSection&$expand=parentNotebook,parentSection&$sort=createdDateTime%20desc HTTP/1.1

request-id: d334f14b-5df6-4c30-8fa9-a022fc8c9b66
client-request-id: d334f14b-5df6-4c30-8fa9-a022fc8c9b66
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"South India","Slice":"E","Ring":"2","ScaleUnit":"002","RoleInstance":"MA1PEPF00001CD7"}}

 

0 Replies