ApexERPHost

<back to all web services

SaveInv2M

Requires Authentication
The following routes are available for this service:
POST/Warehousing/Inventarisation/Inv2M
SaveInv2M Parameters:
NameParameterData TypeRequiredDescription
M2Idbodyint?No
M1IdbodyintNo
ProdPPIdbodystringNo
ICountbodydecimal?No
SaveInv2MResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
UpdatedDataformInv2MNo
Inv2M Parameters:
NameParameterData TypeRequiredDescription
M2IdformintNo
M1IdformintNo
ProdPPIdformstringNo
ICountformdecimalNo
NameformstringNo
BCodeformstringNo
BBCodeformstringNo
InCodeformstringNo
CategoryCodeformstringNo
ProducerIdformstringNo
ProducerNameformstringNo
CategoryNameformstringNo
PackCountformintNo
PackBCountformdecimalNo

To override the Content-type in your clients, use the 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 /Warehousing/Inventarisation/Inv2M HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"M2Id":0,"M1Id":0,"ProdPPId":"String","ICount":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"UpdatedData":{"M2Id":0,"M1Id":0,"ProdPPId":"String","ICount":0,"Name":"String","BCode":"String","BBCode":"String","InCode":"String","CategoryCode":"String","ProducerId":"String","ProducerName":"String","CategoryName":"String","PackCount":0,"PackBCount":0}}