ApexERPHost

<back to all web services

CreateExpPBookRefference

Requires Authentication
The following routes are available for this service:
POST/Accounting/Production/ExpP
CreateExpPBookRefference Parameters:
NameParameterData TypeRequiredDescription
BeginDatebodyDateTimeNo
EndDatebodyDateTimeNo
OperIdbodystringNo
AccbodystringNo
SaveExpPBookRefference Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultStatusformint?No
DocsformList<DocView>No
GoodsformList<ExpPGoods>No
ErrorTextformstringNo
Errortypeformint?No
DocView Parameters:
NameParameterData TypeRequiredDescription
DocIDformstringNo
DocTypeformintNo
BookTypeformintNo
OperIDformstringNo
CurrencyformCurrencyNo
DBViewformAccountInfoNo
CRViewformAccountInfoNo
DDateformDateTimeNo
NumberInformstringNo
NumberOutformstringNo
RSWaybillNumformstringNo
DocWaybillNumformstringNo
RSWaybillIDformint?No
VgformdecimalNo
ContentsformstringNo
VgCurrentformdecimal?No
OpDetIdformstringNo
CUserformstringNo
BookNoteformstringNo
TaxDocIdformlong?No
TaxDocNumformstringNo
TaxDocSerieformstringNo
Currency Parameters:
NameParameterData TypeRequiredDescription
CurrencyIDformstringNo
NameformstringNo
NameEnformstringNo
CodeformstringNo
CurTypeformintNo
ReCalcformboolNo
LastDateformDateTimeNo
RateformdecimalNo
SpendformboolNo
CurrencyCntformintNo
Currency_NformstringNo
LDefaultformboolNo
AccountInfo Parameters:
NameParameterData TypeRequiredDescription
AccformstringNo
NameformstringNo
SNformstringNo
WarehouseAddressformstringNo
AddressformstringNo
PhoneformstringNo
AccWithNameformstringNo
VatTypeformintNo
BranchIdformint?No
ExpPGoods Parameters:
NameParameterData TypeRequiredDescription
BCodeformstringNo
InCodeformstringNo
ProductsNuformstringNo
NumberInformstringNo
NumberOutformstringNo
DDateformDateTime?No
DBformstringNo
CRformstringNo
DocsIdformstringNo

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

{
	BeginDate: 0001-01-01,
	EndDate: 0001-01-01,
	OperId: String,
	Acc: 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
		}
	},
	ResultStatus: 0,
	Docs: 
	[
		{
			DocID: String,
			DocType: 0,
			BookType: 0,
			OperID: String,
			Currency: 
			{
				CurrencyID: String,
				Name: String,
				NameEn: String,
				Code: String,
				CurType: 0,
				ReCalc: False,
				LastDate: 0001-01-01,
				Rate: 0,
				Spend: False,
				CurrencyCnt: 0,
				Currency_N: String,
				LDefault: False
			},
			DBView: 
			{
				Acc: String,
				Name: String,
				SN: String,
				WarehouseAddress: String,
				Address: String,
				Phone: String,
				AccWithName: String - String,
				VatType: 0,
				BranchId: 0
			},
			CRView: 
			{
				Acc: String,
				Name: String,
				SN: String,
				WarehouseAddress: String,
				Address: String,
				Phone: String,
				AccWithName: String - String,
				VatType: 0,
				BranchId: 0
			},
			DDate: 0001-01-01,
			NumberIn: String,
			NumberOut: String,
			RSWaybillNum: String,
			DocWaybillNum: String,
			RSWaybillID: 0,
			Vg: 0,
			Contents: String,
			VgCurrent: 0,
			OpDetId: String,
			CUser: String,
			BookNote: String,
			TaxDocId: 0,
			TaxDocNum: String,
			TaxDocSerie: String
		}
	],
	Goods: 
	[
		{
			BCode: String,
			InCode: String,
			ProductsNu: String,
			NumberIn: String,
			NumberOut: String,
			DDate: 0001-01-01,
			DB: String,
			CR: String,
			DocsId: String
		}
	],
	ErrorText: String,
	Errortype: 0
}