NetCard Server Web API

<back to all web services

CreateCashKioskStatusLog

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CreateCashKioskStatusLog

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<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>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<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>

    </soap:Body>
</soap:Envelope>