ApexERPHost

<back to all web services

GetSpecBookDetails

Requires Authentication
The following routes are available for this service:
GET/RS/Spec/GetBookDetails
GetSpecBookDetails Parameters:
NameParameterData TypeRequiredDescription
BookIdquerystringNo
GetSpecBookDetailsRsponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
BookDetailformBookDetailsNo
ErrorCodeformintNo
ErrorMessageformstringNo
BookDetails Parameters:
NameParameterData TypeRequiredDescription
BookIdformstringNo
DocsIdformstringNo
DDateformDateTimeNo
BuyerIdentNoformstringNo
BuyerNameformstringNo
BuyerAddressformstringNo
FinalCostformdecimalNo
SCountformdecimalNo
VatRateformdecimalNo
AkcizRateformdecimalNo
FirstCostformdecimalNo
VatAmountformdecimalNo
AkcizAmountformdecimalNo
UnitformstringNo
ProdPPIdformstringNo
ProdNameformstringNo
OperTypeformint?No
MofProdSSFCodeformstringNo
MofProdNameformstringNo
MofProdSSNCodeformstringNo
FromTankNumberformstringNo
ToTankNumberformstringNo
MofProdIdformint?No

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/Spec/GetBookDetails 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
		}
	},
	BookDetail: 
	{
		BookId: String,
		DocsId: String,
		DDate: 0001-01-01,
		BuyerIdentNo: String,
		BuyerName: String,
		BuyerAddress: String,
		FinalCost: 0,
		SCount: 0,
		VatRate: 0,
		AkcizRate: 0,
		FirstCost: 0,
		VatAmount: 0,
		AkcizAmount: 0,
		Unit: String,
		ProdPPId: String,
		ProdName: String,
		OperType: 0,
		MofProdSSFCode: String,
		MofProdName: String,
		MofProdSSNCode: String,
		FromTankNumber: String,
		ToTankNumber: String,
		MofProdId: 0
	},
	ErrorCode: 0,
	ErrorMessage: String
}