Megaventory API v2017a

<back to all web services

BalanceUpdate

The following routes are available for this service:
POST/Balance/BalanceUpdateInserts a new one or Updates an existing balance amount

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/BalanceUpdate HTTP/1.1 
Host: api.megaventory.com 
Content-Type: text/csv
Content-Length: length

BalanceEntryId,CompanyId,SupplierClientId,BalanceEntryCurrencyCode,BalanceEntryAmount,BalanceEntryComment,BalanceEntryCreatedDate,BalanceEntryUpdatedDate,BalanceEntryIssueDate,BalanceEntryType
0,0,0,String,0,String,0001-01-01,0001-01-01,0001-01-01,Undefined

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

BalanceEntryId,CompanyId,SupplierClientId,BalanceEntryCurrencyCode,BalanceEntryAmount,BalanceEntryComment,BalanceEntryCreatedDate,BalanceEntryUpdatedDate,BalanceEntryIssueDate,BalanceEntryType
0,0,0,String,0,String,0001-01-01,0001-01-01,0001-01-01,Undefined