ApexERPHost

<back to all web services

MergeGoodsByReturnedWB

Requires Authentication
The following routes are available for this service:
POST/RS/Invoices/MergeGoodsByReturnedWB
MergeGoodsByReturnedWB Parameters:
NameParameterData TypeRequiredDescription
DetsbodyList<MOFInvoiceDet>No
BookIdsbodyList<string>No
WaybillNumsbodyList<string>No
MOFInvoiceDet Parameters:
NameParameterData TypeRequiredDescription
IDformlongNo
InvoiceIDformintNo
GoodformstringNo
UnitformstringNo
SCountformdecimalNo
FullAmountformdecimalNo
VatAmountformdecimalNo
AkcizAmountformdecimalNo
AkcizIDformintNo
SVatAmountformstringNo
WaybillIdformint?No
VatTypeformint?No
MergeGoodsByReturnedWBResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<MOFInvoiceDet>No
ErrorformintNo
ErrorMessageformstringNo

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.

POST /RS/Invoices/MergeGoodsByReturnedWB HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Dets: 
	[
		{
			ID: 0,
			InvoiceID: 0,
			Good: String,
			Unit: String,
			SCount: 0,
			FullAmount: 0,
			VatAmount: 0,
			AkcizAmount: 0,
			AkcizID: 0,
			SVatAmount: String,
			WaybillId: 0,
			VatType: 0
		}
	],
	BookIds: 
	[
		String
	],
	WaybillNums: 
	[
		String
	]
}
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: 
	[
		{
			ID: 0,
			InvoiceID: 0,
			Good: String,
			Unit: String,
			SCount: 0,
			FullAmount: 0,
			VatAmount: 0,
			AkcizAmount: 0,
			AkcizID: 0,
			SVatAmount: String,
			WaybillId: 0,
			VatType: 0
		}
	],
	Error: 0,
	ErrorMessage: String
}