| All Verbs | /TrackDocs |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| D1 | query | DateTime | No | |
| D2 | query | DateTime | No | |
| WarehouseAcc | query | string | No | |
| OnlyNeedScan | query | bool | No | |
| ScanStatus | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Docs | form | List<TrackDoc> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DocsID | form | string | No | |
| DDate | form | DateTime | No | |
| ClientAcc | form | string | No | |
| WarehouseAcc | form | string | No | |
| NeedScan | form | bool | No | |
| IsUploaded | form | bool | No | |
| WaybillNum | form | string | No | |
| Client | form | string | No | |
| Warehouse | form | string | No | |
| OperId | form | string | No | |
| PresalerName | 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.
POST /TrackDocs HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
D1: 0001-01-01,
D2: 0001-01-01,
WarehouseAcc: String,
OnlyNeedScan: False,
ScanStatus: 0
}
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
}
},
Docs:
[
{
DocsID: String,
DDate: 0001-01-01,
ClientAcc: String,
WarehouseAcc: String,
NeedScan: False,
IsUploaded: False,
WaybillNum: String,
Client: String,
Warehouse: String,
OperId: String,
PresalerName: String
}
]
}