NetCard Server Web API

<back to all web services

UpdateCashDispenserDevice

The following routes are available for this service:
POST/CashDispenserDevice/UpdateCashDispenserDevice

To override the Content-type in your clients 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.

POST /xml/reply/UpdateCashDispenserDevice HTTP/1.1 
Host: ncapi.net.au 
Content-Type: application/xml
Content-Length: length

<UpdateCashDispenserDevice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashDispenserDevice">
  <CashDispenserDevice xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
    <d2p1:CashDispenserDeviceId>0</d2p1:CashDispenserDeviceId>
    <d2p1:CashDispenserTypeId>0</d2p1:CashDispenserTypeId>
    <d2p1:CoinFiftyCentQty>0</d2p1:CoinFiftyCentQty>
    <d2p1:CoinFiveCentQty>0</d2p1:CoinFiveCentQty>
    <d2p1:CoinIn>0</d2p1:CoinIn>
    <d2p1:CoinOneQty>0</d2p1:CoinOneQty>
    <d2p1:CoinOut>0</d2p1:CoinOut>
    <d2p1:CoinTenCentQty>0</d2p1:CoinTenCentQty>
    <d2p1:CoinTwentyCentQty>0</d2p1:CoinTwentyCentQty>
    <d2p1:CoinTwoQty>0</d2p1:CoinTwoQty>
    <d2p1:CurrencyId>0</d2p1:CurrencyId>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:DeviceId>0</d2p1:DeviceId>
    <d2p1:ModifiedDate>0001-01-01T00:00:00</d2p1:ModifiedDate>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:NoteFiftyQty>0</d2p1:NoteFiftyQty>
    <d2p1:NoteFiveQty>0</d2p1:NoteFiveQty>
    <d2p1:NoteIn>0</d2p1:NoteIn>
    <d2p1:NoteOneHundredQty>0</d2p1:NoteOneHundredQty>
    <d2p1:NoteOneQty>0</d2p1:NoteOneQty>
    <d2p1:NoteOut>0</d2p1:NoteOut>
    <d2p1:NoteTenQty>0</d2p1:NoteTenQty>
    <d2p1:NoteTwentyQty>0</d2p1:NoteTwentyQty>
    <d2p1:NoteTwoQty>0</d2p1:NoteTwoQty>
  </CashDispenserDevice>
</UpdateCashDispenserDevice>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UpdateCashDispenserDeviceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NetCard.Server.API.ServiceModel.CashDispenserDevice">
  <ErrorCode xmlns="http://schemas.servicestack.net/types">String</ErrorCode>
  <Message xmlns="http://schemas.servicestack.net/types">String</Message>
  <StackTrace xmlns="http://schemas.servicestack.net/types">String</StackTrace>
  <Errors xmlns="http://schemas.servicestack.net/types">
    <ResponseError>
      <ErrorCode>String</ErrorCode>
      <FieldName>String</FieldName>
      <Message>String</Message>
    </ResponseError>
  </Errors>
  <CashDispenserDevice xmlns:d2p1="http://schemas.datacontract.org/2004/07/NetCard.Server.API.DTO">
    <d2p1:CashDispenserDeviceId>0</d2p1:CashDispenserDeviceId>
    <d2p1:CashDispenserTypeId>0</d2p1:CashDispenserTypeId>
    <d2p1:CoinFiftyCentQty>0</d2p1:CoinFiftyCentQty>
    <d2p1:CoinFiveCentQty>0</d2p1:CoinFiveCentQty>
    <d2p1:CoinIn>0</d2p1:CoinIn>
    <d2p1:CoinOneQty>0</d2p1:CoinOneQty>
    <d2p1:CoinOut>0</d2p1:CoinOut>
    <d2p1:CoinTenCentQty>0</d2p1:CoinTenCentQty>
    <d2p1:CoinTwentyCentQty>0</d2p1:CoinTwentyCentQty>
    <d2p1:CoinTwoQty>0</d2p1:CoinTwoQty>
    <d2p1:CurrencyId>0</d2p1:CurrencyId>
    <d2p1:Description>String</d2p1:Description>
    <d2p1:DeviceId>0</d2p1:DeviceId>
    <d2p1:ModifiedDate>0001-01-01T00:00:00</d2p1:ModifiedDate>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:NoteFiftyQty>0</d2p1:NoteFiftyQty>
    <d2p1:NoteFiveQty>0</d2p1:NoteFiveQty>
    <d2p1:NoteIn>0</d2p1:NoteIn>
    <d2p1:NoteOneHundredQty>0</d2p1:NoteOneHundredQty>
    <d2p1:NoteOneQty>0</d2p1:NoteOneQty>
    <d2p1:NoteOut>0</d2p1:NoteOut>
    <d2p1:NoteTenQty>0</d2p1:NoteTenQty>
    <d2p1:NoteTwentyQty>0</d2p1:NoteTwentyQty>
    <d2p1:NoteTwoQty>0</d2p1:NoteTwoQty>
  </CashDispenserDevice>
  <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>
</UpdateCashDispenserDeviceResponse>