| GET | /Crm/Orders/BookParams |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchId | query | int? | No | |
| OrderId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | CrmOrderBookParams | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BranchId | form | string | No | |
| CashAcc | form | string | No | |
| RetailSaleAcc | form | string | No | |
| CuttoffTranzitAcc | form | string | No | |
| TranzitOperId | form | string | No | |
| RetailOperId | form | string | No | |
| WholesaleOperId | form | string | No | |
| PayCashOperId | form | string | No | |
| PayCardOperId | form | string | No | |
| PayOtherOperId | form | string | No | |
| CutoffOperId | form | string | No | |
| ServiceOperId | form | string | No | |
| GiftOperId | form | string | No | |
| PaymentBookParams | form | List<CrmOrderPaymentBookParams> | No | |
| DisOperId | form | string | No | |
| VanLoadOperIid | form | string | No | |
| VanUnloadOperId | form | string | No | |
| VoucherOperId | form | string | No | |
| VoucherAcc | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PaymentTypeId | form | byte | No | |
| OperId | form | string | No | |
| PaymentType | form | CrmOrderPaymentTypeParams | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PaymentTypeId | form | byte | No | |
| CorePaymentTypeId | form | byte | No | |
| Name | form | string | No | |
| Fiscalize | form | bool | 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 /Crm/Orders/BookParams 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
}
},
Result:
{
BranchId: String,
CashAcc: String,
RetailSaleAcc: String,
CuttoffTranzitAcc: String,
TranzitOperId: String,
RetailOperId: String,
WholesaleOperId: String,
PayCashOperId: String,
PayCardOperId: String,
PayOtherOperId: String,
CutoffOperId: String,
ServiceOperId: String,
GiftOperId: String,
PaymentBookParams:
[
{
PaymentTypeId: 0,
OperId: String,
PaymentType:
{
PaymentTypeId: 0,
CorePaymentTypeId: 0,
Name: String,
Fiscalize: False
}
}
],
DisOperId: String,
VanLoadOperIid: String,
VanUnloadOperId: String,
VoucherOperId: String,
VoucherAcc: String
}
}