POST api/printing/InsertPrintDetailsWithShiftModel

Request Information

URI Parameters

None.

Body Parameters

ShiftModel
NameDescriptionTypeAdditional information
systemSetting

Collection of systemSetting

None.

DealerCode

string

None.

LogedInSiteID

integer

None.

LogedInUserID

integer

None.

ShiftID

integer

None.

WorkstationID

integer

None.

sWorkstationName

string

None.

sShiftOpenBy

string

None.

OwsPRinterPath

string

None.

ReceiptPrinter

string

None.

CurrentWorkstationID

integer

None.

Method

string

None.

IsDirectPrintEnable

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "systemSetting": [
    {
      "ID": 1,
      "Value": "sample string 2"
    },
    {
      "ID": 1,
      "Value": "sample string 2"
    }
  ],
  "DealerCode": "sample string 1",
  "LogedInSiteID": 2,
  "LogedInUserID": 3,
  "ShiftID": 4,
  "WorkstationID": 5,
  "sWorkstationName": "sample string 6",
  "sShiftOpenBy": "sample string 7",
  "OwsPRinterPath": "sample string 8",
  "ReceiptPrinter": "sample string 9",
  "CurrentWorkstationID": 10,
  "Method": "sample string 11",
  "IsDirectPrintEnable": true
}

application/xml, text/xml

Sample:
<ShiftModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <CurrentWorkstationID>10</CurrentWorkstationID>
  <DealerCode>sample string 1</DealerCode>
  <IsDirectPrintEnable>true</IsDirectPrintEnable>
  <LogedInSiteID>2</LogedInSiteID>
  <LogedInUserID>3</LogedInUserID>
  <Method>sample string 11</Method>
  <OwsPRinterPath>sample string 8</OwsPRinterPath>
  <ReceiptPrinter>sample string 9</ReceiptPrinter>
  <ShiftID>4</ShiftID>
  <WorkstationID>5</WorkstationID>
  <sShiftOpenBy>sample string 7</sShiftOpenBy>
  <sWorkstationName>sample string 6</sWorkstationName>
  <systemSetting>
    <systemSetting>
      <ID>1</ID>
      <Value>sample string 2</Value>
    </systemSetting>
    <systemSetting>
      <ID>1</ID>
      <Value>sample string 2</Value>
    </systemSetting>
  </systemSetting>
</ShiftModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>