The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
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
}
},
Order:
{
OrderID: 0,
CurrencyID: String,
Rate: 0,
OrderType: 0,
OrderStatus: 0,
OrderDate: 0001-01-01,
PayDate: 0001-01-01,
ReciveData: 0001-01-01,
BookDate: 0001-01-01,
ClientAcc: String,
WarehouseAcc: String,
ContractID: 0,
VatType: 0,
Note: String,
PresalerID: 0,
UNID: 00000000000000000000000000000000,
UserName: String,
CreateTime: 0001-01-01,
ClientInfo:
{
Acc: String,
Name: String,
SN: String,
WarehouseAddress: String,
Address: String,
Phone: String,
AccWithName: String - String,
VatType: 0,
BranchId: 0
},
WarehouseInfo:
{
Acc: String,
Name: String,
SN: String,
WarehouseAddress: String,
Address: String,
Phone: String,
AccWithName: String - String,
VatType: 0,
BranchId: 0
},
Contract:
{
ContractID: 0,
Account: String,
Number: String,
Date1: 0001-01-01,
Date2: 0001-01-01,
Date3: 0001-01-01,
Date4: 0001-01-01,
Date5: 0001-01-01,
Status: 0,
CntVG: 0,
ConsigDays: 0,
DiscP: 0,
DiscG: 0,
Overdraft: 0,
DiscPImport: 0,
IsZeroVat: False,
PriceMarkUP: 0,
MaxDebt: 0,
Name: String
},
Goods:
[
{
OrderGoodID: 0,
OrderID: 0,
ProdPPID: String,
OCount: 0,
Price: 0,
Discount: 0,
GoodInfo:
{
ID: String,
BCode: String,
BBCode: String,
InCode: String,
Name: String,
NameEn: String,
PackBCount: 0,
PackCount: 0,
Netto: 0,
ByWeight: 0,
CategoryID: String,
Category:
{
CategoryID: String,
CategoryCode: String,
CategoryName: String,
Spend: False
},
PPCatID: String,
PCatID: 0,
ProducerID: String,
Producer:
{
ProducerID: String,
ProducerName: String,
CountryId: String,
LOwn: False,
Speend: False,
ProducerNameEnglish: String,
Address: String,
PostalCode: String,
Phone: String,
Fax: String,
Person: String,
Email: String,
Ldefault: False,
MrgId: 0,
Country:
{
CountryId: String,
CountryNe: String,
LDefault: False,
Spend: False,
CountryNu: String
},
ProducerCountry: String
},
Vat: 0,
LifeDays: 0,
Unit: String,
ParentID: String,
MaxDiscount: 0,
IsImported: False,
Dimensions:
{
X: 0,
Y: 0,
Z: 0
},
PackCCount: 0,
PDose: String,
IntCodeID: String,
IntCode:
{
IntCodeID: String,
Name: String,
NameEn: String,
Vat: 0,
TaxMethod: 0,
Tax1: 0,
TaxK: 0
},
ExciseID: 0,
Excise: 0,
DestNumber: String,
PackTypeID: 0,
PriceGR: 0,
PriceGT: 0,
Spend: False,
VatType: 0,
ExtendedInfo:
{
ProdPPID: String,
Description: String,
Anotation: String,
GarantDays: 0,
IsFastFood: False,
DetailedWarehousing: False,
TrackAndTrace: False,
BrandID: 0,
Brand:
{
BrandId: 0,
Abbreviation: String,
Name: String,
BrandNameE: String,
Description: String,
Logo: AA==
},
RType: 0,
SizeId: 0,
ColorId: 0,
GenderId: 0,
Size:
{
Id: 0,
Name: String,
SizeType: 0
},
Color:
{
codeid: 0,
mgrid: 00000000000000000000000000000000,
hname: String,
hnamee: String,
hcode: String,
defval: False,
vm: 0,
vp: 0,
vi: 0,
vd: 0001-01-01,
canceled: False,
crtime: 0001-01-01,
unid: 00000000000000000000000000000000,
IUD: 0
},
Gender:
{
codeid: 0,
mgrid: 00000000000000000000000000000000,
hname: String,
hnamee: String,
hcode: String,
defval: False,
vm: 0,
vp: 0,
vi: 0,
vd: 0001-01-01,
canceled: False,
crtime: 0001-01-01,
unid: 00000000000000000000000000000000,
IUD: 0
},
Meta:
{
String: String
}
},
BarCodes:
[
{
Id: 0,
ProdPPId: String,
BCode: String
}
],
Type:
{
ID: String,
Name: String,
NameEn: String,
LDefault: False,
Spend: False
},
HCategory:
{
ID: 0,
Name: String,
ParentID: 0,
HCode: String,
Hccrt: String,
NameEn: String,
CrTime: 0001-01-01,
Unid: 00000000000000000000000000000000,
IsDefault: False,
Canceled: False,
ShortDescription: String,
Description: String,
UrlSlug: String,
VideoUrl: String,
ShortDescription2: String,
Description2: String,
MinCount: 0
},
Brutto: 0,
SpendR: False,
PriceUR: 0,
PriceUT: 0,
MDRetail: 0,
MDTrade: 0,
SupDays: 0,
PrStatus: False,
LNotInPrice: False,
MinCountRetail: 0,
RegN: String,
RegDate: 0001-01-01,
RegEndDate: 0001-01-01,
HasSpec: False,
ReCalc: False,
ExciseC: 0,
IsLinked: False,
UnitId: 0,
MinCountTrade: 0,
PPCatName: String,
Images:
[
{
Id: 0,
FileName: String,
Link: String,
Checksum: String,
CreateTime: 0001-01-01,
UpdateTime: 0001-01-01,
IsMain: False
}
],
CBCode: String,
ScaleGroup: 0,
Brand:
{
BrandId: 0,
Abbreviation: String,
Name: String,
BrandNameE: String,
Description: String,
Logo: AA==
},
Attributes:
{
String: String
}
},
VatType: 0,
WHGenLinks:
[
{
ID: 0,
OrderGoodID: 0,
SupllyType: 0,
PrepareType: 0,
WarehouseAcc: String,
CCount: 0,
SCount: 0,
GoodStatus: 0,
OrderGood:
{
OrderGoodID: 0,
OrderID: 0,
ProdPPID: String,
OCount: 0,
Price: 0,
Discount: 0,
GoodInfo:
{
ID: String,
BCode: String,
BBCode: String,
InCode: String,
Name: String,
NameEn: String,
PackBCount: 0,
PackCount: 0,
Netto: 0,
ByWeight: 0,
CategoryID: String,
Category:
{
CategoryID: String,
CategoryCode: String,
CategoryName: String,
Spend: False
},
PPCatID: String,
PCatID: 0,
ProducerID: String,
Producer:
{
ProducerID: String,
ProducerName: String,
CountryId: String,
LOwn: False,
Speend: False,
ProducerNameEnglish: String,
Address: String,
PostalCode: String,
Phone: String,
Fax: String,
Person: String,
Email: String,
Ldefault: False,
MrgId: 0,
Country:
{
CountryId: String,
CountryNe: String,
LDefault: False,
Spend: False,
CountryNu: String
},
ProducerCountry: String
},
Vat: 0,
LifeDays: 0,
Unit: String,
ParentID: String,
MaxDiscount: 0,
IsImported: False,
Dimensions:
{
X: 0,
Y: 0,
Z: 0
},
PackCCount: 0,
PDose: String,
IntCodeID: String,
IntCode:
{
IntCodeID: String,
Name: String,
NameEn: String,
Vat: 0,
TaxMethod: 0,
Tax1: 0,
TaxK: 0
},
ExciseID: 0,
Excise: 0,
DestNumber: String,
PackTypeID: 0,
PriceGR: 0,
PriceGT: 0,
Spend: False,
VatType: 0,
ExtendedInfo:
{
ProdPPID: String,
Description: String,
Anotation: String,
GarantDays: 0,
IsFastFood: False,
DetailedWarehousing: False,
TrackAndTrace: False,
BrandID: 0,
Brand:
{
BrandId: 0,
Abbreviation: String,
Name: String,
BrandNameE: String,
Description: String,
Logo: AA==
},
RType: 0,
SizeId: 0,
ColorId: 0,
GenderId: 0,
Size:
{
Id: 0,
Name: String,
SizeType: 0
},
Color:
{
codeid: 0,
mgrid: 00000000000000000000000000000000,
hname: String,
hnamee: String,
hcode: String,
defval: False,
vm: 0,
vp: 0,
vi: 0,
vd: 0001-01-01,
canceled: False,
crtime: 0001-01-01,
unid: 00000000000000000000000000000000,
IUD: 0
},
Gender:
{
codeid: 0,
mgrid: 00000000000000000000000000000000,
hname: String,
hnamee: String,
hcode: String,
defval: False,
vm: 0,
vp: 0,
vi: 0,
vd: 0001-01-01,
canceled: False,
crtime: 0001-01-01,
unid: 00000000000000000000000000000000,
IUD: 0
},
Meta:
{
String: String
}
},
BarCodes:
[
{
Id: 0,
ProdPPId: String,
BCode: String
}
],
Type:
{
ID: String,
Name: String,
NameEn: String,
LDefault: False,
Spend: False
},
HCategory:
{
ID: 0,
Name: String,
ParentID: 0,
HCode: String,
Hccrt: String,
NameEn: String,
CrTime: 0001-01-01,
Unid: 00000000000000000000000000000000,
IsDefault: False,
Canceled: False,
ShortDescription: String,
Description: String,
UrlSlug: String,
VideoUrl: String,
ShortDescription2: String,
Description2: String,
MinCount: 0
},
Brutto: 0,
SpendR: False,
PriceUR: 0,
PriceUT: 0,
MDRetail: 0,
MDTrade: 0,
SupDays: 0,
PrStatus: False,
LNotInPrice: False,
MinCountRetail: 0,
RegN: String,
RegDate: 0001-01-01,
RegEndDate: 0001-01-01,
HasSpec: False,
ReCalc: False,
ExciseC: 0,
IsLinked: False,
UnitId: 0,
MinCountTrade: 0,
PPCatName: String,
Images:
[
{
Id: 0,
FileName: String,
Link: String,
Checksum: String,
CreateTime: 0001-01-01,
UpdateTime: 0001-01-01,
IsMain: False
}
],
CBCode: String,
ScaleGroup: 0,
Brand:
{
BrandId: 0,
Abbreviation: String,
Name: String,
BrandNameE: String,
Description: String,
Logo: AA==
},
Attributes:
{
String: String
}
},
VatType: 0,
WHGenLinks:
[
{
ID: 0,
OrderGoodID: 0,
SupllyType: 0,
PrepareType: 0,
WarehouseAcc: String,
CCount: 0,
SCount: 0,
GoodStatus: 0,
OrderGood:
{
OrderGoodID: 0,
OrderID: 0,
ProdPPID: String,
OCount: 0,
Price: 0,
Discount: 0,
GoodInfo:
{
ID: String,
BCode: String,
BBCode: String,
InCode: String,
Name: String,
NameEn: String,
PackBCount: 0,
PackCount: 0,
Netto: 0,
ByWeight: 0,
CategoryID: String,
Category:
{
CategoryID: String,
CategoryCode: String,
CategoryName: String,
Spend: False
},
PPCatID: String,
PCatID: 0,
ProducerID: String,
Producer:
{
ProducerID: String,
ProducerName: String,
CountryId: String,
LOwn: False,
Speend: False,
ProducerNameEnglish: String,
Address: String,
PostalCode: String,
Phone: String,
Fax: String,
Person: String,
Email: String,
Ldefault: False,
MrgId: 0,
Country:
{
CountryId: String,
CountryNe: String,
LDefault: False,
Spend: False,
CountryNu: String
},
ProducerCountry: String
},
Vat: 0,
LifeDays: 0,
Unit: String,
ParentID: String,
MaxDiscount: 0,
IsImported: False,
Dimensions:
{
X: 0,
Y: 0,
Z: 0
},
PackCCount: 0,
PDose: String,
IntCodeID: String,
IntCode:
{
IntCodeID: String,
Name: String,
NameEn: String,
Vat: 0,
TaxMethod: 0,
Tax1: 0,
TaxK: 0
},
ExciseID: 0,
Excise: 0,
DestNumber: String,
PackTypeID: 0,
PriceGR: 0,
PriceGT: 0,
Spend: False,
VatType: 0,
ExtendedInfo:
{
ProdPPID: String,
Description: String,
Anotation: String,
GarantDays: 0,
IsFastFood: False,
DetailedWarehousing: False,
TrackAndTrace: False,
BrandID: 0,
Brand:
{
BrandId: 0,
Abbreviation: String,
Name: String,
BrandNameE: String,
Description: String,
Logo: AA==
},
RType: 0,
SizeId: 0,
ColorId: 0,
GenderId: 0,
Size:
{
Id: 0,
Name: String,
SizeType: 0
},
Color:
{
codeid: 0,
mgrid: 00000000000000000000000000000000,
hname: String,
hnamee: String,
hcode: String,
defval: False,
vm: 0,
vp: 0,
vi: 0,
vd: 0001-01-01,
canceled: False,
crtime: 0001-01-01,
unid: 00000000000000000000000000000000,
IUD: 0
},
Gender:
{
codeid: 0,
mgrid: 00000000000000000000000000000000,
hname: String,
hnamee: String,
hcode: String,
defval: False,
vm: 0,
vp: 0,
vi: 0,
vd: 0001-01-01,
canceled: False,
crtime: 0001-01-01,
unid: 00000000000000000000000000000000,
IUD: 0
},
Meta:
{
String: String
}
},
BarCodes:
[
{
Id: 0,
ProdPPId: String,
BCode: String
}
],
Type:
{
ID: String,
Name: String,
NameEn: String,
LDefault: False,
Spend: False
},
HCategory:
{
ID: 0,
Name: String,
ParentID: 0,
HCode: String,
Hccrt: String,
NameEn: String,
CrTime: 0001-01-01,
Unid: 00000000000000000000000000000000,
IsDefault: False,
Canceled: False,
ShortDescription: String,
Description: String,
UrlSlug: String,
VideoUrl: String,
ShortDescription2: String,
Description2: String,
MinCount: 0
},
Brutto: 0,
SpendR: False,
PriceUR: 0,
PriceUT: 0,
MDRetail: 0,
MDTrade: 0,
SupDays: 0,
PrStatus: False,
LNotInPrice: False,
MinCountRetail: 0,
RegN: String,
RegDate: 0001-01-01,
RegEndDate: 0001-01-01,
HasSpec: False,
ReCalc: False,
ExciseC: 0,
IsLinked: False,
UnitId: 0,
MinCountTrade: 0,
PPCatName: String,
Images:
[
{
Id: 0,
FileName: String,
Link: String,
Checksum: String,
CreateTime: 0001-01-01,
UpdateTime: 0001-01-01,
IsMain: False
}
],
CBCode: String,
ScaleGroup: 0,
Brand:
{
BrandId: 0,
Abbreviation: String,
Name: String,
BrandNameE: String,
Description: String,
Logo: AA==
},
Attributes:
{
String: String
}
},
VatType: 0,
WHGenLinks:
[
{
ID: 0,
OrderGoodID: 0,
SupllyType: 0,
PrepareType: 0,
WarehouseAcc: String,
CCount: 0,
SCount: 0,
GoodStatus: 0
}
],
PriceInfo:
{
RetailPrice: 0,
WholesalePrice: 0,
SpecialPrice: 0,
AvgCost: 0,
AvgBuyCost: 0
},
IsSpecPrice: False,
NeedPrepare: False,
PrepareRecipe:
[
{
ID: 0,
PreOrderGoodID: 0,
ProdPPID: String,
GCount: 0,
GType: 0
}
]
}
}
],
PriceInfo:
{
RetailPrice: 0,
WholesalePrice: 0,
SpecialPrice: 0,
AvgCost: 0,
AvgBuyCost: 0
},
IsSpecPrice: False,
NeedPrepare: False,
PrepareRecipe:
[
{
ID: 0,
PreOrderGoodID: 0,
ProdPPID: String,
GCount: 0,
GType: 0
}
]
}
}
],
PriceInfo:
{
RetailPrice: 0,
WholesalePrice: 0,
SpecialPrice: 0,
AvgCost: 0,
AvgBuyCost: 0
},
IsSpecPrice: False,
NeedPrepare: False,
PrepareRecipe:
[
{
ID: 0,
PreOrderGoodID: 0,
ProdPPID: String,
GCount: 0,
GType: 0
}
]
}
],
Services:
[
{
OrderServiceID: 0,
OrderID: 0,
ServiceID: String,
Discount: 0,
Price: 0,
SCount: 0,
VatType: 0,
Service:
{
ServiceID: String,
Code: String,
Name: String,
NameEn: String,
Price: 0,
PriceU: 0,
Vat: 0,
Note: String,
LDefault: False,
Spend: False,
NameN: String
},
DocID: String
}
],
TransportInfo:
{
ID: 0,
PreOrderID: 0,
TransportNumber: String,
TransportDescription: String,
DriverPerNum: String,
DriverName: String,
RSTransportType: 0,
ReciverName: String,
ReciverPerNum: String,
DestinationAddress: String,
RSWaybillType: 0
},
MarketPartID: String,
LoyaltyCardNumber: String,
LoyaltyCard:
{
CardId: String,
Number: String,
Password: String,
CreateDate: 0001-01-01,
ActivationDate: 0001-01-01,
Points: 0,
Discount: 0,
Status: 0,
CardType: 0,
Suspended: False,
Issuer:
{
Id: 0,
Code: String,
Name: String,
IssuerType: 0,
Suspended: False,
CityId: String
},
Owner:
{
Id: 0,
Sn: String,
FirstName: String,
SecondName: String,
LastName: String,
FullName: String,
DateOfBirth: 0001-01-01,
Sex: 0,
UnId: 00000000000000000000000000000000
},
AvaliablePoints: 0
},
IsGift: False,
Coupons:
[
{
Id: 0,
Coupon:
{
Id: 0,
Code: String,
CouponType: 0,
ExpirationDate: 0001-01-01,
Voided: False,
Used: False,
UseTime: 0001-01-01,
Data:
{
Prods:
[
{
ProdId: String,
IsService: 0,
Type: 0,
SCount: 0,
ValueType: 0,
Value: 0,
SCountAdditive: 0
}
]
},
CouponStatus: 0,
ActivateId: 00000000000000000000000000000000,
SpendId: 00000000000000000000000000000000,
CheckSumFrom: 0,
CheckSumTo: 0,
DiscountAmountLimit: 0,
DiscountSumLimit: 0,
SingleCouponPerCheck: 0
},
CrTime: 0001-01-01,
CUser: String
}
]
}
}