ApexERPHost

<back to all web services

GetInv2M

Requires Authentication
The following routes are available for this service:
GET/Warehousing/Inventarisation/Inv2M/M2Id
GET/Warehousing/Inventarisation/Inv2M
GetInv2M Parameters:
NameParameterData TypeRequiredDescription
M1Idqueryint?No
T1Idqueryint?No
GetInv2MResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<Inv2M>No
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 .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /Warehousing/Inventarisation/Inv2M/M2Id HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Result: 
	[
		{
			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
		}
	]
}