GET api/apex/GetTickets?companyNo={companyNo}&locationId={locationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyNo

string

Required

locationId

string

Required

Body Parameters

None.

Response Information

Resource Description

DataResponseOfListOfdtoTicket
NameDescriptionTypeAdditional information
StatusMessage

string

None.

Status

boolean

None.

Data

Collection of dtoTicket

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusMessage": "sample string 1",
  "Status": true,
  "Data": [
    {
      "Edited": "sample string 1",
      "Co": "sample string 2",
      "TicketDate": "2024-12-22T14:55:01.7460131-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:55:01.7460131-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:
<DataResponseOfArrayOfdtoTicketoObYODKS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.WebAPI.Data">
  <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:55:01.7460131-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:55:01.7460131-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>
  </Data>
  <Status>true</Status>
  <StatusMessage>sample string 1</StatusMessage>
</DataResponseOfArrayOfdtoTicketoObYODKS>