It allows you:
to add WMS transactions to specific WMS Transaction Import table
Prerequisites:
In order to use this API Method for PUT there must be accomplished the following requirements in SocrateCloud:
to have an Organization active
to have Products from the WMS transaction defined in SocrateCloud
to have Business Partners from the WMS transaction defined in SocrateCloud
Actions can be done:
create
URL: https://api.socratecloud.com/swms/rest/transaction/create/{version}?accessToken={access_token}
Method: POST
Return: number of WMS Transactions created in import table (which is the same as the number of transactions from JSON) for success or error message (start with "ERROR: ")
Data format:
{
"data":[
{
"Organization":"Demo SRL",
"Product":"Product1",
"Qty":1,
"BPartner":"Partner1",
"Activity":"Testare",
"DateTrx":"2014-01-02 00:00:00+0000"
},
{
"Organization":"Demo SRL",
"Product":"Product3",
"Qty":5,
"BPartner":"Partner2",
"Activity":"Testare",
"DateTrx":"2014-01-02 00:00:00+0000"
}
]
}