POST api/MobileMasterData/GetPrinters

Request Information

URI Parameters

None.

Body Parameters

MobileRequestModel
NameDescriptionTypeAdditional information
AppUserId

integer

None.

DeviceName

string

None.

Parameters

Collection of MobileRequestParameter

None.

ListParameters

Collection of MobileRequestListParameter

None.

Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "_AppUserId": 1,
  "_DeviceName": "sample string 2",
  "_Parameters": [
    {
      "_Key": "sample string 1",
      "_Value": {}
    },
    {
      "_Key": "sample string 1",
      "_Value": {}
    }
  ],
  "_ListParameters": [
    {
      "_Key": "sample string 1",
      "_Value": [
        {},
        {}
      ]
    },
    {
      "_Key": "sample string 1",
      "_Value": [
        {},
        {}
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<MobileRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
  <_AppUserId>1</_AppUserId>
  <_DeviceName>sample string 2</_DeviceName>
  <_ListParameters>
    <MobileRequestListParameter>
      <_Key>sample string 1</_Key>
      <_Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </_Value>
    </MobileRequestListParameter>
    <MobileRequestListParameter>
      <_Key>sample string 1</_Key>
      <_Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </_Value>
    </MobileRequestListParameter>
  </_ListParameters>
  <_Parameters>
    <MobileRequestParameter>
      <_Key>sample string 1</_Key>
      <_Value />
    </MobileRequestParameter>
    <MobileRequestParameter>
      <_Key>sample string 1</_Key>
      <_Value />
    </MobileRequestParameter>
  </_Parameters>
</MobileRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MobileRequestModel'.

Response Information

Resource Description

Collection of MobilePrinterModel
NameDescriptionTypeAdditional information
PrinterId

integer

None.

PrinterCode

string

None.

PrinterDescription

string

None.

NetworkShare

string

None.

SpecifyPrintTray

boolean

None.

PrinterTray

string

None.

PrinterTrayKind

integer

None.

IsCloudPrinter

boolean

None.

CloudPrinterId

integer

None.

PrinterTypeId

integer

None.

IstariId

integer

None.

IpAddress

string

None.

Port

integer

None.

FacilityId

integer

None.

Id

integer

None.

OldId

integer

None.

ConcurTimeStamp

Collection of byte

None.

RowVersion

Object

None.

RowVersionNumeric

integer

None.

DeletedDate

date

None.

ValidationErrors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "PrinterId": 1,
    "PrinterCode": "sample string 2",
    "PrinterDescription": "sample string 3",
    "NetworkShare": "sample string 4",
    "SpecifyPrintTray": true,
    "PrinterTray": "sample string 6",
    "PrinterTrayKind": 7,
    "IsCloudPrinter": true,
    "CloudPrinterId": 9,
    "PrinterTypeId": 10,
    "IstariId": 11,
    "IpAddress": "sample string 12",
    "Port": 13,
    "FacilityId": 14,
    "Id": 15,
    "OldId": 16,
    "ConcurTimeStamp": "QEA=",
    "RowVersionNumeric": null,
    "DeletedDate": "2099-12-31T00:00:00",
    "ValidationErrors": []
  }
]

application/xml, text/xml

Sample:
<ArrayOfMobilePrinterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
  <MobilePrinterModel i:nil="true" />
  <MobilePrinterModel>
    <_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
    <_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
    <_Id>15</_Id>
    <_OldId>16</_OldId>
    <_RowVersionNumeric i:nil="true" />
    <_ValidationErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <CloudPrinterId>9</CloudPrinterId>
    <FacilityId>14</FacilityId>
    <IpAddress>sample string 12</IpAddress>
    <IsCloudPrinter>true</IsCloudPrinter>
    <IstariId>11</IstariId>
    <NetworkShare>sample string 4</NetworkShare>
    <Port>13</Port>
    <PrinterCode>sample string 2</PrinterCode>
    <PrinterDescription>sample string 3</PrinterDescription>
    <PrinterId>1</PrinterId>
    <PrinterTray>sample string 6</PrinterTray>
    <PrinterTrayKind>7</PrinterTrayKind>
    <PrinterTypeId>10</PrinterTypeId>
    <SpecifyPrintTray>true</SpecifyPrintTray>
  </MobilePrinterModel>
</ArrayOfMobilePrinterModel>