POST api/v1/RestaurantPrinting/PrinterServiceDevices

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
details
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SubscriberName": "sample string 1",
  "PublicationType": 0,
  "PublicationId": 2,
  "SyncInterval": 3,
  "PushInterval": 4,
  "TaskRefreshInterval": 5,
  "ClearDownInterval": 6,
  "ServerName": "sample string 7",
  "DatabaseName": "sample string 8",
  "LastEventTime": "2024-11-21T09:48:45.3807076+00:00",
  "ErrorMessage": "sample string 10",
  "ExpiryDays": 11,
  "HasTempCommands": true,
  "LocalDbName": "sample string 13",
  "ServiceUrl": "sample string 14",
  "ServerDatetime": "2024-11-21T09:48:45.3807076+00:00",
  "LiveStatusCompanyId": 16,
  "IsMobile": true,
  "LicenceCount": 18,
  "DefaultFileSetId": 19,
  "LicenceKey": "sample string 20",
  "SubscriptionStatus": 0,
  "SnaphotFileName": "sample string 21",
  "LastSnapshotCTVersion": 22,
  "SubscriberId": 23,
  "ScriptPending": "sample string 24",
  "SubscriberTraceLevel": 0,
  "SyncResponse": {
    "LastRowVersion": 1,
    "SqlCommands": [
      {
        "TableName": "sample string 1",
        "ChangeOperation": "sample string 2",
        "RowData": "sample string 3"
      },
      {
        "TableName": "sample string 1",
        "ChangeOperation": "sample string 2",
        "RowData": "sample string 3"
      },
      {
        "TableName": "sample string 1",
        "ChangeOperation": "sample string 2",
        "RowData": "sample string 3"
      }
    ],
    "SqlCommandBytes": "QEBA",
    "ErrorMessage": "sample string 2",
    "HasTempCommands": true
  },
  "IsPendingSelect": true
}

application/xml, text/xml

Sample:
<SubscriberDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
  <IsPendingSelect>true</IsPendingSelect>
  <LastSnapshotCTVersion>22</LastSnapshotCTVersion>
  <LicenceKey>sample string 20</LicenceKey>
  <ScriptPending>sample string 24</ScriptPending>
  <SnaphotFileName>sample string 21</SnaphotFileName>
  <SubscriberId>23</SubscriberId>
  <SubscriberTraceLevel>Off</SubscriberTraceLevel>
  <SubscriptionStatus>Created</SubscriptionStatus>
  <SyncResponse>
    <ErrorMessage>sample string 2</ErrorMessage>
    <HasTempCommands>true</HasTempCommands>
    <LastRowVersion>1</LastRowVersion>
    <SqlCommandBytes>QEBA</SqlCommandBytes>
    <SqlCommands>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
      <SyncCommand>
        <ChangeOperation>sample string 2</ChangeOperation>
        <RowData>sample string 3</RowData>
        <TableName>sample string 1</TableName>
      </SyncCommand>
    </SqlCommands>
  </SyncResponse>
  <ClearDownInterval>6</ClearDownInterval>
  <DatabaseName>sample string 8</DatabaseName>
  <DefaultFileSetId>19</DefaultFileSetId>
  <ErrorMessage>sample string 10</ErrorMessage>
  <ExpiryDays>11</ExpiryDays>
  <HasTempCommands>true</HasTempCommands>
  <IsMobile>true</IsMobile>
  <LastEventTime>2024-11-21T09:48:45.3807076+00:00</LastEventTime>
  <LicenceCount>18</LicenceCount>
  <LiveStatusCompanyId>16</LiveStatusCompanyId>
  <LocalDbName>sample string 13</LocalDbName>
  <PublicationId>2</PublicationId>
  <PublicationType>None</PublicationType>
  <PushInterval>4</PushInterval>
  <ServerDatetime>2024-11-21T09:48:45.3807076+00:00</ServerDatetime>
  <ServerName>sample string 7</ServerName>
  <ServiceUrl>sample string 14</ServiceUrl>
  <SubscriberName>sample string 1</SubscriberName>
  <SyncInterval>3</SyncInterval>
  <TaskRefreshInterval>5</TaskRefreshInterval>
</SubscriberDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "LocationDescription": "sample string 1",
    "ShowVatBreakdown": true,
    "NumberOfPrintCopies": 3,
    "LocationId": 4,
    "OrderPullInterval": 5,
    "EmailNotificationSMTP": "sample string 6",
    "EmailNotificationFrom": "sample string 7",
    "EmailAlertsTo": "sample string 8",
    "EmailOnlineOrdersTo": "sample string 9",
    "SMSAlertsTo": "sample string 10",
    "FooterLine4": "sample string 11",
    "FooterLine3": "sample string 12",
    "FooterLine2": "sample string 13",
    "FooterLine1": "sample string 14",
    "HeaderLine3": "sample string 15",
    "HeaderLine2": "sample string 16",
    "HeaderLine1": "sample string 17",
    "OrderSequence": 18,
    "Status": 19,
    "PrinterType": 20,
    "SettingsXML": "sample string 21",
    "DeviceId": 22
  },
  {
    "LocationDescription": "sample string 1",
    "ShowVatBreakdown": true,
    "NumberOfPrintCopies": 3,
    "LocationId": 4,
    "OrderPullInterval": 5,
    "EmailNotificationSMTP": "sample string 6",
    "EmailNotificationFrom": "sample string 7",
    "EmailAlertsTo": "sample string 8",
    "EmailOnlineOrdersTo": "sample string 9",
    "SMSAlertsTo": "sample string 10",
    "FooterLine4": "sample string 11",
    "FooterLine3": "sample string 12",
    "FooterLine2": "sample string 13",
    "FooterLine1": "sample string 14",
    "HeaderLine3": "sample string 15",
    "HeaderLine2": "sample string 16",
    "HeaderLine1": "sample string 17",
    "OrderSequence": 18,
    "Status": 19,
    "PrinterType": 20,
    "SettingsXML": "sample string 21",
    "DeviceId": 22
  },
  {
    "LocationDescription": "sample string 1",
    "ShowVatBreakdown": true,
    "NumberOfPrintCopies": 3,
    "LocationId": 4,
    "OrderPullInterval": 5,
    "EmailNotificationSMTP": "sample string 6",
    "EmailNotificationFrom": "sample string 7",
    "EmailAlertsTo": "sample string 8",
    "EmailOnlineOrdersTo": "sample string 9",
    "SMSAlertsTo": "sample string 10",
    "FooterLine4": "sample string 11",
    "FooterLine3": "sample string 12",
    "FooterLine2": "sample string 13",
    "FooterLine1": "sample string 14",
    "HeaderLine3": "sample string 15",
    "HeaderLine2": "sample string 16",
    "HeaderLine1": "sample string 17",
    "OrderSequence": 18,
    "Status": 19,
    "PrinterType": 20,
    "SettingsXML": "sample string 21",
    "DeviceId": 22
  }
]

