ApexERPHost

<back to all web services

GetIncomeDocTemplate

Requires Authentication
The following routes are available for this service:
GET/RS/Waybills/{WaybillID}/IncomeDocTemplate
GetIncomeDocTemplate Parameters:
NameParameterData TypeRequiredDescription
WaybillIDpathintNo
GetIncomeDocTemplateResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ErrorformintNo
ResultformIncomeDocTemplateNo
ErrorMessageformstringNo
IncomeDocTemplate Parameters:
NameParameterData TypeRequiredDescription
OperIDformstringNo
Docs_idformstringNo
DDateformDateTimeNo
WaybillNumformstringNo
WaybillIDformint?No
DBformstringNo
CRformstringNo
SupplierSNformstringNo
SupplierIDformintNo
ProductsformList<IncomeProduct>No
TaxDocIdformlong?No
TaxDocSerieformstringNo
TaxDocNumformstringNo
IncomeProduct Parameters:
NameParameterData TypeRequiredDescription
WbDetailIdformlongNo
WbProductCodeformstringNo
WbProductNameformstringNo
WbProductUnitformstringNo
WbVatTypeformbyteNo
ProdPPIdformstringNo
BCodeformstringNo
ProductsNuformstringNo
ProducerNuformstringNo
InCodeformstringNo
UnitformstringNo
VatformdecimalNo
ItCountformdecimalNo
PriceformdecimalNo
AmountformdecimalNo
LastCostformdecimalNo
SalePriceformdecimalNo
VatAmountformdecimalNo
AmountWithoutVatformdecimalNo
LifeDateformDateTime?No
UnicCodeformstringNo
QuantityKformdecimal?No
WbQuantityformdecimalNo
ExpenseAccformstringNo
WarehouseAccformstringNo
InvListIdformint?No
ProducerIdformstringNo
InvListNameformstringNo
FinGroupIdformint?No
TaxGroupIdformint?No
Spendformbool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RS/Waybills/{WaybillID}/IncomeDocTemplate HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Error":0,"Result":{"OperID":"String","Docs_id":"String","DDate":"\/Date(-62135596800000-0000)\/","WaybillNum":"String","WaybillID":0,"DB":"String","CR":"String","SupplierSN":"String","SupplierID":0,"Products":[{"WbDetailId":0,"WbProductCode":"String","WbProductName":"String","WbProductUnit":"String","WbVatType":0,"ProdPPId":"String","BCode":"String","ProductsNu":"String","ProducerNu":"String","InCode":"String","Unit":"String","Vat":0,"ItCount":0,"Price":0,"Amount":0,"LastCost":0,"SalePrice":0,"VatAmount":0,"AmountWithoutVat":0,"LifeDate":"\/Date(-62135596800000-0000)\/","UnicCode":"String","QuantityK":0,"WbQuantity":0,"ExpenseAcc":"String","WarehouseAcc":"String","InvListId":0,"ProducerId":"String","InvListName":"String","FinGroupId":0,"TaxGroupId":0,"Spend":false}],"TaxDocId":0,"TaxDocSerie":"String","TaxDocNum":"String"},"ErrorMessage":"String"}