POST api/Retail/AddElectronicDevices
Request Information
URI Parameters
None.
Body Parameters
ElectronicDevicesName | Description | Type | Additional 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
CreateResultWithDocumentsKeysName | Description | Type | Additional information |
---|---|---|---|
Rows | Collection of DocumentKeys |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of ErrorWithKeys |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Rows> <DocumentKeys> <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> </DocumentKeys> <DocumentKeys> <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> </DocumentKeys> </Rows> <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> </CreateResult>