dushkindigital / marketmap

New, clean repo for Shekhar
2 stars 0 forks source link

Document REST JSON End Points #36

Closed shekhargulati closed 12 years ago

shekhargulati commented 12 years ago

Provide list of REST JSON Endpoints that Peter D. can test.

shekhargulati commented 12 years ago

All the rest service request and responses are listed below.

Request method: POST Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:03:30 IST 2012" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150414587, "id": 1, "lastUpdated": 1342150410000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/liberecousers/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150414000, "id": 1, "lastUpdated": 1342150410000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/liberecousers/12345 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json; charset=utf-8 Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/liberecousers/jsonArray Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: [ { "username": "test_user_008", "password": "password", "status": "ACTIVE" }, { "username": "test_user_009", "password": "password", "status": "ACTIVE" } ] HTTP/1.1 201 Created Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: GET Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=399 Server=Jetty(6.1.16)

[ { "created": 1342150414000, "id": 1, "lastUpdated": 1342150410000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 }, { "created": 1342150415000, "id": 2, "lastUpdated": null, "password": "password", "status": "ACTIVE", "username": "test_user_008", "version": 0 }, { "created": 1342150415000, "id": 3, "lastUpdated": null, "password": "password", "status": "ACTIVE", "username": "test_user_009", "version": 0 } ] Request method: PUT Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "id": "1", "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:03:36 IST 2012", "version": "0" } HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "marketplaceName": "ebay", "marketplaceShortName": "ebay" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=75 Server=Jetty(6.1.16)

