ApexERPHost

<back to all web services

NewExtVanLoadRequest

Requires Authentication
The following routes are available for this service:
POST/Warehousing/Distribution/External/Requests/VanLoad
NewExtVanLoadRequest Parameters:
NameParameterData TypeRequiredDescription
PresalerIdbodyintNo
VanWarehousebodyAccountInfoNo
CarNumberbodystringNo
DDatebodyDateTimeNo
PreOrderIdbodyintNo
ProductsbodyList<VanLoadProductRequest>No
AccountInfo Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
NameformstringNo
SNformstringNo
WarehouseAddressformstringNo
AddressformstringNo
PhoneformstringNo
AccWithNameformstringNo
VatTypeformintNo
BranchIdformint?No
VanLoadProductRequest Parameters:
NameParameterData TypeRequiredDescription
ProdIdformstringNo
SourceWarehouseformstringNo
ICountformdecimalNo
NewExtVanLoadRequestResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
NewRequestIdformint?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.

POST /Warehousing/Distribution/External/Requests/VanLoad HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	PresalerId: 0,
	VanWarehouse: 
	{
		Acc: String,
		Name: String,
		SN: String,
		WarehouseAddress: String,
		Address: String,
		Phone: String,
		AccWithName: String - String,
		VatType: 0,
		BranchId: 0
	},
	CarNumber: String,
	DDate: 0001-01-01,
	PreOrderId: 0,
	Products: 
	[
		{
			ProdId: String,
			SourceWarehouse: String,
			ICount: 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
		}
	},
	NewRequestId: 0
}