HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: ncapi.net.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateCashManagementLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashManagementLog">
<BCRStatusLogId>0</BCRStatusLogId>
<BNRStatusLogId>0</BNRStatusLogId>
<CashDispenserDeviceId>0</CashDispenserDeviceId>
<CashFlowStatusLogId>0</CashFlowStatusLogId>
<CashManagementLogId>0</CashManagementLogId>
<CoinAcceptorStatusLogId>0</CoinAcceptorStatusLogId>
<CollectedCoinAmount>0</CollectedCoinAmount>
<CollectedNoteAmount>0</CollectedNoteAmount>
<DateCreatedUtc>0001-01-01T00:00:00</DateCreatedUtc>
<DatePrinted>0001-01-01T00:00:00</DatePrinted>
<Description>String</Description>
<DeviceId>0</DeviceId>
<ForCollection>false</ForCollection>
<IsUserTransaction>false</IsUserTransaction>
<NoteAcceptorStatusLogId>0</NoteAcceptorStatusLogId>
<OtherInfo>String</OtherInfo>
<TotalAmount>0</TotalAmount>
<TotalCoinAmount>0</TotalCoinAmount>
<TotalMoneyIn>0</TotalMoneyIn>
<TotalMoneyOut>0</TotalMoneyOut>
<TotalNoteAmount>0</TotalNoteAmount>
<UpdateDate>0001-01-01T00:00:00</UpdateDate>
<UserId>0</UserId>
</UpdateCashManagementLog>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UpdateCashManagementLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.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>
</UpdateCashManagementLogResponse>
</soap12:Body>
</soap12:Envelope>