[#2016] add new example code for API plugins which include newly created in and out Packing Instructions