I need to GET data from one app and POST to another (API)
- or -
Post a project like this3032
$300
- Posted:
- Proposals: 11
- Remote
- #998539
- Awarded
AWS Developer, AWS Serverless Lambda Development, AWS AppSync , Amplify, Python, NodeJS, DynamoDB, AWS DevOps
Ahmedabad
16853675902845585571484036556980368828327610060451133544670097602244
Description
Experience Level: Entry
General information for the business: We sell various things online
Description of requirements/functionality: There are THREE steps in this job. We already have most of the scripting ready, you just need to put it together.
FIRST STEP
A new order arrives at baselinker.com (an app that aggregates orders from multiple sources like amazon, ebay, opencart etc.).
SECOND STEP
You'll need to GET customer data for that new order (using getOrder method) from baselinker.com (http://api.baselinker.com/?method=getOrders) and then POST it to https://api.unleashedsoftware.com/Documentation/Customers
the parameters to post to https://api.unleashedsoftware.com/Documentation/Customers are:
var request = {
"Guid" : guidNumber,
"LastModifiedOn" : input.lastmodifiedon,
"CustomerCode" : input.customercode,
"CustomerName": input.customercode,
"Email": input.email,
"Taxable": "true",
"DiscountRate": "0.0000",
"PaymentTerm": input.paymentterms,
"CreatedBy": "poland@renhal.com",
"Currency" : {
"CurrencyCode" : input.currencycode
},
"Addresses" :[{
"AddressType": "Postal",
"AddressName": input.addressname,
"StreetAddress": input.streetaddress,
"City": input.city,
"Country": input.country,
"PostalCode": input.postalcode
}
]
}
;
(all of those parameters are available in the GET method):
THIRD STEP:
You need to GET order data for that new order (using getOrder method) from baselinker.com (http://api.baselinker.com/?method=getOrders) and then POST it to https://api.unleashedsoftware.com/Documentation/SalesOrders
the parameters you'll have to post to https://api.unleashedsoftware.com/Documentation/SalesOrders are:
var request = {
"Guid" : guidNumber,
"OrderNumber" : input.ordernumber,
"OrderDate" : input.orderdate,
"RequiredDate" : input.requireddate,
"OrderStatus" : "Parked",
"CustomerRef" : input.customerref,
"ExchangeRate" : (input.exchangerate ? input.exchangerate : 1),
"Subtotal" : input.subtotal,
"Total" : input.subtotal,
"Customer" : {
"CustomerCode" : input.customercode
},
"Warehouse" : {
"WarehouseCode" : "S",
"WarehouseName" : "Sidzina",
"Is default" : "true"
},
"Tax" : {
"TaxCode" : input.taxcode,
},
"SalesOrderLines" : [{
"LineNumber" : input.linenumber,
"Product" : {
"ProductCode" : input.productcode
},
"OrderQuantity" : input.orderquantity,
"UnitPrice" : input.unitprice,
"Comments" : input.comments,
"LineTotal" : input.subtotal
}
]
}
;
(all of those parameters are available in the GET method)
NOTE: Some orders (around 5% of all orders) will have multiple lines.
ALSO IN THIS STEP:
You'll have to pull a currency exchange rate from another source and send it as "ExchangeRate" e.g. from here http://katalogapi.pl/api/kursy-walut
or from here:
http://jacekk.info/skrypty/nbp.phps
EXTRA TASKS (also inluded in this project):
1. ADD product (http://api.baselinker.com/index.php?method=addProduct) GET products (https://api.unleashedsoftware.com/Documentation/Products) when a new product appears in Unleashed, add it to Baselinker (also copy all current products from unleashed to baselinker)
2. updateProductsQuantitiy (http://api.baselinker.com/index.php?method=updateProductsQuantity) GET stockOnHand (https://api.unleashedsoftware.com/Documentation/StockOnHand) "example:
{
""storage_id"": 1,
""products"": [
[1081730, 0, 100],
[1081730, 1734642, 150]
]}" run on a schedule
3. updateProductsPrices (http://api.baselinker.com/index.php?method=updateProductsPrices) GET products (https://api.unleashedsoftware.com/Documentation/Products) "example:
{
""storage_id"": 1,
""products"": [
{""product_id"": 1081730, ""variant_id"": 0, ""price_netto"": 10, ""price_wholesale"": 20, ""tax_rate"": 23},
{""product_id"": 1081730, ""variant_id"": 1764564, ""price_netto"": 100, ""tax_rate"": 23}
]}" run on a schedule
------------------------------------------
Assumptions:
1. Transfer the data from baselinker.com to unleashedsoftware.com using available API's
2. Consider core PHP or other
3. Client (me) will share both external website API access details
4. Transfer the orders data to unleashedsotware.com from baselinker.com as laid out above
5. Complete all THREE STEPS plus EXTRA TASKS using the data association presented in this spreadsheet : https://goo.gl/CKBipC
Break Up :-
1. API research and execution - I'll be fully available to explain how baselinker/unleashedsoftware works
2. Create a script to transfer and associate the data
3. Testing
Specific technologies required: API
Extra notes: my skype: mylewicz
Description of requirements/functionality: There are THREE steps in this job. We already have most of the scripting ready, you just need to put it together.
FIRST STEP
A new order arrives at baselinker.com (an app that aggregates orders from multiple sources like amazon, ebay, opencart etc.).
SECOND STEP
You'll need to GET customer data for that new order (using getOrder method) from baselinker.com (http://api.baselinker.com/?method=getOrders) and then POST it to https://api.unleashedsoftware.com/Documentation/Customers
the parameters to post to https://api.unleashedsoftware.com/Documentation/Customers are:
var request = {
"Guid" : guidNumber,
"LastModifiedOn" : input.lastmodifiedon,
"CustomerCode" : input.customercode,
"CustomerName": input.customercode,
"Email": input.email,
"Taxable": "true",
"DiscountRate": "0.0000",
"PaymentTerm": input.paymentterms,
"CreatedBy": "poland@renhal.com",
"Currency" : {
"CurrencyCode" : input.currencycode
},
"Addresses" :[{
"AddressType": "Postal",
"AddressName": input.addressname,
"StreetAddress": input.streetaddress,
"City": input.city,
"Country": input.country,
"PostalCode": input.postalcode
}
]
}
;
(all of those parameters are available in the GET method):
THIRD STEP:
You need to GET order data for that new order (using getOrder method) from baselinker.com (http://api.baselinker.com/?method=getOrders) and then POST it to https://api.unleashedsoftware.com/Documentation/SalesOrders
the parameters you'll have to post to https://api.unleashedsoftware.com/Documentation/SalesOrders are:
var request = {
"Guid" : guidNumber,
"OrderNumber" : input.ordernumber,
"OrderDate" : input.orderdate,
"RequiredDate" : input.requireddate,
"OrderStatus" : "Parked",
"CustomerRef" : input.customerref,
"ExchangeRate" : (input.exchangerate ? input.exchangerate : 1),
"Subtotal" : input.subtotal,
"Total" : input.subtotal,
"Customer" : {
"CustomerCode" : input.customercode
},
"Warehouse" : {
"WarehouseCode" : "S",
"WarehouseName" : "Sidzina",
"Is default" : "true"
},
"Tax" : {
"TaxCode" : input.taxcode,
},
"SalesOrderLines" : [{
"LineNumber" : input.linenumber,
"Product" : {
"ProductCode" : input.productcode
},
"OrderQuantity" : input.orderquantity,
"UnitPrice" : input.unitprice,
"Comments" : input.comments,
"LineTotal" : input.subtotal
}
]
}
;
(all of those parameters are available in the GET method)
NOTE: Some orders (around 5% of all orders) will have multiple lines.
ALSO IN THIS STEP:
You'll have to pull a currency exchange rate from another source and send it as "ExchangeRate" e.g. from here http://katalogapi.pl/api/kursy-walut
or from here:
http://jacekk.info/skrypty/nbp.phps
EXTRA TASKS (also inluded in this project):
1. ADD product (http://api.baselinker.com/index.php?method=addProduct) GET products (https://api.unleashedsoftware.com/Documentation/Products) when a new product appears in Unleashed, add it to Baselinker (also copy all current products from unleashed to baselinker)
2. updateProductsQuantitiy (http://api.baselinker.com/index.php?method=updateProductsQuantity) GET stockOnHand (https://api.unleashedsoftware.com/Documentation/StockOnHand) "example:
{
""storage_id"": 1,
""products"": [
[1081730, 0, 100],
[1081730, 1734642, 150]
]}" run on a schedule
3. updateProductsPrices (http://api.baselinker.com/index.php?method=updateProductsPrices) GET products (https://api.unleashedsoftware.com/Documentation/Products) "example:
{
""storage_id"": 1,
""products"": [
{""product_id"": 1081730, ""variant_id"": 0, ""price_netto"": 10, ""price_wholesale"": 20, ""tax_rate"": 23},
{""product_id"": 1081730, ""variant_id"": 1764564, ""price_netto"": 100, ""tax_rate"": 23}
]}" run on a schedule
------------------------------------------
Assumptions:
1. Transfer the data from baselinker.com to unleashedsoftware.com using available API's
2. Consider core PHP or other
3. Client (me) will share both external website API access details
4. Transfer the orders data to unleashedsotware.com from baselinker.com as laid out above
5. Complete all THREE STEPS plus EXTRA TASKS using the data association presented in this spreadsheet : https://goo.gl/CKBipC
Break Up :-
1. API research and execution - I'll be fully available to explain how baselinker/unleashedsoftware works
2. Create a script to transfer and associate the data
3. Testing
Specific technologies required: API
Extra notes: my skype: mylewicz
Renhal Ltd
91% (19)Projects Completed
23
Freelancers worked with
19
Projects awarded
20%
Last project
15 Jun 2022
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies