Closed shekhargulati closed 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:
{
"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:
{
"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:
[
{
"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:
{
"id": 1,
"marketplaceName": "ebay",
"marketplaceShortName": "ebay",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/marketplaces/1
Request params:
{
"id": 1,
"marketplaceName": "ebay",
"marketplaceShortName": "ebay",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/marketplaces/12345
Request params:
[
{
"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:
{
"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:
{ "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:
{
"id": 1,
"paymentMethod": "AM_EX",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations/12345
Request params:
[
{
"id": 1,
"paymentMethod": "AM_EX",
"version": 0
}
]
Request method: PUT
Request path: http://localhost:8080/libereco/liberecolisting/paymentinformations
Request params:
{
"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:
{ "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:
{
"id": 1,
"shippingCost": 2.5,
"shippingService": "USPSMedia",
"shippingType": "FLAT",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations
Request params:
[
{
"id": 1,
"shippingCost": 2.5,
"shippingService": "USPSMedia",
"shippingType": "FLAT",
"version": 0
}
]
Request method: PUT
Request path: http://localhost:8080/libereco/liberecolisting/shippinginformations
Request params:
{
"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:
{
"id": 6,
"marketplaceName": "ebay",
"marketplaceShortName": "ebay",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/marketplaces/ebay/authorize
Request params:
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:
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:
{
"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:
{
"id": 7,
"marketplaceName": "ebay",
"marketplaceShortName": "ebay",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/marketplaces/ebay/authorize
Request params:
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:
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:
{
"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:
{
"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:
[
{
"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:
{
"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:
{
"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:
{
"id": 8,
"marketplaceName": "ebay",
"marketplaceShortName": "ebay",
"version": 0
}
Request method: GET
Request path: http://localhost:8080/libereco/marketplaces/ebay/authorize
Request params:
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:
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:
{ "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:
{
"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:
[
{
"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:
{
"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:
Hi Shekhar,
Is it possible that you can expose these endpoints on our cloudfoundry server? Would that make sense?
Thanks, Peter D
Done that. Can you try and report any issues?
Provide list of REST JSON Endpoints that Peter D. can test.