Log in or register to post comments

getting amount off reco's via json

September 29, 2015 - 9:08am #1

Hello i get successfully the  rating off my  uploaded image in the clouddatabase via json.

Dump => object(stdClass)#22 (4) {
  ["result_code"] => string(7) "Success"
  ["transaction_id"] => string(32) "32c8ff00538ff4817b663705771d7bd5a"
  ["target_record"] => object(stdClass)#24 (6) {
    ["target_id"] => string(32) "ed2af9020e4849b7ad1e1fcb561b6a02"
    ["active_flag"] => bool(true)
    ["name"] => string(20) "B2ZsP_20150929135251"
    ["width"] => float(640)
    ["tracking_rating"] => int(5)
    ["reco_rating"] => string(0) ""
  }
  ["status"] => string(7) "success"
}

How do i retrieve the amount  off times a target is recognized (recos)? Do i miss something?

thxx

getting amount off reco's via json

October 8, 2015 - 9:00pm #5

Total recos within context of response appears to be the sum of the current month and previous month. The Target Summary Report is for a single target. Setting active flag to false is easier than having to re-upload again later. If you delete a target that has recos > 0, those recos still count towards your reco allotment according to your cloud plan.

getting amount off reco's via json

October 1, 2015 - 1:53pm #4

its working now thanks again,, my result dump code see downstairs

few  questions :

 

total recos = total from specified target id in one month?

current month recos = same as total recos  OR  total from all targets in specified database?

I guess its better to set the flag is_active from specific targets to false when iam not using them instead off deleting them from the vuforia cloud db to keep track info for my administration and payments to my clients. Off course all data i also store on  my webserver database.

if i delete targets during the month  i suppose that total month also include recos from deleted targets? this  one maybe stupid question

 

 ["status"] => string(7) "success"
  ["upload_date"] => string(10) "2015-09-29"
  ["result_code"] => string(7) "Success"
  ["transaction_id"] => string(32) "5c25c305c6d24faba728d3cuu7fb076f"
  ["database_name"] => string(13) "DataCloud"
  ["target_name"] => string(20) "B2ZsP_20150929135259"
  ["active_flag"] => bool(true)
  ["tracking_rating"] => int(5)
  ["total_recos"] => int(3)
  ["current_month_recos"] => int(3)
  ["previous_month_recos"] => int(0)

getting amount off reco's via json

October 1, 2015 - 11:09am #3

thank you, yes   this  i was searching

getting amount off reco's via json

September 30, 2015 - 6:08pm #2

Try running the following query:

https://developer.vuforia.com/library/articles/Solution/How-To-Retrieve-a-Target-Summary-Report-using-the-VWS-API

There's some additional return data not mentioned in the docs:

"total_recos":0,
"current_month_recos":0,
"previous_month_recos":0,

 

Log in or register to post comments