application/xml, text/xml

Sample:
<ArrayOfPrinterDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Devices">
  <PrinterDetails>
    <DeviceId>22</DeviceId>
    <EmailAlertsTo>sample string 8</EmailAlertsTo>
    <EmailNotificationFrom>sample string 7</EmailNotificationFrom>
    <EmailNotificationSMTP>sample string 6</EmailNotificationSMTP>
    <EmailOnlineOrdersTo>sample string 9</EmailOnlineOrdersTo>
    <FooterLine1>sample string 14</FooterLine1>
    <FooterLine2>sample string 13</FooterLine2>
    <FooterLine3>sample string 12</FooterLine3>
    <FooterLine4>sample string 11</FooterLine4>
    <HeaderLine1>sample string 17</HeaderLine1>
    <HeaderLine2>sample string 16</HeaderLine2>
    <HeaderLine3>sample string 15</HeaderLine3>
    <LocationDescription>sample string 1</LocationDescription>
    <LocationId>4</LocationId>
    <NumberOfPrintCopies>3</NumberOfPrintCopies>
    <OrderPullInterval>5</OrderPullInterval>
    <OrderSequence>18</OrderSequence>
    <PrinterType>20</PrinterType>
    <SMSAlertsTo>sample string 10</SMSAlertsTo>
    <SettingsXML>sample string 21</SettingsXML>
    <ShowVatBreakdown>true</ShowVatBreakdown>
    <Status>19</Status>
  </PrinterDetails>
  <PrinterDetails>
    <DeviceId>22</DeviceId>
    <EmailAlertsTo>sample string 8</EmailAlertsTo>
    <EmailNotificationFrom>sample string 7</EmailNotificationFrom>
    <EmailNotificationSMTP>sample string 6</EmailNotificationSMTP>
    <EmailOnlineOrdersTo>sample string 9</EmailOnlineOrdersTo>
    <FooterLine1>sample string 14</FooterLine1>
    <FooterLine2>sample string 13</FooterLine2>
    <FooterLine3>sample string 12</FooterLine3>
    <FooterLine4>sample string 11</FooterLine4>
    <HeaderLine1>sample string 17</HeaderLine1>
    <HeaderLine2>sample string 16</HeaderLine2>
    <HeaderLine3>sample string 15</HeaderLine3>
    <LocationDescription>sample string 1</LocationDescription>
    <LocationId>4</LocationId>
    <NumberOfPrintCopies>3</NumberOfPrintCopies>
    <OrderPullInterval>5</OrderPullInterval>
    <OrderSequence>18</OrderSequence>
    <PrinterType>20</PrinterType>
    <SMSAlertsTo>sample string 10</SMSAlertsTo>
    <SettingsXML>sample string 21</SettingsXML>
    <ShowVatBreakdown>true</ShowVatBreakdown>
    <Status>19</Status>
  </PrinterDetails>
  <PrinterDetails>
    <DeviceId>22</DeviceId>
    <EmailAlertsTo>sample string 8</EmailAlertsTo>
    <EmailNotificationFrom>sample string 7</EmailNotificationFrom>
    <EmailNotificationSMTP>sample string 6</EmailNotificationSMTP>
    <EmailOnlineOrdersTo>sample string 9</EmailOnlineOrdersTo>
    <FooterLine1>sample string 14</FooterLine1>
    <FooterLine2>sample string 13</FooterLine2>
    <FooterLine3>sample string 12</FooterLine3>
    <FooterLine4>sample string 11</FooterLine4>
    <HeaderLine1>sample string 17</HeaderLine1>
    <HeaderLine2>sample string 16</HeaderLine2>
    <HeaderLine3>sample string 15</HeaderLine3>
    <LocationDescription>sample string 1</LocationDescription>
    <LocationId>4</LocationId>
    <NumberOfPrintCopies>3</NumberOfPrintCopies>
    <OrderPullInterval>5</OrderPullInterval>
    <OrderSequence>18</OrderSequence>
    <PrinterType>20</PrinterType>
    <SMSAlertsTo>sample string 10</SMSAlertsTo>
    <SettingsXML>sample string 21</SettingsXML>
    <ShowVatBreakdown>true</ShowVatBreakdown>
    <Status>19</Status>
  </PrinterDetails>
</ArrayOfPrinterDetails>