POST api/LocalPrinters

Request Information

URI Parameters

None.

Body Parameters

LocalPrinter
NameDescriptionTypeAdditional information
Id

integer

None.

UserAssingId

integer

None.

UseLocalPrint

boolean

None.

PortServicePrintMethod

string

None.

PrinterName

string

None.

UserAssing

UserAssign

None.

CreatedDate

date

None.

CreatedBy

string

None.

UpdateDate

date

None.

UpdatedBy

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserAssingId": 2,
  "UseLocalPrint": true,
  "PortServicePrintMethod": "sample string 4",
  "PrinterName": "sample string 5",
  "UserAssing": {
    "CompanyId": 1,
    "UserId": 2,
    "LicenseId": 3,
    "User": {
      "UseScheduling": true,
      "EmailType": 2,
      "EmailPassword": "sample string 3",
      "SchedulingEmail": "sample string 4",
      "TokenRecovery": "sample string 5",
      "TokenRecoveryEndDate": "2024-09-18T20:23:01.272522-06:00",
      "Name": "sample string 7",
      "LastName": "sample string 8",
      "Email": "sample string 9",
      "Password": "sample string 10",
      "Id": 11,
      "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
      "CreatedBy": "sample string 13",
      "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
      "UpdatedBy": "sample string 14",
      "IsActive": true
    },
    "Company": {
      "ConnectionId": 1,
      "Connection": {
        "Name": "sample string 1",
        "Odbctype": "sample string 2",
        "Server": "sample string 3",
        "User": "sample string 4",
        "Pass": "sample string 5",
        "ServerType": "sample string 6",
        "SLUrl": "sample string 7",
        "Id": 8,
        "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
        "CreatedBy": "sample string 10",
        "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
        "UpdatedBy": "sample string 11",
        "IsActive": true
      },
      "Name": "sample string 2",
      "DatabaseCode": "sample string 3",
      "Id": 4,
      "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
      "CreatedBy": "sample string 6",
      "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
      "UpdatedBy": "sample string 7",
      "IsActive": true
    },
    "License": {
      "CompanyId": 1,
      "Company": {
        "ConnectionId": 1,
        "Connection": {
          "Name": "sample string 1",
          "Odbctype": "sample string 2",
          "Server": "sample string 3",
          "User": "sample string 4",
          "Pass": "sample string 5",
          "ServerType": "sample string 6",
          "SLUrl": "sample string 7",
          "Id": 8,
          "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
          "CreatedBy": "sample string 10",
          "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
          "UpdatedBy": "sample string 11",
          "IsActive": true
        },
        "Name": "sample string 2",
        "DatabaseCode": "sample string 3",
        "Id": 4,
        "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
        "CreatedBy": "sample string 6",
        "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
        "UpdatedBy": "sample string 7",
        "IsActive": true
      },
      "User": "sample string 2",
      "Password": "sample string 3",
      "Id": 4,
      "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
      "CreatedBy": "sample string 6",
      "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
      "UpdatedBy": "sample string 7",
      "IsActive": true
    },
    "SlpCode": "sample string 4",
    "CenterCost": "sample string 5",
    "WhsCode": "sample string 6",
    "Discount": 7.1,
    "Id": 8,
    "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
    "CreatedBy": "sample string 10",
    "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
    "UpdatedBy": "sample string 11",
    "IsActive": true
  },
  "CreatedDate": "2024-09-18T20:23:01.272522-06:00",
  "CreatedBy": "sample string 7",
  "UpdateDate": "2024-09-18T20:23:01.272522-06:00",
  "UpdatedBy": "sample string 8",
  "IsActive": true
}

application/xml, text/xml

Sample:
<LocalPrinter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 7</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">0</Id>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
  <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 8</UpdatedBy>
  <Id>1</Id>
  <PortServicePrintMethod>sample string 4</PortServicePrintMethod>
  <PrinterName>sample string 5</PrinterName>
  <UseLocalPrint>true</UseLocalPrint>
  <UserAssing>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 10</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">8</Id>
    <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
    <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 11</UpdatedBy>
    <CenterCost xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 5</CenterCost>
    <Discount xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">7.1</Discount>
    <SlpCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 4</SlpCode>
    <WhsCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 6</WhsCode>
    <Company>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 6</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
      <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">4</Id>
      <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
      <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
      <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 7</UpdatedBy>
      <DatabaseCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 3</DatabaseCode>
      <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Name>
      <Connection>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 10</CreatedBy>
        <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
        <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">8</Id>
        <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
        <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 11</UpdatedBy>
        <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 1</Name>
        <Odbctype xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Odbctype>
        <Pass xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 5</Pass>
        <SLUrl xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 7</SLUrl>
        <Server xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 3</Server>
        <ServerType xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 6</ServerType>
        <User xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 4</User>
      </Connection>
      <ConnectionId>1</ConnectionId>
    </Company>
    <CompanyId>1</CompanyId>
    <License>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 6</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
      <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">4</Id>
      <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
      <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
      <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 7</UpdatedBy>
      <Password xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 3</Password>
      <User xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</User>
      <Company>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 6</CreatedBy>
        <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
        <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">4</Id>
        <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
        <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
        <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 7</UpdatedBy>
        <DatabaseCode xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 3</DatabaseCode>
        <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Name>
        <Connection>
          <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 10</CreatedBy>
          <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">8</Id>
          <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
          <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
          <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 11</UpdatedBy>
          <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 1</Name>
          <Odbctype xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Odbctype>
          <Pass xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 5</Pass>
          <SLUrl xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 7</SLUrl>
          <Server xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 3</Server>
          <ServerType xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 6</ServerType>
          <User xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 4</User>
        </Connection>
        <ConnectionId>1</ConnectionId>
      </Company>
      <CompanyId>1</CompanyId>
    </License>
    <LicenseId>3</LicenseId>
    <User>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 13</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</CreatedDate>
      <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">11</Id>
      <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
      <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2024-09-18T20:23:01.272522-06:00</UpdateDate>
      <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 14</UpdatedBy>
      <Email xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 9</Email>
      <LastName xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 8</LastName>
      <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 7</Name>
      <Password xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 10</Password>
      <EmailPassword>sample string 3</EmailPassword>
      <EmailType>2</EmailType>
      <SchedulingEmail>sample string 4</SchedulingEmail>
      <TokenRecovery>sample string 5</TokenRecovery>
      <TokenRecoveryEndDate>2024-09-18T20:23:01.272522-06:00</TokenRecoveryEndDate>
      <UseScheduling>true</UseScheduling>
    </User>
    <UserId>2</UserId>
  </UserAssing>
  <UserAssingId>2</UserAssingId>
</LocalPrinter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.