| GET | /RS/Spec/Books |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Date1 | query | DateTime | No | |
| Date2 | query | DateTime | No | |
| Client | query | string | No | |
| Numberin | query | string | No | |
| Numberout | query | string | No | |
| Oper | query | string | No | |
| Cuser | query | string | No | |
| Iud | query | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Books | form | List<SpecBook> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Docs_id | form | string | No | |
| Book_id | form | string | No | |
| DB | form | string | No | |
| Oper_id | form | string | No | |
| DDate | form | DateTime | No | |
| NumberIn | form | string | No | |
| NumberOut | form | string | No | |
| FullVg | form | decimal | No | |
| Vg | form | decimal | No | |
| Vat | form | decimal | No | |
| Blocking | form | bool | No | |
| RecStatus | form | byte | No | |
| CUser | form | string | No | |
| SpecInvId | form | int? | No | |
| SpecInvNum | form | string | No | |
| CrDate | form | DateTime? | No | |
| CrUser | form | string | No | |
| IsSent | form | bool? | No | |
| ProdName | form | string | No | |
| ProdCode | form | string | No | |
| SpecProdName | form | string | No | |
| SpecProdCode | form | string | No | |
| ProdQuantity | form | decimal? | No | |
| BookCrTime | form | DateTime? | 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/Spec/Books 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
}
},
Books:
[
{
Docs_id: String,
Book_id: String,
DB: String,
Oper_id: String,
DDate: 0001-01-01,
NumberIn: String,
NumberOut: String,
FullVg: 0,
Vg: 0,
Vat: 0,
Blocking: False,
RecStatus: 0,
CUser: String,
SpecInvId: 0,
SpecInvNum: String,
CrDate: 0001-01-01,
CrUser: String,
IsSent: False,
ProdName: String,
ProdCode: String,
SpecProdName: String,
SpecProdCode: String,
ProdQuantity: 0,
BookCrTime: 0001-01-01
}
]
}