ApexERPHost

<back to all web services

GetSpecBooks

Requires Authentication
The following routes are available for this service:
GET/RS/Spec/Books
GetSpecBooks Parameters:
NameParameterData TypeRequiredDescription
Date1queryDateTimeNo
Date2queryDateTimeNo
ClientquerystringNo
NumberinquerystringNo
NumberoutquerystringNo
OperquerystringNo
CuserquerystringNo
IudqueryintNo
GetSpecBooksResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
BooksformList<SpecBook>No
SpecBook Parameters:
NameParameterData TypeRequiredDescription
Docs_idformstringNo
Book_idformstringNo
DBformstringNo
Oper_idformstringNo
DDateformDateTimeNo
NumberInformstringNo
NumberOutformstringNo
FullVgformdecimalNo
VgformdecimalNo
VatformdecimalNo
BlockingformboolNo
RecStatusformbyteNo
CUserformstringNo
SpecInvIdformint?No
SpecInvNumformstringNo
CrDateformDateTime?No
CrUserformstringNo
IsSentformbool?No
ProdNameformstringNo
ProdCodeformstringNo
SpecProdNameformstringNo
SpecProdCodeformstringNo
ProdQuantityformdecimal?No
BookCrTimeformDateTime?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/Books 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
		}
	},
	Books: 
	[
		{
			Docs_id: String,
			Book_id: String,
			DB: String,
			Oper_id: String,
			DDate: 0001-01-01,
			NumberIn: String,
			NumberOut: String,
			FullVg: 0,
			Vg: 0,
			Vat: 0,
			Blocking: False,
			RecStatus: 0,
			CUser: String,
			SpecInvId: 0,
			SpecInvNum: String,
			CrDate: 0001-01-01,
			CrUser: String,
			IsSent: False,
			ProdName: String,
			ProdCode: String,
			SpecProdName: String,
			SpecProdCode: String,
			ProdQuantity: 0,
			BookCrTime: 0001-01-01
		}
	]
}