POST | /Crm/OrderBookParams |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OrderBookParams | body | OrderBookParams | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BranchId | form | int | 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 | |
DisOperId | form | string | No | |
VanLoadOperId | form | string | No | |
VanUnloadOperId | form | string | No | |
VoucherOperId | form | string | No | |
VoucherAcc | form | string | No | |
DiscountCardOperId | form | string | No | |
DiscountCardDbAcc | form | string | No | |
DiscountCardCrAcc | form | string | No | |
DiscountCardExpAcc | form | string | No | |
AdvanceOverlapOperId | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | 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 /Crm/OrderBookParams HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
OrderBookParams:
{
BranchId: 0,
CashAcc: String,
RetailSaleAcc: String,
CuttoffTranzitAcc: String,
TranzitOperId: String,
RetailOperId: String,
WholesaleOperId: String,
PayCashOperId: String,
PayCardOperId: String,
PayOtherOperId: String,
CutoffOperId: String,
ServiceOperId: String,
GiftOperId: String,
DisOperId: String,
VanLoadOperId: String,
VanUnloadOperId: String,
VoucherOperId: String,
VoucherAcc: String,
DiscountCardOperId: String,
DiscountCardDbAcc: String,
DiscountCardCrAcc: String,
DiscountCardExpAcc: String,
AdvanceOverlapOperId: String
}
}
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 } } }