POST api/Retail/ModifyElectronicDevices

Request Information

URI Parameters

None.

Body Parameters

ElectronicDevices
NameDescriptionTypeAdditional information
ElectronicDevice

Collection of ElectronicDevice

None.

Request Formats

application/xml, text/xml

Sample:
<ElectronicDevices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ElectronicDevice>
    <BusinessPremisesID>sample string 1</BusinessPremisesID>
    <ElectronicDeviceID>sample string 2</ElectronicDeviceID>
    <ElectronicDeviceName>sample string 3</ElectronicDeviceName>
    <InvoiceBookID>sample string 4</InvoiceBookID>
    <Active>true</Active>
  </ElectronicDevice>
  <ElectronicDevice>
    <BusinessPremisesID>sample string 1</BusinessPremisesID>
    <ElectronicDeviceID>sample string 2</ElectronicDeviceID>
    <ElectronicDeviceName>sample string 3</ElectronicDeviceName>
    <InvoiceBookID>sample string 4</InvoiceBookID>
    <Active>true</Active>
  </ElectronicDevice>
</ElectronicDevices>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateResultOfErrorWithKeys
NameDescriptionTypeAdditional information
ResultCode

ExternalResultCode

None.

Errors

Collection of ErrorWithKeys

None.

Response Formats

application/xml, text/xml

Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
      <Keys>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
        <Key>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
        </Key>
      </Keys>
    </Error>
  </Errors>
</UpdateResult>