POST api/apex/SaveTicket

Request Information

URI Parameters

None.

Body Parameters

Collection of dtoTicket
NameDescriptionTypeAdditional information
Edited

string

None.

Co

string

None.

TicketDate

date

None.

LocationID

string

None.

TicketNo

integer

None.

CustomerID

string

None.

CustomerName

string

None.

OrderID

string

None.

OrderDescription

string

None.

VehicleID

string

None.

TrailerID

string

None.

DriverID

string

None.

HaulerCompany

string

None.

Unit

string

None.

TotalQty

decimal number

None.

UnitPrice

decimal number

None.

Amount

decimal number

None.

ProductID

string

None.

MatlDescription

string

None.

SpreadTicket

string

None.

LoadTimeStartHrs

integer

None.

LoadTimeStartMins

integer

None.

LoadTimeFinishHrs

integer

None.

LoadTimeFinishMins

integer

None.

LoadTimeHrs

integer

None.

LoadTimeMins

integer

None.

UnLoadTimeStartHrs

integer

None.

UnLoadTimeStartMins

integer

None.

UnLoadTimeFinishHrs

integer

None.

UnLoadTimeFinishMins

integer

None.

UnLoadTimeHrs

integer

None.

UnLoadTimeMins

integer

None.

EqTimeStartHrs

integer

None.

EqTimeStartMins

integer

None.

EqTimeFinishHrs

integer

None.

EqTimeFinishMins

integer

None.

EqTimeHrs

integer

None.

EqTimeMins

integer

None.

UniqueID

integer

None.

Status

integer

None.

SignatureImage

Collection of byte

None.

SignatureName

string

None.

TicketDateStr

string

None.

IsAdmin

boolean

None.

ScaleInTimeHrs

integer

None.

ScaleInTimeMins

integer

None.

ArriveSiteTimeHrs

integer

None.

ArriveSiteTimeMins

integer

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Edited": "sample string 1",
    "Co": "sample string 2",
    "TicketDate": "2024-12-22T14:12:45.9975736-08:00",
    "LocationID": "sample string 4",
    "TicketNo": 5,
    "CustomerID": "sample string 6",
    "CustomerName": "sample string 7",
    "OrderID": "sample string 8",
    "OrderDescription": "sample string 9",
    "VehicleID": "sample string 10",
    "TrailerID": "sample string 11",
    "DriverID": "sample string 12",
    "HaulerCompany": "sample string 13",
    "Unit": "sample string 14",
    "TotalQty": 15.1,
    "UnitPrice": 16.1,
    "Amount": 17.1,
    "ProductID": "sample string 18",
    "MatlDescription": "sample string 19",
    "SpreadTicket": "sample string 20",
    "LoadTimeStartHrs": 21,
    "LoadTimeStartMins": 22,
    "LoadTimeFinishHrs": 23,
    "LoadTimeFinishMins": 24,
    "LoadTimeHrs": 25,
    "LoadTimeMins": 26,
    "UnLoadTimeStartHrs": 27,
    "UnLoadTimeStartMins": 28,
    "UnLoadTimeFinishHrs": 29,
    "UnLoadTimeFinishMins": 30,
    "UnLoadTimeHrs": 31,
    "UnLoadTimeMins": 32,
    "EqTimeStartHrs": 33,
    "EqTimeStartMins": 34,
    "EqTimeFinishHrs": 35,
    "EqTimeFinishMins": 36,
    "EqTimeHrs": 37,
    "EqTimeMins": 38,
    "UniqueID": 39,
    "Status": 40,
    "SignatureImage": "QEA=",
    "SignatureName": "sample string 41",
    "TicketDateStr": "2024-12-22",
    "IsAdmin": true,
    "ScaleInTimeHrs": 43,
    "ScaleInTimeMins": 44,
    "ArriveSiteTimeHrs": 45,
    "ArriveSiteTimeMins": 46,
    "Notes": "sample string 47"
  },
  {
    "Edited": "sample string 1",
    "Co": "sample string 2",
    "TicketDate": "2024-12-22T14:12:45.9975736-08:00",
    "LocationID": "sample string 4",
    "TicketNo": 5,
    "CustomerID": "sample string 6",
    "CustomerName": "sample string 7",
    "OrderID": "sample string 8",
    "OrderDescription": "sample string 9",
    "VehicleID": "sample string 10",
    "TrailerID": "sample string 11",
    "DriverID": "sample string 12",
    "HaulerCompany": "sample string 13",
    "Unit": "sample string 14",
    "TotalQty": 15.1,
    "UnitPrice": 16.1,
    "Amount": 17.1,
    "ProductID": "sample string 18",
    "MatlDescription": "sample string 19",
    "SpreadTicket": "sample string 20",
    "LoadTimeStartHrs": 21,
    "LoadTimeStartMins": 22,
    "LoadTimeFinishHrs": 23,
    "LoadTimeFinishMins": 24,
    "LoadTimeHrs": 25,
    "LoadTimeMins": 26,
    "UnLoadTimeStartHrs": 27,
    "UnLoadTimeStartMins": 28,
    "UnLoadTimeFinishHrs": 29,
    "UnLoadTimeFinishMins": 30,
    "UnLoadTimeHrs": 31,
    "UnLoadTimeMins": 32,
    "EqTimeStartHrs": 33,
    "EqTimeStartMins": 34,
    "EqTimeFinishHrs": 35,
    "EqTimeFinishMins": 36,
    "EqTimeHrs": 37,
    "EqTimeMins": 38,
    "UniqueID": 39,
    "Status": 40,
    "SignatureImage": "QEA=",
    "SignatureName": "sample string 41",
    "TicketDateStr": "2024-12-22",
    "IsAdmin": true,
    "ScaleInTimeHrs": 43,
    "ScaleInTimeMins": 44,
    "ArriveSiteTimeHrs": 45,
    "ArriveSiteTimeMins": 46,
    "Notes": "sample string 47"
  }
]

