api responses

api responses

Hey guys,

A simple question from old Mr. Bean :-)

Can you explain why the api returns limited information with these 2 different calls?
I'm just wondering why we have to make 2 calls to get the required info when most of us use numbers we understand rather than Zoho ID numbers which I understand are very important ? ....

ZohoUrl = ' https://books.zoho.com/api/v3/salesorders/' + ZohoID + '?authtoken=' + token;

ZohoUrl = ' https://books.zoho.com/api/v3/salesorders?salesorder_number=' + So_Number + '&authtoken=' + token + ''

The first takes 0.6 seconds & provides ALL info
The second takes  0.4 seconds & provide limited info

so there's not much overhead & would cut down the api calls by 50% ?