POST | /RS/Waybills/CreateWayBillFromFixedAssets |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ids | body | List<int> | No | |
isTaxDoc | body | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Waybill | form | MOFWayBill | No | |
Error | form | int | No | |
ErrorMessage | form | string | No | |
TaxDocument | form | TaxDocument | 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 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | long | No | |
INV_SERIE | form | string | No | |
INV_NUMBER | form | string | No | |
INV_CATEGORY | form | int | No | |
INV_TYPE | form | int | No | |
SELLER_ACTION | form | int | No | |
BUYER_ACTION | form | int | No | |
OPERATION_DATE_DT | form | DateTime? | No | |
ACTIVATE_DATE_DT | form | DateTime? | No | |
CREATE_DATE_DT | form | DateTime? | No | |
CONFIRM_DATE_DT | form | DateTime? | No | |
REFUSE_DATE_DT | form | DateTime? | No | |
REQUEST_CANCEL_DATE_DT | form | DateTime? | No | |
DELIVERY_DATE_DT | form | DateTime? | No | |
AGREE_CANCEL_DATE_DT | form | DateTime? | No | |
CORRECT_DATE_DT | form | DateTime? | No | |
TRANS_START_DATE_DT | form | DateTime? | No | |
CORRECT_REASON_ID | form | int | No | |
TIN_SELLER | form | string | No | |
TIN_BUYER | form | string | No | |
FOREIGN_BUYER | form | bool | No | |
NAME_SELLER | form | string | No | |
NAME_BUYER | form | string | No | |
SEQNUM_SELLER | form | long | No | |
SEQNUM_BUYER | form | long | No | |
SELLER_STATUS | form | int | No | |
BUYER_STATUS | form | int | No | |
STATUS_TXT_GEO | form | string | No | |
STATUS_TXT_ENG | form | string | No | |
AMOUNT_FULL | form | decimal | No | |
AMOUNT_EXCISE | form | decimal | No | |
AMOUNT_VAT | form | decimal | No | |
AMOUNT_MAX | form | decimal | No | |
TRANS_START_ADDRESS | form | string | No | |
TRANS_END_ADDRESS | form | string | No | |
TRANS_START_ADDRESS_NO | form | string | No | |
TRANS_END_ADDRESS_NO | form | string | No | |
TRANS_TYPE | form | int | No | |
TRANS_TYPE_TXT | form | string | No | |
TRANS_COMPANY_TIN | form | string | No | |
TRANS_COMPANY_NAME | form | string | No | |
TRANS_DRIVER_TIN | form | string | No | |
TRANS_DRIVER_FOREIGN | form | bool | No | |
TRANS_DRIVER_NAME | form | string | No | |
TRANS_DRIVER_COUNTRY | form | int | No | |
TRANS_CAR_MODEL | form | string | No | |
TRANS_CAR_NO | form | string | No | |
TRANS_TRAILER_NO | form | string | No | |
TRANS_COST | form | decimal | No | |
TRANS_COST_PAYER | form | int | No | |
INV_COMMENT | form | string | No | |
PARENT_ID | form | long | No | |
PREV_CORRECTION_ID | form | long | No | |
NEXT_CORRECTION_ID | form | long | No | |
INV_SOURCE | form | int | No | |
TEMPLATE_NAME | form | string | No | |
USER_ROLE | form | int | No | |
INVOICE_GOODS | form | List<TaxDocGoods> | No | |
INVOICE_PARENT_GOODS | form | List<TaxDocGoods> | No | |
INVOICE_RETURN | form | List<ReturnTaxDocument> | No | |
SUB_INVOICES_DISTRIBUTION | form | List<SubTaxDocument> | No | |
INVOICE_ADVANCE | form | List<SubTaxDocument> | No | |
TRANSACTION_ID | form | Guid? | No | |
DOCS_ID | form | string | No | |
FX_UNID | form | Guid? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | long | No | |
INVOICE_ID | form | long | No | |
INV_TYPE | form | int | No | |
INV_CATEGORY | form | int | No | |
GOODS_NAME | form | string | No | |
BARCODE | form | string | No | |
UNIT_ID | form | int | No | |
UNIT_TXT | form | string | No | |
QUANTITY | form | decimal | No | |
QUANTITY_STOCK | form | decimal | No | |
QUANTITY_EXT | form | decimal | No | |
UNIT_PRICE | form | decimal | No | |
AMOUNT | form | decimal | No | |
VAT_AMOUNT | form | decimal | No | |
VAT_TYPE | form | int | No | |
VAT_TYPE_TXT | form | string | No | |
EXCISE_AMOUNT | form | decimal | No | |
EXCISE_AMOUNT_TXT | form | string | No | |
EXCISE_ID | form | int | No | |
EXCISE_UNIT_PRICE | form | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RETURN_INVOICE_ID | form | long | No | |
CORRECTED_INVOICE_ID | form | long | No | |
INV_NUMBER | form | string | No | |
INV_SERIE | form | string | No | |
INV_STATUS | form | int | No | |
BUYER | form | string | No | |
OPERATION_DATE_DT | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | long | No | |
PARENT_INVOICE_ID | form | long | No | |
OPERATION_DATE_DT | form | DateTime? | No | |
AMOUNT | form | decimal | No | |
INV_NUMBER | form | string | No | |
INV_SERIE | form | string | No | |
INV_STATUS | form | int | No | |
BUYER | form | string | No | |
SELLER | form | string | No | |
INV_CATEGORY | form | int | No | |
INV_TYPE | form | int | No | |
AMOUNT_FULL | form | decimal | No | |
AMOUNT_MAX | form | decimal | No | |
ACTIVATE_DATE_DT | form | DateTime? | 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/CreateWayBillFromFixedAssets HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ids":[0],"isTaxDoc":false}
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","TaxDocument":{"ID":0,"INV_SERIE":"String","INV_NUMBER":"String","INV_CATEGORY":0,"INV_TYPE":0,"SELLER_ACTION":0,"BUYER_ACTION":0,"OPERATION_DATE_DT":"\/Date(-62135596800000-0000)\/","ACTIVATE_DATE_DT":"\/Date(-62135596800000-0000)\/","CREATE_DATE_DT":"\/Date(-62135596800000-0000)\/","CONFIRM_DATE_DT":"\/Date(-62135596800000-0000)\/","REFUSE_DATE_DT":"\/Date(-62135596800000-0000)\/","REQUEST_CANCEL_DATE_DT":"\/Date(-62135596800000-0000)\/","DELIVERY_DATE_DT":"\/Date(-62135596800000-0000)\/","AGREE_CANCEL_DATE_DT":"\/Date(-62135596800000-0000)\/","CORRECT_DATE_DT":"\/Date(-62135596800000-0000)\/","TRANS_START_DATE_DT":"\/Date(-62135596800000-0000)\/","CORRECT_REASON_ID":0,"TIN_SELLER":"String","TIN_BUYER":"String","FOREIGN_BUYER":false,"NAME_SELLER":"String","NAME_BUYER":"String","SEQNUM_SELLER":0,"SEQNUM_BUYER":0,"SELLER_STATUS":0,"BUYER_STATUS":0,"STATUS_TXT_GEO":"String","STATUS_TXT_ENG":"String","AMOUNT_FULL":0,"AMOUNT_EXCISE":0,"AMOUNT_VAT":0,"AMOUNT_MAX":0,"TRANS_START_ADDRESS":"String","TRANS_END_ADDRESS":"String","TRANS_START_ADDRESS_NO":"String","TRANS_END_ADDRESS_NO":"String","TRANS_TYPE":0,"TRANS_TYPE_TXT":"String","TRANS_COMPANY_TIN":"String","TRANS_COMPANY_NAME":"String","TRANS_DRIVER_TIN":"String","TRANS_DRIVER_FOREIGN":false,"TRANS_DRIVER_NAME":"String","TRANS_DRIVER_COUNTRY":0,"TRANS_CAR_MODEL":"String","TRANS_CAR_NO":"String","TRANS_TRAILER_NO":"String","TRANS_COST":0,"TRANS_COST_PAYER":0,"INV_COMMENT":"String","PARENT_ID":0,"PREV_CORRECTION_ID":0,"NEXT_CORRECTION_ID":0,"INV_SOURCE":0,"TEMPLATE_NAME":"String","USER_ROLE":0,"INVOICE_GOODS":[{"ID":0,"INVOICE_ID":0,"INV_TYPE":0,"INV_CATEGORY":0,"GOODS_NAME":"String","BARCODE":"String","UNIT_ID":0,"UNIT_TXT":"String","QUANTITY":0,"QUANTITY_STOCK":0,"QUANTITY_EXT":0,"UNIT_PRICE":0,"AMOUNT":0,"VAT_AMOUNT":0,"VAT_TYPE":0,"VAT_TYPE_TXT":"String","EXCISE_AMOUNT":0,"EXCISE_AMOUNT_TXT":"String","EXCISE_ID":0,"EXCISE_UNIT_PRICE":0}],"INVOICE_PARENT_GOODS":[{"ID":0,"INVOICE_ID":0,"INV_TYPE":0,"INV_CATEGORY":0,"GOODS_NAME":"String","BARCODE":"String","UNIT_ID":0,"UNIT_TXT":"String","QUANTITY":0,"QUANTITY_STOCK":0,"QUANTITY_EXT":0,"UNIT_PRICE":0,"AMOUNT":0,"VAT_AMOUNT":0,"VAT_TYPE":0,"VAT_TYPE_TXT":"String","EXCISE_AMOUNT":0,"EXCISE_AMOUNT_TXT":"String","EXCISE_ID":0,"EXCISE_UNIT_PRICE":0}],"INVOICE_RETURN":[{"RETURN_INVOICE_ID":0,"CORRECTED_INVOICE_ID":0,"INV_NUMBER":"String","INV_SERIE":"String","INV_STATUS":0,"BUYER":"String","OPERATION_DATE_DT":"\/Date(-62135596800000-0000)\/"}],"SUB_INVOICES_DISTRIBUTION":[{"ID":0,"PARENT_INVOICE_ID":0,"OPERATION_DATE_DT":"\/Date(-62135596800000-0000)\/","AMOUNT":0,"INV_NUMBER":"String","INV_SERIE":"String","INV_STATUS":0,"BUYER":"String","SELLER":"String","INV_CATEGORY":0,"INV_TYPE":0,"AMOUNT_FULL":0,"AMOUNT_MAX":0,"ACTIVATE_DATE_DT":"\/Date(-62135596800000-0000)\/"}],"INVOICE_ADVANCE":[{"ID":0,"PARENT_INVOICE_ID":0,"OPERATION_DATE_DT":"\/Date(-62135596800000-0000)\/","AMOUNT":0,"INV_NUMBER":"String","INV_SERIE":"String","INV_STATUS":0,"BUYER":"String","SELLER":"String","INV_CATEGORY":0,"INV_TYPE":0,"AMOUNT_FULL":0,"AMOUNT_MAX":0,"ACTIVATE_DATE_DT":"\/Date(-62135596800000-0000)\/"}],"TRANSACTION_ID":"00000000000000000000000000000000","DOCS_ID":"String","FX_UNID":"00000000000000000000000000000000"}}