What?
This is an article to document how I got a client's eBay to notify the seller every time a buyer bought a fixed price item. This uses the Trading API even though I'm aiming for the Platform Notifications ...
... + v_CreatorTime.toString("Z").subString(3);
info v_CrmTime;
// yields 2021-09-10T12:49:31-07:00
and vice-versa
CRM to Creator
Depends on the format of the datetime in your Creator field but standard ...
... v_FormattedString;
// yields: 00011,Joel Lipman,"Flat 8|mySpecialComma| House Corner",Brummieland
// split into a list (string delimited by commas)
l_StringParts = v_FormattedString.toList();
// ...
... = l_Data.toString();
info v_Data;
// yields
// ,
Some formatting and a lot of replaceAll:
l_Keys = List();
l_Keys = v_Data.toMap().keys();
v_DataHtml = v_Data.replaceAll("},{", true);
v_DataHtml ...
... yields:
// a,b,c,d,e
// a,c,e
// compared to:
for each v_FieldName in l_FieldApiNames
{
if(!l_ExcludeFields.contains(v_FieldName))
{
... do stuff here ...
}
}
// notes:
// no need ...
... r_Response;
// yields: }
info r_Response.get("item");
// yields: "item_id": "2124100000000081031", ....
info r_Response.get("item").get("item_id");
// yields: Value is empty and 'get' function cannot ...
... v_ExpiryTime.toTime();
// yields
// 25-Mar-2020 20:41:07
// 25-Mar-2020 00:00:00
Example of splitting date-time value and then comparing:
v_CustomTime = "2020-03-25 20:41:07".toTime().toString("yyyy-MM-dd ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.