POST | /RS/Waybills/CreateWayBillFromDoc |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
WaybillTypeID | body | int? | No | |
DocID | body | string | No | |
IsMed | body | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Waybill | form | MOFWayBill | No | |
Error | form | int | No | |
ErrorMessage | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
Docs_id | form | string | No | |
Num | form | string | No | |
WbType | form | int | No | |
Status | form | int | No | |
CreateDate | form | DateTime? | No | |
BeginDate | form | DateTime? | No | |
ActivateDate | form | DateTime? | No | |
DeliveryDate | form | DateTime? | No | |
CloseDate | form | DateTime? | No | |
BuyerSN | form | string | No | |
CheckBuyer | form | byte | No | |
BuyerName | form | string | No | |
SellerSN | form | string | No | |
SellerName | form | string | No | |
StartAddress | form | string | No | |
EndAddress | form | string | No | |
DriverSN | form | string | No | |
CheckDriverSN | form | byte | No | |
DriverName | form | string | No | |
TransportCost | form | decimal | No | |
ReceptionInfo | form | string | No | |
ReceiverInfo | form | string | No | |
ParentID | form | int? | No | |
FullAmount | form | decimal | No | |
CarNumber | form | string | No | |
WaybillNum | form | string | No | |
UserID | form | int | No | |
SellerID | form | int | No | |
TransCostPayer | form | byte | No | |
TransportID | form | int? | No | |
TransportText | form | string | No | |
Comment | form | string | No | |
IsConfirmed | form | bool | No | |
IsCorrected | form | bool | No | |
ConfirmationDate | form | DateTime? | No | |
Goods | form | List<MOFWayBillDet> | No | |
SubWayBills | form | List<MOFSubWayBill> | No | |
TransporterSN | form | string | No | |
TransporterName | form | string | No | |
FullAmountText | form | string | No | |
BuyerUserId | form | int? | No | |
ReceivedDocsID | form | string | No | |
fxIds | form | List<int> | No | |
InvoiceId | form | int? | No | |
IsMed | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | long | No | |
BCode | form | string | No | |
Name | form | string | No | |
Unit | form | string | No | |
SCount | form | decimal | No | |
Price | form | decimal | No | |
Amount | form | decimal | No | |
UnitID | form | int | No | |
AkcizID | form | int | No | |
VatType | form | byte | No | |
Status | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
WayBillNum | form | string | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RS/Waybills/CreateWayBillFromDoc HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/json
Content-Type: application/json
Content-Length: length
{"WaybillTypeID":0,"DocID":"String","IsMed":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Waybill":{"ID":0,"Docs_id":"String","Num":"String","WbType":0,"Status":0,"CreateDate":"\/Date(-62135596800000-0000)\/","BeginDate":"\/Date(-62135596800000-0000)\/","ActivateDate":"\/Date(-62135596800000-0000)\/","DeliveryDate":"\/Date(-62135596800000-0000)\/","CloseDate":"\/Date(-62135596800000-0000)\/","BuyerSN":"String","CheckBuyer":0,"BuyerName":"String","SellerSN":"String","SellerName":"String","StartAddress":"String","EndAddress":"String","DriverSN":"String","CheckDriverSN":0,"DriverName":"String","TransportCost":0,"ReceptionInfo":"String","ReceiverInfo":"String","ParentID":0,"FullAmount":0,"CarNumber":"String","WaybillNum":"String","UserID":0,"SellerID":0,"TransCostPayer":0,"TransportID":0,"TransportText":"String","Comment":"String","IsConfirmed":false,"IsCorrected":false,"ConfirmationDate":"\/Date(-62135596800000-0000)\/","Goods":[{"ID":0,"BCode":"String","Name":"String","Unit":"String","SCount":0,"Price":0,"Amount":0,"UnitID":0,"AkcizID":0,"VatType":0,"Status":0}],"SubWayBills":[{"ID":0,"WayBillNum":"String"}],"TransporterSN":"String","TransporterName":"String","FullAmountText":"String","BuyerUserId":0,"ReceivedDocsID":"String","fxIds":[0],"InvoiceId":0,"IsMed":0},"Error":0,"ErrorMessage":"String"}