GET ScaleTicket/GetScaleTicketByAssemblyByLocationIDByTicket?Assembly={Assembly}&Location={Location}&Ticket={Ticket}
Returns a scale ticket.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
Assembly |
Assembly used on the scale ticket. |
string |
Required |
Location |
Location used on the scale ticket. |
string |
Required |
Ticket |
Ticket number of the scale ticket. |
string |
Required |
Body Parameters
Response Information
Resource Description
Returns a scale ticket.
AgvScaleTicketName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many ScaleTicketMobile JSON dictionaries. |
string | |
ScaleTicket |
JSON dictionary of ScaleTicketMobile. |
ScaleTicketMobile |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "ScaleTicket": { "UniqueID": 1, "AssemblyNumber": "sample string 2", "Location": "sample string 3", "LocationName": "sample string 4", "TicketNumber": "sample string 5", "Commodity": "sample string 6", "TicketDate": "sample string 7", "GrossWeight": 8.1, "TareWeight": 9.1, "NetWeight": 10.1, "Dockage": 11.1, "Shrink": 12.1, "Grossunit": 13.1, "Dockunits": 14.1, "Shrinkunit": 15.1, "TotalDockUnits": "sample string 16", "Netunit": 17.1, "TotalPremDisc": 18.1, "Dockadj": 19.1, "TicketStatus": "sample string 20", "Comment": "sample string 21", "Udockadj": 22.1, "FarmKey": 23, "FarmName": "sample string 24", "GrowID": "sample string 25", "FieldID": "sample string 26", "LotNumber": "sample string 27", "LastModifiedUTC": "2024-11-21T09:46:33.8332495+00:00", "ScaleTicketMobileSplits": [ { "UniqueID": "sample string 1", "CustomerName": "sample string 2", "ShareUnits": "sample string 3", "Contract": "sample string 4", "DPR": "sample string 5", "CustID": "sample string 6" }, { "UniqueID": "sample string 1", "CustomerName": "sample string 2", "ShareUnits": "sample string 3", "Contract": "sample string 4", "DPR": "sample string 5", "CustID": "sample string 6" } ], "ScaleTicketGradeFactors": [ { "Test": "sample string 1", "Result": "sample string 2", "PremDisc": "sample string 3" }, { "Test": "sample string 1", "Result": "sample string 2", "PremDisc": "sample string 3" } ] } }
application/xml, text/xml
Sample:
<AgvScaleTicket 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> <ScaleTicket> <AssemblyNumber>sample string 2</AssemblyNumber> <Comment>sample string 21</Comment> <Commodity>sample string 6</Commodity> <Dockadj>19.1</Dockadj> <Dockage>11.1</Dockage> <Dockunits>14.1</Dockunits> <FarmKey>23</FarmKey> <FarmName>sample string 24</FarmName> <FieldID>sample string 26</FieldID> <GrossWeight>8.1</GrossWeight> <Grossunit>13.1</Grossunit> <GrowID>sample string 25</GrowID> <LastModifiedUTC>2024-11-21T09:46:33.8332495+00:00</LastModifiedUTC> <Location>sample string 3</Location> <LocationName>sample string 4</LocationName> <LotNumber>sample string 27</LotNumber> <NetWeight>10.1</NetWeight> <Netunit>17.1</Netunit> <ScaleTicketGradeFactors> <ScaleTicketGradeFactor> <PremDisc>sample string 3</PremDisc> <Result>sample string 2</Result> <Test>sample string 1</Test> </ScaleTicketGradeFactor> <ScaleTicketGradeFactor> <PremDisc>sample string 3</PremDisc> <Result>sample string 2</Result> <Test>sample string 1</Test> </ScaleTicketGradeFactor> </ScaleTicketGradeFactors> <ScaleTicketMobileSplits> <ScaleTicketMobileSplit> <Contract>sample string 4</Contract> <CustID>sample string 6</CustID> <CustomerName>sample string 2</CustomerName> <DPR>sample string 5</DPR> <ShareUnits>sample string 3</ShareUnits> <UniqueID>sample string 1</UniqueID> </ScaleTicketMobileSplit> <ScaleTicketMobileSplit> <Contract>sample string 4</Contract> <CustID>sample string 6</CustID> <CustomerName>sample string 2</CustomerName> <DPR>sample string 5</DPR> <ShareUnits>sample string 3</ShareUnits> <UniqueID>sample string 1</UniqueID> </ScaleTicketMobileSplit> </ScaleTicketMobileSplits> <Shrink>12.1</Shrink> <Shrinkunit>15.1</Shrinkunit> <TareWeight>9.1</TareWeight> <TicketDate>sample string 7</TicketDate> <TicketNumber>sample string 5</TicketNumber> <TicketStatus>sample string 20</TicketStatus> <TotalDockUnits>sample string 16</TotalDockUnits> <TotalPremDisc>18.1</TotalPremDisc> <Udockadj>22.1</Udockadj> <UniqueID>1</UniqueID> </ScaleTicket> <Status>sample string 1</Status> </AgvScaleTicket>