| GET | /RS/Spec/GetBookDetails |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BookId | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| BookDetail | form | BookDetails | No | |
| ErrorCode | form | int | No | |
| ErrorMessage | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BookId | form | string | No | |
| DocsId | form | string | No | |
| DDate | form | DateTime | No | |
| BuyerIdentNo | form | string | No | |
| BuyerName | form | string | No | |
| BuyerAddress | form | string | No | |
| FinalCost | form | decimal | No | |
| SCount | form | decimal | No | |
| VatRate | form | decimal | No | |
| AkcizRate | form | decimal | No | |
| FirstCost | form | decimal | No | |
| VatAmount | form | decimal | No | |
| AkcizAmount | form | decimal | No | |
| Unit | form | string | No | |
| ProdPPId | form | string | No | |
| ProdName | form | string | No | |
| OperType | form | int? | No | |
| MofProdSSFCode | form | string | No | |
| MofProdName | form | string | No | |
| MofProdSSNCode | form | string | No | |
| FromTankNumber | form | string | No | |
| ToTankNumber | form | string | No | |
| MofProdId | form | int? | 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/GetBookDetails 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
}
},
BookDetail:
{
BookId: String,
DocsId: String,
DDate: 0001-01-01,
BuyerIdentNo: String,
BuyerName: String,
BuyerAddress: String,
FinalCost: 0,
SCount: 0,
VatRate: 0,
AkcizRate: 0,
FirstCost: 0,
VatAmount: 0,
AkcizAmount: 0,
Unit: String,
ProdPPId: String,
ProdName: String,
OperType: 0,
MofProdSSFCode: String,
MofProdName: String,
MofProdSSNCode: String,
FromTankNumber: String,
ToTankNumber: String,
MofProdId: 0
},
ErrorCode: 0,
ErrorMessage: String
}