HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetLatestCashManagementAndStatusLogsByDeviceId HTTP/1.1
Host: ncapi.net.au
Content-Type: application/xml
Content-Length: length
<GetLatestCashManagementAndStatusLogsByDeviceId xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashManagementLog">
<DeviceId>0</DeviceId>
</GetLatestCashManagementAndStatusLogsByDeviceId>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetLatestCashManagementAndStatusLogsByDeviceIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashManagementLog">
<CashManagementLog xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
<d2p1:BCRStatusLog>
<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>
</d2p1:BCRStatusLog>
<d2p1:BCRStatusLogId>0</d2p1:BCRStatusLogId>
<d2p1:BNRStatusLog>
<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>
</d2p1:BNRStatusLog>
<d2p1:BNRStatusLogId>0</d2p1:BNRStatusLogId>
<d2p1:CashDispenserDeviceId>0</d2p1:CashDispenserDeviceId>
<d2p1:CashFlowStatusLogId>0</d2p1:CashFlowStatusLogId>
<d2p1:CashManagementLogId>0</d2p1:CashManagementLogId>
<d2p1:CoinAcceptorStatusLogId>0</d2p1:CoinAcceptorStatusLogId>
<d2p1:CollectedCoinAmount>0</d2p1:CollectedCoinAmount>
<d2p1:CollectedNoteAmount>0</d2p1:CollectedNoteAmount>
<d2p1:DateCreatedUtc>0001-01-01T00:00:00</d2p1:DateCreatedUtc>
<d2p1:DatePrinted>0001-01-01T00:00:00</d2p1:DatePrinted>
<d2p1:Description>String</d2p1:Description>
<d2p1:DeviceId>0</d2p1:DeviceId>
<d2p1:ForCollection>false</d2p1:ForCollection>
<d2p1:IsUserTransaction>false</d2p1:IsUserTransaction>
<d2p1:NoteAcceptorStatusLogId>0</d2p1:NoteAcceptorStatusLogId>
<d2p1:OtherInfo>String</d2p1:OtherInfo>
<d2p1:TotalAmount>0</d2p1:TotalAmount>
<d2p1:TotalCoinAmount>0</d2p1:TotalCoinAmount>
<d2p1:TotalMoneyIn>0</d2p1:TotalMoneyIn>
<d2p1:TotalMoneyOut>0</d2p1:TotalMoneyOut>
<d2p1:TotalNoteAmount>0</d2p1:TotalNoteAmount>
<d2p1:UpdateDate>0001-01-01T00:00:00</d2p1:UpdateDate>
<d2p1:UserId>0</d2p1:UserId>
</CashManagementLog>
<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>
</GetLatestCashManagementAndStatusLogsByDeviceIdResponse>