| GET | /RS/Waybills/ByNumber/{WaybillNum*} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WaybillNum | path | string | 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 |
| 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RS/Waybills/ByNumber/{WaybillNum*} HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
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
}
},
Waybill:
{
ID: 0,
Docs_id: String,
Num: String,
WbType: 0,
Status: 0,
CreateDate: 0001-01-01,
BeginDate: 0001-01-01,
ActivateDate: 0001-01-01,
DeliveryDate: 0001-01-01,
CloseDate: 0001-01-01,
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: 0001-01-01,
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
},
Error: 0,
ErrorMessage: String
}