ApexERPHost

<back to all web services

SaveMultiManufacture

Requires Authentication
The following routes are available for this service:
POST/Accounting/MultiManufacture
SaveMultiManufacture Parameters:
NameParameterData TypeRequiredDescription
DDatebodyDateTimeNo
OperIDbodystringNo
DBbodystringNo
CRbodystringNo
TagsbodystringNo
MOperIDbodystringNo
MDBbodystringNo
MTagsbodystringNo
ProdDatabodyList<ProductionReciept>No
NumberOutbodystringNo
ProductionReciept Parameters:
NameParameterData TypeRequiredDescription
ProdPP_idformstringNo
ICountformdecimalNo
ReceiptformList<Receipt>No
LifeDateformDateTime?No
CodeformstringNo
ICountUformdecimal?No
Receipt Parameters:
NameParameterData TypeRequiredDescription
ReceiptIDformGuidYes
ReceiptNumformintNo
ReceiptLinkformint?No
OpTypeformbyteYes1 - Sale, 2 - Return sale, 3 - Void sale, 4 - Void return sale, 5 - Cash in, 6 - Cash out, 7 - X report, 8 - Z report (Close batch), 9 - Open batch, 11 - Gift, 12 - Return gift, 13 - Void gift, 14 - Void return gift
DiplomatIDformstringNo
DiscountCardformstringNo
DicountCardRateformdecimal?No
ProdsformList<ReceiptProduct>NoSold goods/services
PaymentsformList<ReceiptPayment>NoReceived payments
InnerOpersformList<ReceiptInnerOper>NoX/Z/CashIn/CashOut - info
ClientInfoformList<ReceiptCLInfo>NoWholesale client info + waybill info
AltXformintNo
OfflineformboolNo
ServiceCodeformstringNo
ServicePriceformdecimal?No
RecStatusformintYes0 - active(open), 1 - suspended, 2 - deleted, 3 - suspended deleted, 4 - closed, 5 - rezerved for future 6 - closed deleted
EditedStatusformint?No
ActionIdformGuid?No
ActionPointsformdecimalNo
ActionNoteformstringNo
DiscountCardPointKformdecimal?No
PointsSpentformdecimal?No
CouponsformList<ReceiptCoupon>No
PhInfoformReceiptPhInfoNo
TaxFreeInfoformList<ReceiptTaxFreeInfo>No
ConsultantformList<ReceiptConsultant>No
LotteryformList<ReceiptLottery>No
ManzanaChequesformList<ReceiptManzCheques>No
PrescriptionsformList<MohPrescription>No
PrescriptionProdsformList<MohPrescriptionProds>No
ReceiptDataformList<PosReceiptData>No
ReceiptLinkIdformGuid?No
FiscalTypeformint?No
FiscalSignformstringNo
ReceiptActionsformList<ReceiptActions>No
ReceiptProduct Parameters:
NameParameterData TypeRequiredDescription
ProdRecIDformGuidYes
RecTypeformbyteNo
ProdPPIDformstringYesProductId
PriceformdecimalYes
SCountformdecimalYesQuantity
VgformdecimalYesTotal amount = (Price * Scount) * ( 1 - Discount)
VatformdecimalYesVat %
Discountformdecimal?NoDiscount %
CashierIDformintYes
Pointsformdecimal?No
OpDateformDateTimeYes
RecStatusformbyteYesSame as receipt RecStatus
UTypeHformboolNo
SupplieIdformstringNo
IsServiceformintYesGood or service
DescriptionformstringNo
PTypeformint?No
OpDtChformDateTime?No
OpDtDelformDateTime?No
OrdNumformint?No
GiftStatusformint?No
ChangeLogformList<ReceiptProductLog>No
ReceiptProductLog Parameters:
NameParameterData TypeRequiredDescription
RecIdformGuidNo
SCountformdecimalNo
CashierIDformintNo
OpDtChformDateTimeNo
ReceiptPayment Parameters:
NameParameterData TypeRequiredDescription
PaymentIDformGuidYes
RecTypeformbyteNo
PaymentTypeformbyteYes0 - Cash, for other see /POS/PaymentTypes
Amountformdecimal?Yes
CashierIDformintYes
OpDateformDateTimeYes
RecStatusformbyteYesSame as receipt RecStatus
PaymentSubTypeformstringNo
PaymentSubTypeIdformstringNo
OpDtDelformDateTime?No
ReceiptInnerOper Parameters:
NameParameterData TypeRequiredDescription
RecIDformGuidNo
RecTypeformbyteNo
CashierIDformintNo
OpDateformDateTimeNo
Amountformdecimal?No
PriceGformdecimal?No
SPriceGformdecimal?No
GDiscountformdecimal?No
PriceUformdecimal?No
SPriceDefDformdecimal?No
PriceDefGformdecimal?No
SPriceDefGformdecimal?No
GPointsformdecimal?No
SGPointsformdecimal?No
BPriceUformdecimal?No
BPriceDefGformdecimal?No
PaymentIDformGuid?No
PaymentTypeformint?No
ReceiptCLInfo Parameters:
NameParameterData TypeRequiredDescription
rec_idformGuidNo
docs_idformstringNo
buer_nformstringNo
buer_informstringNo
buer_addrformstringNo
cons_nformstringNo
consee_nformstringNo
tr_markformstringNo
tr_nformstringNo
tr_sertformstringNo
payment_nformstringNo
payment_dformDateTime?No
accformstringNo
opkindformint?No
trkindformint?No
tr_otherformstringNo
drforeignformbool?No
drnameformstringNo
trpayformdecimal?No
trwhopayformdecimal?No
bforeignformbool?No
notesformstringNo
delivery_dformDateTime?No
idformint?No
statusformdecimal?No
ChainedformDateTime?No
DeletedformboolNo
taxdoc_idformlong?No
car_modelformstringNo
cashieridformint?No
ReceiptCoupon Parameters:
NameParameterData TypeRequiredDescription
RecIdformGuidNo
CouponIdformintNo
CashierIdformintNo
OpDateformDateTimeNo
StatusformintNo
ReceiptPhInfo Parameters:
NameParameterData TypeRequiredDescription
CompIdformint?No
AccformstringNo
AccNuformstringNo
ProviderServiceIdformstringNo
MarketPartIdformstringNo
MarketPartNameformstringNo
InsurancePoliceformstringNo
PrescriptionNumformstringNo
PernumformstringNo
CardNformstringNo
DoctorformstringNo
FirstNameformstringNo
LastNameformstringNo
Limit1formdecimal?No
Limit2formint?No
Ensurerformdecimal?No
Ensuredformdecimal?No
NoteformstringNo
ByServiceformbool?No
ReceiptTaxFreeInfo Parameters:
NameParameterData TypeRequiredDescription
rec_idformGuidNo
first_nameformstringNo
last_nameformstringNo
pasport_numformstringNo
pasport_serieformstringNo
personal_numberformstringNo
country_idformstringNo
addressformstringNo
cashieridformintNo
opdatetimeformDateTimeNo
opkindformintNo
rec_statusformintNo
ReceiptConsultant Parameters:
NameParameterData TypeRequiredDescription
rec_idformGuidNo
consultant_idformintNo
noteformstringNo
cashieridformintNo
opdatetimeformDateTimeNo
opkindformintNo
rec_statusformintNo
good_idformGuid?No
ReceiptLottery Parameters:
NameParameterData TypeRequiredDescription
RecIdformGuidNo
LinkRecIdformGuid?No
LotteryCodeformstringNo
InnerOperIdformGuid?No
PaymentIdformGuid?No
IduniqueformintNo
StageformintNo
DtstampformDateTime?No
LotoptypeformintNo
PersonalIdformstringNo
FirstNameformstringNo
LastNameformstringNo
BirthDateformDateTime?No
MobilePhformstringNo
AddressformstringNo
UniqueReqIdformlong?No
ConfigVersionformstringNo
CurrentTimeformDateTime?No
DescriptionformstringNo
DetailedReasonformstringNo
DrawConfigVersionformstringNo
DrawPrizesformstringNo
GameIdformstringNo
GameNameformstringNo
HumanMessageformstringNo
Payoutformdecimal?No
ResultformstringNo
SerialformstringNo
TaxesformstringNo
TotalPrizeformdecimal?No
TotalTaxformdecimal?No
ReceiptManzCheques Parameters:
NameParameterData TypeRequiredDescription
cardidformstringNo
soft_requestformstringNo
soft_responseformstringNo
soft_error_xmlformstringNo
fiscal_requestformstringNo
fiscal_responseformstringNo
fiscal_error_xmlformstringNo
back_requestformstringNo
back_responseformstringNo
back_error_xmlformstringNo
back_timeformDateTime?No
back_pointsformdecimal?No
upload_statusformintNo
MohPrescription Parameters:
NameParameterData TypeRequiredDescription
UNIDformintNo
DSformstringNo
Is_GenericformintNo
Product_IDformintNo
Prescr_IDformstringNo
RecipeNoformstringNo
Oper_DateformDateTime?No
DurationformDateTime?No
Prod_DescrformstringNo
ProductGenericformstringNo
Dosage_PrivformboolNo
Prod_CountformintNo
Prod_LeftformintNo
StatusformstringNo
PharmaTherapyGroupformstringNo
IssuanceModeformstringNo
IdNumberformstringNo
BirthdayformDateTime?No
MohPrescriptionProds Parameters:
NameParameterData TypeRequiredDescription
good_idformGuidNo
receipt_idformGuidNo
UNIDformintNo
ProdPharmCntformintNo
ProdCntformintNo
NewDSformstringNo
ReciverIDformstringNo
Sale_UNIDformint?No
SaleStatusformintNo
PosReceiptData Parameters:
NameParameterData TypeRequiredDescription
idformint?No
receipt_idformGuidNo
card_idformstringNo
data_typeformReceiptDataTypeNo
dataformstringNo
rec_statusformintNo
ReceiptActions Parameters:
NameParameterData TypeRequiredDescription
rec_idformGuidNo
good_idformGuid?No
action_idformGuidNo
old_vgformdecimalNo
new_vgformdecimalNo
old_pointformdecimalNo
new_pointformdecimalNo
action_typeformintNo
ord_numformintNo
SaveMultiManufactureResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<string>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Accounting/MultiManufacture HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SaveMultiManufacture xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
  <DDate>0001-01-01T00:00:00</DDate>
  <OperID>String</OperID>
  <DB>String</DB>
  <CR>String</CR>
  <Tags>String</Tags>
  <MOperID>String</MOperID>
  <MDB>String</MDB>
  <MTags>String</MTags>
  <ProdData>
    <ProductionReciept>
      <ProdPP_id>String</ProdPP_id>
      <ICount>0</ICount>
      <Receipt>
        <Receipt>
          <MProdpPP_id>String</MProdpPP_id>
          <SCount>0</SCount>
          <Supplies_id>String</Supplies_id>
        </Receipt>
      </Receipt>
      <LifeDate>0001-01-01T00:00:00</LifeDate>
      <Code>String</Code>
      <ICountU>0</ICountU>
    </ProductionReciept>
  </ProdData>
  <NumberOut>String</NumberOut>
</SaveMultiManufacture>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SaveMultiManufactureResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Result xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Result>
</SaveMultiManufactureResponse>