HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/CreateCashKioskStatusLog HTTP/1.1
Host: ncapi.net.au
Content-Type: application/xml
Content-Length: length
<CreateCashKioskStatusLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashKioskStatusLog">
<BCRStatusLog xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
<d2p1:CashBoxes>
<d2p1:BCRCashBoxDTO>
<d2p1:Level>0</d2p1:Level>
<d2p1:Name>String</d2p1:Name>
<d2p1:Quantity>0</d2p1:Quantity>
</d2p1:BCRCashBoxDTO>
</d2p1:CashBoxes>
<d2p1:Firmware>String</d2p1:Firmware>
<d2p1:Hoppers>
<d2p1:BCRHopperDTO>
<d2p1:Level>0</d2p1:Level>
<d2p1:Max>0</d2p1:Max>
<d2p1:Name>String</d2p1:Name>
<d2p1:Quantity>0</d2p1:Quantity>
</d2p1:BCRHopperDTO>
</d2p1:Hoppers>
<d2p1:Serial>String</d2p1:Serial>
</BCRStatusLog>
<BNRStatusLog xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
<d2p1:CashBoxes>
<d2p1:BNRCashBoxDTO>
<d2p1:Level>0</d2p1:Level>
<d2p1:Name>String</d2p1:Name>
<d2p1:Quantity>0</d2p1:Quantity>
</d2p1:BNRCashBoxDTO>
</d2p1:CashBoxes>
<d2p1:CashDispenserDeviceId>0</d2p1:CashDispenserDeviceId>
<d2p1:Firmware>String</d2p1:Firmware>
<d2p1:Loaders>
<d2p1:BNRLoaderDTO>
<d2p1:Level>0</d2p1:Level>
<d2p1:Name>String</d2p1:Name>
<d2p1:Quantity>0</d2p1:Quantity>
</d2p1:BNRLoaderDTO>
</d2p1:Loaders>
<d2p1:Recyclers>
<d2p1:BNRRecyclerDTO>
<d2p1:Level>0</d2p1:Level>
<d2p1:Max>0</d2p1:Max>
<d2p1:Name>String</d2p1:Name>
<d2p1:Quantity>0</d2p1:Quantity>
</d2p1:BNRRecyclerDTO>
</d2p1:Recyclers>
</BNRStatusLog>
<CashDispenserDeviceId>0</CashDispenserDeviceId>
<CollectedCoinAmount>0</CollectedCoinAmount>
<CollectedNoteAmount>0</CollectedNoteAmount>
<Description>String</Description>
<IsToResetCashTotal>false</IsToResetCashTotal>
<IsUserTransaction>false</IsUserTransaction>
<OtherInfo>String</OtherInfo>
<UserId>0</UserId>
</CreateCashKioskStatusLog>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CreateCashKioskStatusLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashKioskStatusLog">
<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:ResponseError>
</d2p1:Errors>
</ResponseStatus>
</CreateCashKioskStatusLogResponse>