POST GrainReports/GetAssemblySheetWithScaleTicketsReport
Generate an Assembly Sheet With Scale Tickets report
Request Information
URI Parameters
Body Parameters
The request object used to create report
AssemblySheetWithScaleTicketsReportRequestBody| Name | Description | Type | Additional Information |
|---|---|---|---|
| CustomerId |
Agvance Customer ID |
string |
Required Max length: 6 |
| Form |
Status |
ReportForm | |
| Status |
Status |
AssemblyStatus | |
| NewPageEachAssembly |
New Page Each Assembly |
boolean | |
| DateEstablished |
Date Established |
boolean | |
| DateEstablishedStart |
Date Established Start |
string | |
| DateEstablishedEnd |
Date Established End |
string | |
| PrintSettlement |
Print Settlement |
boolean | |
| PrintCheckInformation |
Print Check Information |
boolean | |
| PrintBinReference |
Print Bin Reference |
boolean | |
| PrintScaleTicketComments |
Print Scale Ticket Comments |
boolean | |
| PrintFreightVendorAndRate |
Print Freight Vendor and Rate |
boolean | |
| PrintContractBidCriteria |
Print Contract Bid Criteria |
boolean | |
| SuppressZeroValueGradeFactors |
Suppress Zero Value Grade Factors |
boolean | |
| PrintIndividualPDValues |
Print Individual PDValues |
boolean | |
| PrintPricingInformation |
Print Pricing Information |
boolean | |
| ShowDryingChargeAsPDValue |
Show Drying Charge as PD Value |
boolean | |
| RemainingUnitsOnly |
Remaining Units Only |
boolean | |
| SuppressReversedSettlementInfo |
Suppress Reversed Settlement Info |
boolean | |
| SuppressReversedScaleTicketInfo |
Suppress Reversed Scale Ticket Info |
boolean | |
| SuppressDryingCharges |
Suppress Drying Charges |
boolean | |
| PrintCurrentLocationForReportHeader |
Print Current Location For Report Header |
boolean | |
| CurrentLocation |
Current Location for report header |
string | |
| PrintAssemblyFarm |
Print Assembly Farm |
boolean | |
| PrintBLCarNum |
Print BL/Car # |
boolean | |
| Locations |
Locations |
Collection of string | |
| Commodities |
Commodities |
Collection of string | |
| AssemblySheets |
Assembly Sheets |
Collection of AssemblySheetFilter | |
| CommodityClassifications |
Commodity Classifications |
ClassificationFilter | |
| DisplayAvgGfResultWhenPresent |
Display Average GF Result When Present |
boolean |
Request Formats
application/json, text/json
{
"CustomerId": "sample string 1",
"Form": 0,
"Status": 0,
"NewPageEachAssembly": true,
"DateEstablished": true,
"DateEstablishedStart": "sample string 4",
"DateEstablishedEnd": "sample string 5",
"PrintSettlement": true,
"PrintCheckInformation": true,
"PrintBinReference": true,
"PrintScaleTicketComments": true,
"PrintFreightVendorAndRate": true,
"PrintContractBidCriteria": true,
"SuppressZeroValueGradeFactors": true,
"PrintIndividualPDValues": true,
"PrintPricingInformation": true,
"ShowDryingChargeAsPDValue": true,
"RemainingUnitsOnly": true,
"SuppressReversedSettlementInfo": true,
"SuppressReversedScaleTicketInfo": true,
"SuppressDryingCharges": true,
"PrintCurrentLocationForReportHeader": true,
"CurrentLocation": "sample string 21",
"PrintAssemblyFarm": true,
"PrintBLCarNum": true,
"Locations": [
"sample string 1",
"sample string 2"
],
"Commodities": [
"sample string 1",
"sample string 2"
],
"AssemblySheets": [
{
"AssemblyNum": "sample string 1",
"LocationId": "sample string 2"
},
{
"AssemblyNum": "sample string 1",
"LocationId": "sample string 2"
}
],
"CommodityClassifications": {
"ClassificationTypeFilter": 0,
"Keys": [
1,
2
]
},
"DisplayAvgGfResultWhenPresent": true
}
application/xml, text/xml
<AssemblySheetWithScaleTicketsReportRequestBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.ApiReports">
<AssemblySheets xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:ClsGrPaperclip.AssemblySheetFilter>
<d2p1:AssemblyNum>sample string 1</d2p1:AssemblyNum>
<d2p1:LocationId>sample string 2</d2p1:LocationId>
</d2p1:ClsGrPaperclip.AssemblySheetFilter>
<d2p1:ClsGrPaperclip.AssemblySheetFilter>
<d2p1:AssemblyNum>sample string 1</d2p1:AssemblyNum>
<d2p1:LocationId>sample string 2</d2p1:LocationId>
</d2p1:ClsGrPaperclip.AssemblySheetFilter>
</AssemblySheets>
<Commodities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Commodities>
<CommodityClassifications xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Classification">
<d2p1:ClassificationTypeFilter>NoFilter</d2p1:ClassificationTypeFilter>
<d2p1:Keys xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</d2p1:Keys>
</CommodityClassifications>
<CurrentLocation>sample string 21</CurrentLocation>
<CustomerId>sample string 1</CustomerId>
<DateEstablished>true</DateEstablished>
<DateEstablishedEnd>sample string 5</DateEstablishedEnd>
<DateEstablishedStart>sample string 4</DateEstablishedStart>
<DisplayAvgGfResultWhenPresent>true</DisplayAvgGfResultWhenPresent>
<Form>Form3GroupedByCustomer</Form>
<Locations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Locations>
<NewPageEachAssembly>true</NewPageEachAssembly>
<PrintAssemblyFarm>true</PrintAssemblyFarm>
<PrintBLCarNum>true</PrintBLCarNum>
<PrintBinReference>true</PrintBinReference>
<PrintCheckInformation>true</PrintCheckInformation>
<PrintContractBidCriteria>true</PrintContractBidCriteria>
<PrintCurrentLocationForReportHeader>true</PrintCurrentLocationForReportHeader>
<PrintFreightVendorAndRate>true</PrintFreightVendorAndRate>
<PrintIndividualPDValues>true</PrintIndividualPDValues>
<PrintPricingInformation>true</PrintPricingInformation>
<PrintScaleTicketComments>true</PrintScaleTicketComments>
<PrintSettlement>true</PrintSettlement>
<RemainingUnitsOnly>true</RemainingUnitsOnly>
<ShowDryingChargeAsPDValue>true</ShowDryingChargeAsPDValue>
<Status>All</Status>
<SuppressDryingCharges>true</SuppressDryingCharges>
<SuppressReversedScaleTicketInfo>true</SuppressReversedScaleTicketInfo>
<SuppressReversedSettlementInfo>true</SuppressReversedSettlementInfo>
<SuppressZeroValueGradeFactors>true</SuppressZeroValueGradeFactors>
</AssemblySheetWithScaleTicketsReportRequestBody>
application/x-www-form-urlencoded
Response Information
Resource Description
Generate an Assembly Sheet With Scale Tickets report
AgvAssemblySheetWithScaleTicketsReport| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
| Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
| ErrorList |
List of errors from the API |
Collection of string | |
| WarningList |
List of warnings from the API |
Collection of string | |
| PreSignedUrl |
The presigned url of the file |
string |
Will be "null" when the status is not success. |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2",
"ErrorList": [
"sample string 1",
"sample string 2"
],
"WarningList": [
"sample string 1",
"sample string 2"
],
"PreSignedUrl": "sample string 3"
}
application/xml, text/xml
<AgvAssemblySheetWithScaleTicketsReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.GrainReports">
<ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorList>
<Message>sample string 2</Message>
<PreSignedUrl>sample string 3</PreSignedUrl>
<Status>sample string 1</Status>
<WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WarningList>
</AgvAssemblySheetWithScaleTicketsReport>