{ "id": 1, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/marketplaces/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=75 Server=Jetty(6.1.16)

{ "id": 1, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/marketplaces/12345 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json; charset=utf-8 Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/marketplaces/jsonArray Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: [ { "marketplaceName": "test_marketplace_1", "marketplaceShortName": "test_marketplace_shortname_1" }, { "marketplaceName": "test_marketplace_2", "marketplaceShortName": "test_marketplace_shortname_2" } ] HTTP/1.1 201 Created Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: GET Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=305 Server=Jetty(6.1.16)

[ { "id": 1, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 }, { "id": 2, "marketplaceName": "test_marketplace_1", "marketplaceShortName": "test_marketplace_shortname_1", "version": 0 }, { "id": 3, "marketplaceName": "test_marketplace_2", "marketplaceShortName": "test_marketplace_shortname_2", "version": 0 } ] Request method: PUT Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "id": "1", "marketplaceName": "test_marketplace", "marketplaceShortName": "test_marketplace_shortname", "version": "0" } HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:03:36 IST 2012" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150416755, "id": 4, "lastUpdated": 1342150416000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: POST Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "marketplaceName": "ebay", "marketplaceShortName": "ebay" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=75 Server=Jetty(6.1.16)

{ "id": 4, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } HTTP/1.1 201 Created Content-Type=application/json Content-Length=44 Server=Jetty(6.1.16)

{ "id": 1, "paymentMethod": "AM_EX", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=44 Server=Jetty(6.1.16)

{ "id": 1, "paymentMethod": "AM_EX", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations/12345 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json; charset=utf-8 Content-Length=0 Server=Jetty(6.1.16) Request method: GET Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=46 Server=Jetty(6.1.16)

[ { "id": 1, "paymentMethod": "AM_EX", "version": 0 } ] Request method: PUT Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "id": "1", "paymentMethod": "AM_EX", "version": "0" } HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/4 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/4 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/4 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/4 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:03:37 IST 2012" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150417421, "id": 5, "lastUpdated": 1342150417000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: POST Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "marketplaceName": "ebay", "marketplaceShortName": "ebay" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=75 Server=Jetty(6.1.16)

{ "id": 5, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } HTTP/1.1 201 Created Content-Type=application/json Content-Length=91 Server=Jetty(6.1.16)

{ "id": 1, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=91 Server=Jetty(6.1.16)

{ "id": 1, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=93 Server=Jetty(6.1.16)

[ { "id": 1, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } ] Request method: PUT Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "id": "1", "shippingType": "CALCULATED", "shippingService": "USPSMedia", "shippingCost": "2.50", "version": "0" } HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/5 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/5 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/5 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/5 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:03:37 IST 2012" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150417982, "id": 6, "lastUpdated": 1342150417000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: POST Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "marketplaceName": "ebay", "marketplaceShortName": "ebay" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=75 Server=Jetty(6.1.16)

{ "id": 6, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/marketplaces/ebay/authorize Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: JSESSIONID=1o0jksffobwlw Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=145 Server=Jetty(6.1.16)

https://signin.sandbox.ebay.com/ws/eBayISAPI.dll?SignIn&RuName=Freelancer-Freelanc-61fa-4-utwirrh&SessID=5dEBAA**7e6641331380a471d2172667ffffffbd 2012-07-13 09:03:53,815 [main] ERROR com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine - runtimeError: message=[ActiveXObject Error: no value for ShockwaveFlash.ShockwaveFlash.] sourceName=[https://secureir.sandbox.ebaystatic.com/v4js/z/eu/341wgvdjgy2abb1qzf3cxflzf.js] line=[26] lineSource=[null] lineOffset=[0] 2012-07-13 09:03:56,841 [main] ERROR com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine - runtimeError: message=[ActiveXObject Error: no value for eBayToolbarCommLib.IWebEvent.1.] sourceName=[https://secureir.sandbox.ebaystatic.com/v4js/z/m4/1qqc345kge1utev0egp1or2oh.js] line=[170] lineSource=[null] lineOffset=[0] Ready to use Libereco? Great! We need your consent to share your eBay data. Don't worry, we won't share your eBay password. You can change this any time by editing your account preferences- opens in a new window or tab . Please take the time to read Libereco's terms of service and privacy policy- opens in a new window or tab , because these policies will apply when you use this service. Remember, we don't manage policies set by other companies. By clicking on the "I agree" button, you're allowing us to link your eBay account with Libereco. I agree I agree I agree No thanks, take me to the Application's website or eBay homepage Request method: GET Request path: http://localhost:8080/libereco/marketplaces/ebay/fetchToken Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: JSESSIONID=zw32ino7txyw Body: HTTP/1.1 201 Created Content-Type=application/json; charset=utf-8 Content-Length=872 Server=Jetty(6.1.16)

AgAAAAAQAAAAaAAAAAJpf/TwnY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6wFk4GhCJiKpQ6dj6x9nY+seQ5dEBAAAAMAAA**K3YLHsnW2N67j6uI2leG4Ear6Z67/0ktEDFc439VTfKE/nB8uzBEBD9H7pwexITBtFgSp5InGJyYnCIx1S+KblwvVD+qrvU5pEFviGlKhf1EwaGy3ha2X1GB+bmBELGbN9h3PdeS5JRZqVgAsRM8KM4mjTy0ojYJ6F0uSz7v8lPAmo5PXkKB72PNWBqPJDNfklf8zc3isSsOFvqYDlFY7iZ36W01wR2AVf0AXmWyM3aphtAVfMSGHzXayPqw3djEq96upt8P6mRrcu8Gj1JKTyHwg1gT6wJs6X/Hu4R4506wvlDZ1ijB0Hi7NxBDh4VdmhRDe6G2GFJjkisHcwkbpKR0dFhZxTOwL3JtG+CQ5IB/tc8g0Ns37FAYj1K5Zjtlwya9wVYhiTPJTa9LmzhsSO0zvwr6zpVm/H5ULGSdVbxx0R2bNV2nGj2zOxIMotvwcwvXyXMfXxG1ouIIXnSIMHIFopE8GXsghj12njvg+evLXXYCB95GlMQHBxsjDkJsHljixaZZbQPDSKt77NxonpUACTNZN/CqDDzF1Dig+Iy61r3SD+3p//wXCF8u2yXMZ64XIYhMsxL2EHUyPmfJh/dvwxOZOSaIg3srm4SewhhQmK6wMSYhZX3g12xQf1JajBJot3eTKbbnPTwO67LlcaLzwl6mhLyIPpE7d2hiKOjixJKX2U2Y5HWyEfG9UU0i+ABiwQAFyqbqQI9PHHofkDBUyE/bvBH0CBOixeyqFmyflKEgANPLFLCOFt6f+PnT Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/6 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/6 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/6 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/6 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:04:10 IST 2012" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150450916, "id": 7, "lastUpdated": 1342150450000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: POST Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "marketplaceName": "ebay", "marketplaceShortName": "ebay" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=75 Server=Jetty(6.1.16)

{ "id": 7, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/marketplaces/ebay/authorize Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: JSESSIONID=1qqswssmkbhkq Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=145 Server=Jetty(6.1.16)

https://signin.sandbox.ebay.com/ws/eBayISAPI.dll?SignIn&RuName=Freelancer-Freelanc-61fa-4-utwirrh&SessID=5dEBAA**7e669e471380a471d2253365ffffff2c 2012-07-13 09:04:14,835 [main] ERROR com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine - runtimeError: message=[ActiveXObject Error: no value for ShockwaveFlash.ShockwaveFlash.] sourceName=[https://secureir.sandbox.ebaystatic.com/v4js/z/eu/341wgvdjgy2abb1qzf3cxflzf.js] line=[26] lineSource=[null] lineOffset=[0] 2012-07-13 09:04:16,002 [main] ERROR com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine - runtimeError: message=[ActiveXObject Error: no value for eBayToolbarCommLib.IWebEvent.1.] sourceName=[https://secureir.sandbox.ebaystatic.com/v4js/z/m4/1qqc345kge1utev0egp1or2oh.js] line=[170] lineSource=[null] lineOffset=[0] Ready to use Libereco? Great! We need your consent to share your eBay data. Don't worry, we won't share your eBay password. You can change this any time by editing your account preferences- opens in a new window or tab . Please take the time to read Libereco's terms of service and privacy policy- opens in a new window or tab , because these policies will apply when you use this service. Remember, we don't manage policies set by other companies. By clicking on the "I agree" button, you're allowing us to link your eBay account with Libereco. I agree I agree I agree No thanks, take me to the Application's website or eBay homepage Request method: GET Request path: http://localhost:8080/libereco/marketplaces/ebay/fetchToken Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: JSESSIONID=d38azd4ln3sr Body: HTTP/1.1 201 Created Content-Type=application/json; charset=utf-8 Content-Length=872 Server=Jetty(6.1.16)

AgAAAAAQAAAAaAAAAAOZf/TwnY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6wFk4GhCJiKpQ6dj6x9nY+seQ5dEBAAAAMAAA**K3YLHsnW2N67j6uI2leG4Ear6Z67/0ktEDFc439VTfKE/nB8uzBEBD9H7pwexITBtFgSp5InGJyYnCIx1S+KblwvVD+qrvU5pEFviGlKhf1EwaGy3ha2X1GB+bmBELGbN9h3PdeS5JRZqVgAsRM8KM4mjTy0ojYJ6F0uSz7v8lPAmo5PXkKB72PNWBqPJDNfklf8zc3isSsOFvqYDlFY7iZ36W01wR2AVf0AXmWyM3aphtAVfMSGHzXayPqw3djEq96upt8P6mRrcu8Gj1JKTyHwg1gT6wJs6X/Hu4R4506wvlDZ1ijB0Hi7NxBDh4VdmhRDe6G2GFJjkisHcwkbpKR0dFhZxTOwL3JtG+CQ5IB/tc8g0Ns37FAYj1K5Zjtlwya9wVYhiTPJTa9LmzhsSO0zvwr6zpVm/H5ULGSdVbxx0R2bNV2nGj2zOxIMotvwcwvXyXMfXxG1ouIIXnSIMHIFopE8GXsghj12njvg+evLXXYCB95GlMQHBxsjDkJsHljixaZZbQPDSKt77NxonpUACTNZN/CqDDzF1Dig+Iy61r3SD+3p//wXCF8u2yXMZ64XIYhMsxL2EHUyPmfJh/dvwxOZOSaIg3srm4SewhhQmK6wMSYhZX3g12xQf1JajBJot3eTKbbnPTwO67LlcaLzwl6mhLyIPpE7d2hiKOjixJKX2U2Y5HWyEfG9UU0i+ABiwQAFyqbqQI9PHHofkDBUyE/bvBH0CBOixeyqFmyflKEgANPLFLCOFt6f+PnT UserId ****** 7 Request method: POST Request path: http://localhost:8080/libereco/liberecolistings Request params: Query params: Form params: Path params: Headers: Content-Type=/ Cookies: Body: HTTP/1.1 201 Created Content-Type=application/json Content-Length=607 Server=Jetty(6.1.16)

{ "category": "CAT_ELECTRONICS", "description": "test listing", "id": 1, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "liberecoPaymentInformations": [ { "id": 2, "paymentMethod": "AMEX", "version": 0 } ], "listingCondition": "NEW", "listingState": "NEW", "name": "Test Listing 95958b6a-cd9d-4d08-a505-e7737638b3f0", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/1/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "shippingInformations": [ { "id": 2, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } ], "userId": 7, "version": 1 } Request method: GET Request path: http://localhost:8080/libereco/liberecolistings/1/image/samsung-galaxy.jpg Request params: Query params: Form params: Path params: Headers: Content-Type=/_ Cookies: Body: Request method: GET Request path: http://localhost:8080/libereco/liberecolistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=607 Server=Jetty(6.1.16)

{ "category": "CAT_ELECTRONICS", "description": "test listing", "id": 1, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "liberecoPaymentInformations": [ { "id": 2, "paymentMethod": "AM_EX", "version": 0 } ], "listingCondition": "NEW", "listingState": "NEW", "name": "Test Listing 95958b6a-cd9d-4d08-a505-e7737638b3f0", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/1/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "shippingInformations": [ { "id": 2, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } ], "userId": 7, "version": 1 } Request method: GET Request path: http://localhost:8080/libereco/liberecolistings Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=415 Server=Jetty(6.1.16)

[ { "category": "CATELECTRONICS", "description": "test listing", "id": 1, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "listingCondition": "NEW", "listingState": "NEW", "name": "Test Listing 95958b6a-cd9d-4d08-a505-e7737638b3f0", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/1/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "userId": 7, "version": 1 } ] Request method: POST Request path: http://localhost:8080/libereco/liberecolistings/update Request params: Query params: Form params: Path params: Headers: Content-Type=/_ Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: GET Request path: http://localhost:8080/libereco/liberecolistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=627 Server=Jetty(6.1.16)

{ "category": "CAT_ELECTRONICS", "description": "Samsung Galaxy S3 Listing", "id": 1, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "liberecoPaymentInformations": [ { "id": 2, "paymentMethod": "AM_EX", "version": 0 } ], "listingCondition": "NEW", "listingState": null, "name": "Test Listing 95958b6a-cd9d-4d08-a505-e7737638b3f0", "pictureName": "samsung-galaxy-s3.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/1/image/samsung-galaxy-s3.jpg", "price": 1000.0, "quantity": 10, "shippingInformations": [ { "id": 2, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } ], "userId": 7, "version": 3 } Request method: DELETE Request path: http://localhost:8080/libereco/liberecolistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecolistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/7 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/7 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/7 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/7 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: POST Request path: http://localhost:8080/libereco/liberecousers Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "username": "test_user", "password": "password", "status": "ACTIVE", "lastUpdated": "Fri Jul 13 09:04:31 IST 2012" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=135 Server=Jetty(6.1.16)

{ "created": 1342150471517, "id": 8, "lastUpdated": 1342150471000, "password": "password", "status": "ACTIVE", "username": "test_user", "version": 0 } Request method: POST Request path: http://localhost:8080/libereco/marketplaces Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "marketplaceName": "ebay", "marketplaceShortName": "ebay" } HTTP/1.1 201 Created Content-Type=application/json Content-Length=75 Server=Jetty(6.1.16)

{ "id": 8, "marketplaceName": "ebay", "marketplaceShortName": "ebay", "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/marketplaces/ebay/authorize Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: JSESSIONID=92uozwy87ng0 Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=145 Server=Jetty(6.1.16)

https://signin.sandbox.ebay.com/ws/eBayISAPI.dll?SignIn&RuName=Freelancer-Freelanc-61fa-4-utwirrh&SessID=5dEBAA**7e66eebe1380a471d232a7d2ffffff24 2012-07-13 09:04:35,070 [main] ERROR com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine - runtimeError: message=[ActiveXObject Error: no value for ShockwaveFlash.ShockwaveFlash.] sourceName=[https://secureir.sandbox.ebaystatic.com/v4js/z/eu/341wgvdjgy2abb1qzf3cxflzf.js] line=[26] lineSource=[null] lineOffset=[0] 2012-07-13 09:04:36,858 [main] ERROR com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine - runtimeError: message=[ActiveXObject Error: no value for eBayToolbarCommLib.IWebEvent.1.] sourceName=[https://secureir.sandbox.ebaystatic.com/v4js/z/m4/1qqc345kge1utev0egp1or2oh.js] line=[170] lineSource=[null] lineOffset=[0] Ready to use Libereco? Great! We need your consent to share your eBay data. Don't worry, we won't share your eBay password. You can change this any time by editing your account preferences- opens in a new window or tab . Please take the time to read Libereco's terms of service and privacy policy- opens in a new window or tab , because these policies will apply when you use this service. Remember, we don't manage policies set by other companies. By clicking on the "I agree" button, you're allowing us to link your eBay account with Libereco. I agree I agree I agree No thanks, take me to the Application's website or eBay homepage Request method: GET Request path: http://localhost:8080/libereco/marketplaces/ebay/fetchToken Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: JSESSIONID=1wzo88puvup7e Body: HTTP/1.1 201 Created Content-Type=application/json; charset=utf-8 Content-Length=872 Server=Jetty(6.1.16)

AgAAAAAQAAAAaAAAAATpf/TwnY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6wFk4GhCJiKpQ6dj6x9nY+seQ5dEBAAAAMAAAK3YLHsnW2N67j6uI2leG4Ear6Z67/0ktEDFc439VTfKE/nB8uzBEBD9H7pwexITBtFgSp5InGJyYnCIx1S+KblwvVD+qrvU5pEFviGlKhf1EwaGy3ha2X1GB+bmBELGbN9h3PdeS5JRZqVgAsRM8KM4mjTy0ojYJ6F0uSz7v8lPAmo5PXkKB72PNWBqPJDNfklf8zc3isSsOFvqYDlFY7iZ36W01wR2AVf0AXmWyM3aphtAVfMSGHzXayPqw3djEq96upt8P6mRrcu8Gj1JKTyHwg1gT6wJs6X/Hu4R4506wvlDZ1ijB0Hi7NxBDh4VdmhRDe6G2GFJjkisHcwkbpKR0dFhZxTOwL3JtG+CQ5IB/tc8g0Ns37FAYj1K5Zjtlwya9wVYhiTPJTa9LmzhsSO0zvwr6zpVm/H5ULGSdVbxx0R2bNV2nGj2zOxIMotvwcwvXyXMfXxG1ouIIXnSIMHIFopE8GXsghj12njvg+evLXXYCB95GlMQHBxsjDkJsHljixaZZbQPDSKt77NxonpUACTNZN/CqDDzF1Dig+Iy61r3SD+3p//wXCF8u2yXMZ64XIYhMsxL2EHUyPmfJh/dvwxOZOSaIg3srm4SewhhQmK6wMSYhZX3g12xQf1JajBJot3eTKbbnPTwO67LlcaLzwl6mhLyIPpE7d2hiKOjixJKX2U2Y5HWyEfG9UU0i+ABiwQAFyqbqQI9PHHofkDBUyE/bvBH0CBOixeyqFmyflKEgANPLFLCOFt6f+PnT Request method: POST Request path: http://localhost:8080/libereco/liberecolistings Request params: Query params: Form params: Path params: Headers: Content-Type=/ Cookies: Body: HTTP/1.1 201 Created Content-Type=application/json Content-Length=607 Server=Jetty(6.1.16)

{ "category": "CAT_ELECTRONICS", "description": "test listing", "id": 2, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "liberecoPaymentInformations": [ { "id": 3, "paymentMethod": "AM_EX", "version": 0 } ], "listingCondition": "NEW", "listingState": "NEW", "name": "Test Listing 696fe04f-4423-4c00-8339-f32bba855ee9", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/2/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "shippingInformations": [ { "id": 3, "shippingCost": 2.5, "shippingService": "USPSMedia", "shippingType": "FLAT", "version": 0 } ], "userId": 8, "version": 1 }

Item: 110100643259 HTTP/1.1 201 Created Content-Type=application/json Content-Length=707 Server=Jetty(6.1.16)

{ "dispatchTimeMax": 3, "ebayItemId": "110100643259", "ebayItemUrl": "http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110100643259", "id": 1, "liberecoListing": { "category": "CAT_ELECTRONICS", "description": "test listing", "id": 2, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "listingCondition": "NEW", "listingState": "LISTED", "name": "Test Listing 696fe04f-4423-4c00-8339-f32bba855ee9", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/2/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "userId": 8, "version": 2 }, "listingDuration": "DAYS_3", "lotSize": 1, "paypalEmail": "test@gmail.com", "returnPolicy": "NO_RETURN", "startPrice": 100.0, "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/ebaylistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=707 Server=Jetty(6.1.16)

{ "dispatchTimeMax": 3, "ebayItemId": "110100643259", "ebayItemUrl": "http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110100643259", "id": 1, "liberecoListing": { "category": "CAT_ELECTRONICS", "description": "test listing", "id": 2, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "listingCondition": "NEW", "listingState": "LISTED", "name": "Test Listing 696fe04f-4423-4c00-8339-f32bba855ee9", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/2/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "userId": 8, "version": 2 }, "listingDuration": "DAYS_3", "lotSize": 1, "paypalEmail": "test@gmail.com", "returnPolicy": "NO_RETURN", "startPrice": 100.0, "version": 0 } Request method: GET Request path: http://localhost:8080/libereco/ebaylistings Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=709 Server=Jetty(6.1.16)

[ { "dispatchTimeMax": 3, "ebayItemId": "110100643259", "ebayItemUrl": "http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110100643259", "id": 1, "liberecoListing": { "category": "CAT_ELECTRONICS", "description": "test listing", "id": 2, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "listingCondition": "NEW", "listingState": "LISTED", "name": "Test Listing 696fe04f-4423-4c00-8339-f32bba855ee9", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/2/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "userId": 8, "version": 2 }, "listingDuration": "DAYS_3", "lotSize": 1, "paypalEmail": "test@gmail.com", "returnPolicy": "NO_RETURN", "startPrice": 100.0, "version": 0 } ] Request method: PUT Request path: http://localhost:8080/libereco/ebaylistings Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: { "id": "1", "returnPolicy": "THIRTY_DAY_RETURN", "dispatchTimeMax": "5", "startPrice": "1000", "paypalEmail": "test_updated@gmail.com", "lotSize": "1", "listingDuration": "DAYS_7", "liberecoListing": "{"name":"Test Listing 696fe04f-4423-4c00-8339-f32bba855ee9","id":"2","version":"1"}", "version": "0" } Item: 110100643259 HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: GET Request path: http://localhost:8080/libereco/ebaylistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json; charset=utf-8 Content-Length=724 Server=Jetty(6.1.16)

{ "dispatchTimeMax": 5, "ebayItemId": "110100643259", "ebayItemUrl": "http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110100643259", "id": 1, "liberecoListing": { "category": "CAT_ELECTRONICS", "description": "test listing", "id": 2, "itemLocation": { "itemLocation": "SanJose, CA", "postalCode": "95125" }, "listingCondition": "NEW", "listingState": "LISTED", "name": "Test Listing 696fe04f-4423-4c00-8339-f32bba855ee9", "pictureName": "samsung-galaxy.jpg", "pictureUrl": "http://localhost:8080/libereco/liberecolistings/2/image/samsung-galaxy.jpg", "price": 100.0, "quantity": 1, "userId": 8, "version": 2 }, "listingDuration": "DAYS_7", "lotSize": 1, "paypalEmail": "test_updated@gmail.com", "returnPolicy": "THIRTY_DAY_RETURN", "startPrice": 1000.0, "version": 1 } Request method: DELETE Request path: http://localhost:8080/libereco/ebaylistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/ebaylistings/1 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/8 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/marketplaces/8 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/8 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 200 OK Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16) Request method: DELETE Request path: http://localhost:8080/libereco/liberecousers/8 Request params: Query params: Form params: Path params: Headers: Content-Type=application/json Accept=application/json Cookies: Body: HTTP/1.1 404 Not Found Content-Type=application/json Content-Length=0 Server=Jetty(6.1.16)

pdushkin commented 12 years ago

Hi Shekhar,

Is it possible that you can expose these endpoints on our cloudfoundry server? Would that make sense?

Thanks, Peter D

shekhargulati commented 12 years ago

Done that. Can you try and report any issues?