application/xml, text/xml

Sample:
<ArrayOfdtoTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.WebAPI.Data">
  <dtoTicket>
    <Amount>17.1</Amount>
    <ArriveSiteTimeHrs>45</ArriveSiteTimeHrs>
    <ArriveSiteTimeMins>46</ArriveSiteTimeMins>
    <Co>sample string 2</Co>
    <CustomerID>sample string 6</CustomerID>
    <CustomerName>sample string 7</CustomerName>
    <DriverID>sample string 12</DriverID>
    <Edited>sample string 1</Edited>
    <EqTimeFinishHrs>35</EqTimeFinishHrs>
    <EqTimeFinishMins>36</EqTimeFinishMins>
    <EqTimeHrs>37</EqTimeHrs>
    <EqTimeMins>38</EqTimeMins>
    <EqTimeStartHrs>33</EqTimeStartHrs>
    <EqTimeStartMins>34</EqTimeStartMins>
    <HaulerCompany>sample string 13</HaulerCompany>
    <IsAdmin>true</IsAdmin>
    <LoadTimeFinishHrs>23</LoadTimeFinishHrs>
    <LoadTimeFinishMins>24</LoadTimeFinishMins>
    <LoadTimeHrs>25</LoadTimeHrs>
    <LoadTimeMins>26</LoadTimeMins>
    <LoadTimeStartHrs>21</LoadTimeStartHrs>
    <LoadTimeStartMins>22</LoadTimeStartMins>
    <LocationID>sample string 4</LocationID>
    <MatlDescription>sample string 19</MatlDescription>
    <Notes>sample string 47</Notes>
    <OrderDescription>sample string 9</OrderDescription>
    <OrderID>sample string 8</OrderID>
    <ProductID>sample string 18</ProductID>
    <ScaleInTimeHrs>43</ScaleInTimeHrs>
    <ScaleInTimeMins>44</ScaleInTimeMins>
    <SignatureImage>QEA=</SignatureImage>
    <SignatureName>sample string 41</SignatureName>
    <SpreadTicket>sample string 20</SpreadTicket>
    <Status>40</Status>
    <TicketDate>2024-12-22T14:12:45.9975736-08:00</TicketDate>
    <TicketNo>5</TicketNo>
    <TotalQty>15.1</TotalQty>
    <TrailerID>sample string 11</TrailerID>
    <UnLoadTimeFinishHrs>29</UnLoadTimeFinishHrs>
    <UnLoadTimeFinishMins>30</UnLoadTimeFinishMins>
    <UnLoadTimeHrs>31</UnLoadTimeHrs>
    <UnLoadTimeMins>32</UnLoadTimeMins>
    <UnLoadTimeStartHrs>27</UnLoadTimeStartHrs>
    <UnLoadTimeStartMins>28</UnLoadTimeStartMins>
    <UniqueID>39</UniqueID>
    <Unit>sample string 14</Unit>
    <UnitPrice>16.1</UnitPrice>
    <VehicleID>sample string 10</VehicleID>
  </dtoTicket>
  <dtoTicket>
    <Amount>17.1</Amount>
    <ArriveSiteTimeHrs>45</ArriveSiteTimeHrs>
    <ArriveSiteTimeMins>46</ArriveSiteTimeMins>
    <Co>sample string 2</Co>
    <CustomerID>sample string 6</CustomerID>
    <CustomerName>sample string 7</CustomerName>
    <DriverID>sample string 12</DriverID>
    <Edited>sample string 1</Edited>
    <EqTimeFinishHrs>35</EqTimeFinishHrs>
    <EqTimeFinishMins>36</EqTimeFinishMins>
    <EqTimeHrs>37</EqTimeHrs>
    <EqTimeMins>38</EqTimeMins>
    <EqTimeStartHrs>33</EqTimeStartHrs>
    <EqTimeStartMins>34</EqTimeStartMins>
    <HaulerCompany>sample string 13</HaulerCompany>
    <IsAdmin>true</IsAdmin>
    <LoadTimeFinishHrs>23</LoadTimeFinishHrs>
    <LoadTimeFinishMins>24</LoadTimeFinishMins>
    <LoadTimeHrs>25</LoadTimeHrs>
    <LoadTimeMins>26</LoadTimeMins>
    <LoadTimeStartHrs>21</LoadTimeStartHrs>
    <LoadTimeStartMins>22</LoadTimeStartMins>
    <LocationID>sample string 4</LocationID>
    <MatlDescription>sample string 19</MatlDescription>
    <Notes>sample string 47</Notes>
    <OrderDescription>sample string 9</OrderDescription>
    <OrderID>sample string 8</OrderID>
    <ProductID>sample string 18</ProductID>
    <ScaleInTimeHrs>43</ScaleInTimeHrs>
    <ScaleInTimeMins>44</ScaleInTimeMins>
    <SignatureImage>QEA=</SignatureImage>
    <SignatureName>sample string 41</SignatureName>
    <SpreadTicket>sample string 20</SpreadTicket>
    <Status>40</Status>
    <TicketDate>2024-12-22T14:12:45.9975736-08:00</TicketDate>
    <TicketNo>5</TicketNo>
    <TotalQty>15.1</TotalQty>
    <TrailerID>sample string 11</TrailerID>
    <UnLoadTimeFinishHrs>29</UnLoadTimeFinishHrs>
    <UnLoadTimeFinishMins>30</UnLoadTimeFinishMins>
    <UnLoadTimeHrs>31</UnLoadTimeHrs>
    <UnLoadTimeMins>32</UnLoadTimeMins>
    <UnLoadTimeStartHrs>27</UnLoadTimeStartHrs>
    <UnLoadTimeStartMins>28</UnLoadTimeStartMins>
    <UniqueID>39</UniqueID>
    <Unit>sample string 14</Unit>
    <UnitPrice>16.1</UnitPrice>
    <VehicleID>sample string 10</VehicleID>
  </dtoTicket>
</ArrayOfdtoTicket>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataResponseOfInt32
NameDescriptionTypeAdditional information
StatusMessage

string

None.

Status

boolean

None.

Data

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusMessage": "sample string 1",
  "Status": true,
  "Data": 3
}

application/xml, text/xml

Sample:
<DataResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.WebAPI.Data">
  <Data>3</Data>
  <Status>true</Status>
  <StatusMessage>sample string 1</StatusMessage>
</DataResponseOfint>