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.
PUT /POS/SaveSettings HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SavePostSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.POS">
<PosSettings>
<cashn>0</cashn>
<orgname>String</orgname>
<orgid>String</orgid>
<orgaddress>String</orgaddress>
<fastfood>false</fastfood>
<ofteng>false</ofteng>
<combosale>false</combosale>
<combosalex>false</combosalex>
<wholesale>false</wholesale>
<whsauton>false</whsauton>
<altprice>0</altprice>
<altinpr>0</altinpr>
<altpriceboundary>0</altpriceboundary>
<service>0</service>
<serviceprice>0</serviceprice>
<cardact>String</cardact>
<cardacton>false</cardacton>
<cardps>String</cardps>
<autoquit>PT0S</autoquit>
<toarchin>0</toarchin>
<printGrouped>false</printGrouped>
<saleWithSPriceg>false</saleWithSPriceg>
<linectrl>0</linectrl>
<round_to>0</round_to>
<goodssuminpoints>0</goodssuminpoints>
<bwinmonth>false</bwinmonth>
<bwprctrl>0</bwprctrl>
<orgdmd>String</orgdmd>
<orgrest>String</orgrest>
<devadv>String</devadv>
<advert>false</advert>
<advdelay>0</advdelay>
<prprodnw>0</prprodnw>
<logosm>false</logosm>
<urlleft>String</urlleft>
<urlright>String</urlright>
<urlbottom>String</urlbottom>
<advrtype>0</advrtype>
<prdblrp>0</prdblrp>
<prfull>false</prfull>
<prrmnd>false</prrmnd>
<prlogo>false</prlogo>
<is_claimed>false</is_claimed>
<VoucherPaymentType>0</VoucherPaymentType>
<AllowOffline>false</AllowOffline>
<LimetedCardPaymentType>0</LimetedCardPaymentType>
<defPaymentType>0</defPaymentType>
<saleCheckPrefix>String</saleCheckPrefix>
<saleCheckSuffix>String</saleCheckSuffix>
<PrintCompactZ>false</PrintCompactZ>
<RestrictedPaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</RestrictedPaymentTypes>
<GoodsByBranch>0</GoodsByBranch>
<autosavein>0</autosavein>
<pharmasale>false</pharmasale>
<Script>
<Id>00000000-0000-0000-0000-000000000000</Id>
<Name>String</Name>
<Description>String</Description>
<VersionCode>0</VersionCode>
<Body>String</Body>
<Spend>false</Spend>
</Script>
<BankName>String</BankName>
<BankCode>String</BankCode>
<BankAccount>String</BankAccount>
<BranchId>0</BranchId>
<pointsProportionalToAmounth>false</pointsProportionalToAmounth>
<RangeCalc>0</RangeCalc>
<coupon>false</coupon>
<AllowSkipFD>false</AllowSkipFD>
<packetActions>false</packetActions>
<movewithprice>false</movewithprice>
<VoucherPaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</VoucherPaymentTypes>
<LimitedCardPaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</LimitedCardPaymentTypes>
<UnMarkedPyScriptTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</UnMarkedPyScriptTypes>
<usedskin>String</usedskin>
<roundingCashArithmetically>false</roundingCashArithmetically>
<saleWithCBCode>false</saleWithCBCode>
<printGoodsAmountInDecimal>false</printGoodsAmountInDecimal>
<showGoodsWithoutAmount>false</showGoodsWithoutAmount>
<printGoodsInOneLine>false</printGoodsInOneLine>
<paymentDocument>false</paymentDocument>
<daylife>0</daylife>
<phonenumber>String</phonenumber>
<cashBackLimitPerCheck>0</cashBackLimitPerCheck>
<cashBackLimitPerCheckGoodsSumCoefficient>0</cashBackLimitPerCheckGoodsSumCoefficient>
<WarehouseAcc>String</WarehouseAcc>
<minChSumForDrDownBySrv>0</minChSumForDrDownBySrv>
<multCardsForDrDownBySrv>false</multCardsForDrDownBySrv>
<decAccPriceMax>false</decAccPriceMax>
<VoucherPlusPaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</VoucherPlusPaymentTypes>
<minChSumForVouchersPlus>0</minChSumForVouchersPlus>
<multCardsForVouchersPlus>false</multCardsForVouchersPlus>
<LotteryPaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</LotteryPaymentTypes>
<activateParkingFrom>0</activateParkingFrom>
<shopbag>String</shopbag>
<InXZhideLottaryCashBack>0</InXZhideLottaryCashBack>
<LoayaltyCardPickByHandRestrictedIssuer xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</LoayaltyCardPickByHandRestrictedIssuer>
<LoyaltyOnlineAPI>0</LoyaltyOnlineAPI>
<SocarCardPaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</SocarCardPaymentTypes>
<cardByHandRestrictedInLoyaltyOnlineAPI>false</cardByHandRestrictedInLoyaltyOnlineAPI>
<PinPadWaitTime>String</PinPadWaitTime>
<ReturnToFM>0</ReturnToFM>
<DeliveryCompanies xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</DeliveryCompanies>
<AllowFiscalBackSale>0</AllowFiscalBackSale>
<AllowStornCheckWithLOApay>0</AllowStornCheckWithLOApay>
<VoucherOnLinePaymentTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>0</d3p1:int>
</VoucherOnLinePaymentTypes>
<TransportAutoFill>0</TransportAutoFill>
<AllowWaybillWithoutAcc>0</AllowWaybillWithoutAcc>
<CheckConsignationLimit>0</CheckConsignationLimit>
<FillWaybillNoteWithBankDet>0</FillWaybillNoteWithBankDet>
<roundingArithmetically>false</roundingArithmetically>
<LoaPayRestriction>0</LoaPayRestriction>
<SelfPayRestriction>0</SelfPayRestriction>
<VoucherId>String</VoucherId>
<VoucherExpireMonths>0</VoucherExpireMonths>
<voucherRegistration>false</voucherRegistration>
<consultantChain>0</consultantChain>
<GiftToFiscal>0</GiftToFiscal>
<GoodsAmountWarning>0</GoodsAmountWarning>
<CheckSumLimit>0</CheckSumLimit>
<CheckUploadedBeforeZ>0</CheckUploadedBeforeZ>
<CheckDiplomat>0</CheckDiplomat>
<SAPIntegration>0</SAPIntegration>
</PosSettings>
</SavePostSettings>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SavePostSettingsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.POS">
<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>false</Result>
</SavePostSettingsResponse>