ApexERPHost

<back to all web services

GetWaybillChanges

Requires Authentication
The following routes are available for this service:
GET/RS/Waybills/{DocID}/Changes
GetWaybillChanges Parameters:
NameParameterData TypeRequiredDescription
DocIDpathstringNo
IsMedqueryint?No
GetWaybillChangesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
WbChangesformWaybillChangesNo
ErrorformintNo
ErrorMessageformstringNo
WaybillChanges Parameters:
NameParameterData TypeRequiredDescription
CurrentformList<MOFWayBillDet>No
OldChangesformList<MOFWayBillDet>No
MOFWayBillDet Parameters:
NameParameterData TypeRequiredDescription
IDformlongNo
BCodeformstringNo
NameformstringNo
UnitformstringNo
SCountformdecimalNo
PriceformdecimalNo
AmountformdecimalNo
UnitIDformintNo
AkcizIDformintNo
VatTypeformbyteNo
StatusformintNo

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 /RS/Waybills/{DocID}/Changes 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
		}
	},
	WbChanges: 
	{
		Current: 
		[
			{
				ID: 0,
				BCode: String,
				Name: String,
				Unit: String,
				SCount: 0,
				Price: 0,
				Amount: 0,
				UnitID: 0,
				AkcizID: 0,
				VatType: 0,
				Status: 0
			}
		],
		OldChanges: 
		[
			{
				ID: 0,
				BCode: String,
				Name: String,
				Unit: String,
				SCount: 0,
				Price: 0,
				Amount: 0,
				UnitID: 0,
				AkcizID: 0,
				VatType: 0,
				Status: 0
			}
		]
	},
	Error: 0,
	ErrorMessage: String
}