FOO_tsz fields of type float not returned as JSON strings

16 views
Skip to first unread message

MON KEY

unread,
Jul 28, 2012, 3:56:30 PM7/28/12
to etsy-...@googlegroups.com
Their are 14 creation_tsz fields for as many representations.
12 of these fields are documented as of type "float"
 2 of these fields are documented as of type "int"

The creation_tsz field of Treasury and TreasuryListing are documented as of type "int".

The creation_tsz of the following 12 representations are each documented as of type "float":
 Avatar BillCharge BillPayment
 FavoriteListing FavoriteUser Feedback Listing
 Order Receipt Shop Transaction User

Additionally, there are 9 other fields with names suffixed by "_tsz" which are also documented as of type "float":
Each of these fields is listed along with their associated representation(s) as follows:

 ending_tsz            Listing
 join_tsz              UserProfile
 last_modified_tsz     Listing, BillCharge, Receipt
 last_updated_tsz      Shop
 original_creation_tsz Listing
 paid_tsz              Transaction
 policy_updated_tsz    Shop
 shipped_tsz           Transaction
 state_tsz             Listing

The documentation for float (as parameter type) says:

 float     A number with or without a decimal point. Represented in output as a string, to avoid precision errors.

http://www.etsy.com/developers/documentation/getting_started/api_basics#section_parameter_types

However, it appears that the respective JSON returned by request methods of the above representations do not return float values as strings.

For each of the above FOO_tsz fields please clarify the following:

 - Whether they are of type float;
 - If they are of type float, whether they are indeed output as "a string, to avoid precision errors.";
 - If they are not of type float what their type is and how that type is output in JSON responses;

Also, if their are portions of the Etsy API documentation which are not in accord with the clarifications provided please endeavor to update these accordingly.

Jake Chapa

unread,
Jul 28, 2012, 4:59:39 PM7/28/12
to etsy-...@googlegroups.com
Who let MON KEY out of his cage? He's wreaking havoc on the docs!!!

--
You received this message because you are subscribed to the Google Groups "Etsy API V2" group.
To view this discussion on the web visit https://groups.google.com/d/msg/etsy-api-v2/-/wS2otzIF0FgJ.
To post to this group, send email to etsy-...@googlegroups.com.
To unsubscribe from this group, send email to etsy-api-v2...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/etsy-api-v2?hl=en.

Reply all
Reply to author
Forward
0 new messages