POST api/v2/PointOfSale/SubmitPOSTicket

Create or Update a Point of Sale ticket.

Request Information

URI Parameters

None.

Body Parameters

PointOfSaleTicket
NameDescriptionTypeAdditional information
Id

string

None.

EntryDate

string

None.

EntryTime

string

None.

EntryPort

string

None.

InvoiceType

string

None.

Status

string

None.

Clerk

string

None.

OriginatingClerk

string

None.

LocationCode

string

Required

TaxSchema

string

None.

BillToCustomerId

string

Required

BillToName

string

None.

BillToAddress1

string

None.

BillToAddress2

string

None.

BillToAddress3

string

None.

BillToCity

string

None.

BillToState

string

None.

BillToZip

string

None.

BillToPhone1

string

None.

BillToPhone2

string

None.

ShipToCustomerId

string

Required

ShipToName

string

None.

ShipToAddress1

string

None.

ShipToAddress2

string

None.

ShipToAddress3

string

None.

ShipToCity

string

None.

ShipToState

string

None.

ShipToZip

string

None.

ShipToPhone1

string

None.

ShipToPhone2

string

None.

ShippingInstructions

string

None.

Comments

string

None.

PONumber

string

None.

PumpNumber

string

None.

HoseNumber

string

None.

Items

Collection of PointOfSaleTicketItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "EntryDate": "sample string 2",
  "EntryTime": "sample string 3",
  "EntryPort": "sample string 4",
  "InvoiceType": "sample string 5",
  "Status": "sample string 6",
  "Clerk": "sample string 7",
  "OriginatingClerk": "sample string 8",
  "LocationCode": "sample string 9",
  "TaxSchema": "sample string 10",
  "BillToCustomerId": "sample string 11",
  "BillToName": "sample string 12",
  "BillToAddress1": "sample string 13",
  "BillToAddress2": "sample string 14",
  "BillToAddress3": "sample string 15",
  "BillToCity": "sample string 16",
  "BillToState": "sample string 17",
  "BillToZip": "sample string 18",
  "BillToPhone1": "sample string 19",
  "BillToPhone2": "sample string 20",
  "ShipToCustomerId": "sample string 21",
  "ShipToName": "sample string 22",
  "ShipToAddress1": "sample string 23",
  "ShipToAddress2": "sample string 24",
  "ShipToAddress3": "sample string 25",
  "ShipToCity": "sample string 26",
  "ShipToState": "sample string 27",
  "ShipToZip": "sample string 28",
  "ShipToPhone1": "sample string 29",
  "ShipToPhone2": "sample string 30",
  "ShippingInstructions": "sample string 31",
  "Comments": "sample string 32",
  "PONumber": "sample string 33",
  "PumpNumber": "sample string 34",
  "HoseNumber": "sample string 35",
  "Items": [
    {
      "ItemNumber": "sample string 1",
      "Description": "sample string 2",
      "Department": "sample string 3",
      "QtyOrdered": 4.0,
      "Price": 5.0,
      "Discount": 6.0,
      "Extension": 7.0,
      "Cost": 8.0,
      "CostExtension": 9.0,
      "Comments": "sample string 10",
      "FuelPart": true,
      "TaxSchema": "sample string 12"
    },
    {
      "ItemNumber": "sample string 1",
      "Description": "sample string 2",
      "Department": "sample string 3",
      "QtyOrdered": 4.0,
      "Price": 5.0,
      "Discount": 6.0,
      "Extension": 7.0,
      "Cost": 8.0,
      "CostExtension": 9.0,
      "Comments": "sample string 10",
      "FuelPart": true,
      "TaxSchema": "sample string 12"
    }
  ]
}

application/xml, text/xml

Sample:
<PointOfSaleTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
  <BillToAddress1>sample string 13</BillToAddress1>
  <BillToAddress2>sample string 14</BillToAddress2>
  <BillToAddress3>sample string 15</BillToAddress3>
  <BillToCity>sample string 16</BillToCity>
  <BillToCustomerId>sample string 11</BillToCustomerId>
  <BillToName>sample string 12</BillToName>
  <BillToPhone1>sample string 19</BillToPhone1>
  <BillToPhone2>sample string 20</BillToPhone2>
  <BillToState>sample string 17</BillToState>
  <BillToZip>sample string 18</BillToZip>
  <Clerk>sample string 7</Clerk>
  <Comments>sample string 32</Comments>
  <EntryDate>sample string 2</EntryDate>
  <EntryPort>sample string 4</EntryPort>
  <EntryTime>sample string 3</EntryTime>
  <HoseNumber>sample string 35</HoseNumber>
  <Id>sample string 1</Id>
  <InvoiceType>sample string 5</InvoiceType>
  <Items>
    <PointOfSaleTicketItem>
      <Comments>sample string 10</Comments>
      <Cost>8</Cost>
      <CostExtension>9</CostExtension>
      <Department>sample string 3</Department>
      <Description>sample string 2</Description>
      <Discount>6</Discount>
      <Extension>7</Extension>
      <FuelPart>true</FuelPart>
      <ItemNumber>sample string 1</ItemNumber>
      <Price>5</Price>
      <QtyOrdered>4</QtyOrdered>
      <TaxSchema>sample string 12</TaxSchema>
    </PointOfSaleTicketItem>
    <PointOfSaleTicketItem>
      <Comments>sample string 10</Comments>
      <Cost>8</Cost>
      <CostExtension>9</CostExtension>
      <Department>sample string 3</Department>
      <Description>sample string 2</Description>
      <Discount>6</Discount>
      <Extension>7</Extension>
      <FuelPart>true</FuelPart>
      <ItemNumber>sample string 1</ItemNumber>
      <Price>5</Price>
      <QtyOrdered>4</QtyOrdered>
      <TaxSchema>sample string 12</TaxSchema>
    </PointOfSaleTicketItem>
  </Items>
  <LocationCode>sample string 9</LocationCode>
  <OriginatingClerk>sample string 8</OriginatingClerk>
  <PONumber>sample string 33</PONumber>
  <PumpNumber>sample string 34</PumpNumber>
  <ShipToAddress1>sample string 23</ShipToAddress1>
  <ShipToAddress2>sample string 24</ShipToAddress2>
  <ShipToAddress3>sample string 25</ShipToAddress3>
  <ShipToCity>sample string 26</ShipToCity>
  <ShipToCustomerId>sample string 21</ShipToCustomerId>
  <ShipToName>sample string 22</ShipToName>
  <ShipToPhone1>sample string 29</ShipToPhone1>
  <ShipToPhone2>sample string 30</ShipToPhone2>
  <ShipToState>sample string 27</ShipToState>
  <ShipToZip>sample string 28</ShipToZip>
  <ShippingInstructions>sample string 31</ShippingInstructions>
  <Status>sample string 6</Status>
  <TaxSchema>sample string 10</TaxSchema>
</PointOfSaleTicket>

Response Information

Resource Description

SubmitPOSTicketResult
NameDescriptionTypeAdditional information
TicketId

string

None.

Result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TicketId": "sample string 1",
  "Result": "sample string 2"
}

application/xml, text/xml

Sample:
<SubmitPOSTicketResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/com.dockmaster.lib.models">
  <Result>sample string 2</Result>
  <TicketId>sample string 1</TicketId>
</SubmitPOSTicketResult>