Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8326833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:54:07+00:00 2026-06-09T00:54:07+00:00

I have a mobile device that is constantly recording information. The information is stored

  • 0

I have a mobile device that is constantly recording information. The information is stored on the device’s local database. Every few minutes, the device will upload the data to a server through a REST API – sometimes the uploaded data corresponds to dozens of records from the same table. Right now, the server responds with

{status: "SAVED"}

if the data is saved to the server.

In the interest of being 100% sure that the data is actually uploaded (so the device won’t attempt to upload it again), is that simple response enough? Or should I be hashing the incoming data and responding with it, or something similar? Perhaps I should send back the local row ids of the device’s table’s rows?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:54:09+00:00Added an answer on June 9, 2026 at 12:54 am

    I think it’s fine to have a very simple “SUCCESS” response if the entire request did indeed successfully save.

    However, I think that when there is a problem, your response needs to include the IDs (or some other unique identifier) of the records that failed to save so that they can be queued to be resent.

    If the same records fail multiple times, you might need to log the error or display it so that further action can be taken.

    A successful response could be something as simple as:

    <response>
        <status>1</status>
    </response>
    

    An error response could be something like:

    <response>
        <status>0</status>
        <errorRecords>
            <id>441</id>
            <id>8462</id>
            <id>12</id>
        </errorRecords>
    </response>
    

    You could get fancy and have different status codes that mean different, more specific messages.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have a code that receives relevant information for a mobile device, such
I have a Windows Mobile program that accesses an attached device through a third-party
Need to be cross-device -working for every mobile manufacturer that gives support to JavaME
I have to create an application using a Datalogic mobile device that uses Windows
I have an enterprise mobile device management system that enables the phone to connect
On a windows mobile device I have a mutliline text edit control that is
VS 2008 I have developed a device application that runs on windows mobile 5.
I have a select element which will be displayed on mobile device <form> <select
I have got this code for detection of mobile device. <?xml version=1.0 encoding=UTF-8?> <configuration>
I have a REST server and a client application running on a mobile device.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.