The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BalanceGet HTTP/1.1
Host: api.megaventory.com
Content-Type: text/jsv
Content-Length: length
{
APIKEY: String,
CompanyIds:
[
0
],
SupplierClientIds:
[
0
],
CurrencyCodes:
[
String
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
mvBalances:
[
{
CompanyId: 0,
SupplierClientId: 0,
BalanceCurrencyCode: String,
BalanceAmount: 0,
BalanceCreatedDate: 0001-01-01,
BalanceUpdatedDate: 0001-01-01
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
},
InternalErrorCode: String
}