ApexERPHost

<back to all web services

TrackDocs

Requires Authentication
The following routes are available for this service:
All Verbs/TrackDocs
TrackDocs Parameters:
NameParameterData TypeRequiredDescription
D1queryDateTimeNo
D2queryDateTimeNo
WarehouseAccquerystringNo
OnlyNeedScanqueryboolNo
ScanStatusqueryint?No
TrackDocsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
DocsformList<TrackDoc>No
TrackDoc Parameters:
NameParameterData TypeRequiredDescription
DocsIDformstringNo
DDateformDateTimeNo
ClientAccformstringNo
WarehouseAccformstringNo
NeedScanformboolNo
IsUploadedformboolNo
WaybillNumformstringNo
ClientformstringNo
WarehouseformstringNo
OperIdformstringNo
PresalerNameformstringNo

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 /TrackDocs HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	D1: 0001-01-01,
	D2: 0001-01-01,
	WarehouseAcc: String,
	OnlyNeedScan: False,
	ScanStatus: 0
}
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
		}
	},
	Docs: 
	[
		{
			DocsID: String,
			DDate: 0001-01-01,
			ClientAcc: String,
			WarehouseAcc: String,
			NeedScan: False,
			IsUploaded: False,
			WaybillNum: String,
			Client: String,
			Warehouse: String,
			OperId: String,
			PresalerName: String
		}
	]
}