GET ScaleTicket/GetScaleTicket?CustID={CustID}&Location={Location}&Assembly={Assembly}&Ticket={Ticket}&Commodity={Commodity}&Contract={Contract}&Status={Status}&UseDateRange={UseDateRange}&StartDate={StartDate}&EndDate={EndDate}&Farm={Farm}&FieldID={FieldID}&SortAsc={SortAsc}&lastModifiedOnOrAfterUtc={lastModifiedOnOrAfterUtc}&lastModifiedOnOrBeforeUtc={lastModifiedOnOrBeforeUtc}
Returns a list of scale tickets.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
CustID |
CustID used on the scale ticket. (optional) |
string |
Default value is string.Empty |
Location |
Location used on the scale ticket. (optional) |
string |
Default value is string.Empty |
Assembly |
Assembly used on the scale ticket. (optional) |
string |
Default value is string.Empty |
Ticket |
Ticket number used on the scale ticket. (optional) |
string |
Default value is string.Empty |
Commodity |
Commodity number used on the scale ticket. (optional) |
string |
Default value is string.Empty |
Contract |
Contract used on the scale ticket. (optional) |
string |
Default value is string.Empty |
Status |
Status used on the scale ticket. Status valid entries are 'All', 'Posted', 'Not Posted'. (optional) |
string |
Default value is string.Empty |
UseDateRange |
UseDateRange to indicate whether or not to filter by the Start and End Dates used on the scale ticket. (optional) |
boolean |
Default value is False |
StartDate |
If UseDateRange is true, the StartDate used on the scale ticket. Format MM-dd-yyyy (optional) |
string |
Default value is string.Empty |
EndDate |
If UseDateRange is true, EndDate used on the scale ticket. Format MM-dd-yyyy (optional) |
string |
Default value is string.Empty |
Farm |
Farm used on the scale ticket. This is a 6-digit identifier. (optional) |
string |
Default value is string.Empty |
FieldID |
FieldID used on the scale ticket. (optional) |
string |
Default value is string.Empty |
SortAsc |
sortAsc is used for how the response is sorted. (Ascending or Descending) (optional) |
boolean |
Default value is False |
lastModifiedOnOrAfterUtc |
Filter the list of tickets to those changed on or after the supplied UTC date and time (optional) - format = yyyy-MM-ddTHH:mm:ss |
string |
Default value is string.Empty |
lastModifiedOnOrBeforeUtc |
Filter the list of tickets to those changed on or before the supplied UTC date and time (optional) format = yyyy-MM-ddTHH:mm:ss |
string |
Default value is string.Empty |
Body Parameters
Response Information
Resource Description
Returns a list of scale tickets.
AgvScaleTicketListName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many ScaleTickets JSON dictionaries. |
string | |
ScaleTicketListItems | Collection of ScaleTicketListItem |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "ScaleTicketListItems": [ { "AssemblyNumber": "sample string 1", "Location": "sample string 2", "TicketNumber": "sample string 3", "Commodity": "sample string 4", "TicketDate": "sample string 5", "NetUnits": "sample string 6", "NetWeight": "sample string 7", "LastModifiedUTC": "2025-07-05T23:02:11.9577224+00:00" }, { "AssemblyNumber": "sample string 1", "Location": "sample string 2", "TicketNumber": "sample string 3", "Commodity": "sample string 4", "TicketDate": "sample string 5", "NetUnits": "sample string 6", "NetWeight": "sample string 7", "LastModifiedUTC": "2025-07-05T23:02:11.9577224+00:00" } ] }
application/xml, text/xml
<AgvScaleTicketList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.ScaleTicket"> <Count>sample string 3</Count> <Message>sample string 2</Message> <ScaleTicketListItems> <ScaleTicketListItem> <AssemblyNumber>sample string 1</AssemblyNumber> <Commodity>sample string 4</Commodity> <LastModifiedUTC>2025-07-05T23:02:11.9577224+00:00</LastModifiedUTC> <Location>sample string 2</Location> <NetUnits>sample string 6</NetUnits> <NetWeight>sample string 7</NetWeight> <TicketDate>sample string 5</TicketDate> <TicketNumber>sample string 3</TicketNumber> </ScaleTicketListItem> <ScaleTicketListItem> <AssemblyNumber>sample string 1</AssemblyNumber> <Commodity>sample string 4</Commodity> <LastModifiedUTC>2025-07-05T23:02:11.9577224+00:00</LastModifiedUTC> <Location>sample string 2</Location> <NetUnits>sample string 6</NetUnits> <NetWeight>sample string 7</NetWeight> <TicketDate>sample string 5</TicketDate> <TicketNumber>sample string 3</TicketNumber> </ScaleTicketListItem> </ScaleTicketListItems> <Status>sample string 1</Status> </AgvScaleTicketList>