NectaVendorsApi

<back to all web services

SaveDNote

Requires Authentication
Required permission:view_vi
The following routes are available for this service:
POST/delivery/save
SaveDNote Parameters:
NameParameterData TypeRequiredDescription
DNotebodyDNoteDtoNo
DNoteDto Parameters:
NameParameterData TypeRequiredDescription
ClientIdformintNo
VendorIdformintNo
GrandTotalformdecimalNo
CreationDateformDateTimeNo
CreationUserIdformintNo
CreationUserNameformstringNo
ChangeDateformDateTimeNo
ChangeUserIdformintNo
ChangeUserNameformstringNo
DNoteStrucsformList<DNoteStrucDto>No
DNoteOverviewDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CustNumberformstringNo
NumberformstringNo
RefNumberformstringNo
DeliveryDateStrformstringNo
ExportDateformDateTime?No
StateformboolNo
DNoteStrucDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
PosNumberformintNo
DNoteIdformintNo
ItemIdformintNo
ItemNameformstringNo
Quantityformdecimal?No
UnitformstringNo
BatchformstringNo
BestBeforeformDateTime?No
Priceformdecimal?No
PriceEditedformboolNo
Totalformdecimal?No
TotalEditedformboolNo
ItemNumberformstringNo
PackingUnitformstringNo
ContentUnitformstringNo
CuInPuFactorformdecimalNo
ResponseSaveDNote Parameters:
NameParameterData TypeRequiredDescription
DNoteformDNoteDtoNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /delivery/save HTTP/1.1 
Host: vendor-api.digisupply.klueh.de 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"DNote":{"ClientId":0,"VendorId":0,"GrandTotal":0,"CreationDate":"0001-01-01T00:00:00.0000000","CreationUserId":0,"CreationUserName":"String","ChangeDate":"0001-01-01T00:00:00.0000000","ChangeUserId":0,"ChangeUserName":"String","DNoteStrucs":[{"Id":0,"PosNumber":0,"DNoteId":0,"ItemId":0,"ItemName":"String","Quantity":0,"Unit":"String","Batch":"String","BestBefore":"0001-01-01T00:00:00.0000000","Price":0,"PriceEdited":false,"Total":0,"TotalEdited":false,"ItemNumber":"String","PackingUnit":"String","ContentUnit":"String","CuInPuFactor":0}],"Id":0,"CustNumber":"String","Number":"String","RefNumber":"String","DeliveryDateStr":"String","ExportDate":"0001-01-01T00:00:00.0000000","State":false}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"DNote":{"ClientId":0,"VendorId":0,"GrandTotal":0,"CreationDate":"0001-01-01T00:00:00.0000000","CreationUserId":0,"CreationUserName":"String","ChangeDate":"0001-01-01T00:00:00.0000000","ChangeUserId":0,"ChangeUserName":"String","DNoteStrucs":[{"Id":0,"PosNumber":0,"DNoteId":0,"ItemId":0,"ItemName":"String","Quantity":0,"Unit":"String","Batch":"String","BestBefore":"0001-01-01T00:00:00.0000000","Price":0,"PriceEdited":false,"Total":0,"TotalEdited":false,"ItemNumber":"String","PackingUnit":"String","ContentUnit":"String","CuInPuFactor":0}],"Id":0,"CustNumber":"String","Number":"String","RefNumber":"String","DeliveryDateStr":"String","ExportDate":"0001-01-01T00:00:00.0000000","State":false}}