GET ScaleInterface/GetGSITicket?custId={custId}&asmNum={asmNum}&locId={locId}&tickNum={tickNum}&commodityId={commodityId}&contractId={contractId}&farmId={farmId}&fieldId={fieldId}&isTransferred={isTransferred}&isVoided={isVoided}&ticketDateOnOrAfter={ticketDateOnOrAfter}&ticketDateOnOrBefore={ticketDateOnOrBefore}&modifiedOnOrAfterUtc={modifiedOnOrAfterUtc}&modifiedOnOrBeforeUtc={modifiedOnOrBeforeUtc}

Gets a list of inbound scale interface tickets Pagination is enforced to a maximum of 100 records per page

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
custId

Customer ID used on the scale ticket. (optional)

string

Default value is string.Empty

asmNum

Assembly number used on the scale ticket. (optional) (Starts with match)

string

Default value is string.Empty

locId

Location ID used on the scale ticket. (optional)

string

Default value is string.Empty

tickNum

Ticket number used on the scale ticket. (optional) (Starts with match)

string

Default value is string.Empty

commodityId

Commodity ID used on the scale ticket. (optional)

string

Default value is string.Empty

contractId

Contract ID used on the scale ticket. (optional) (Starts with match)

string

Default value is string.Empty

farmId

Farm used on the scale ticket. This is a 8-digit alpha-numeric identifier (requires the custId parameter to be populated). (optional)

string

Default value is string.Empty

fieldId

FieldID used on the scale ticket. (optional)

string

Default value is string.Empty

isTransferred

Filter the list of tickets based on the transferred status to Grain. (optional) (omit or leave null to not use this filter)

boolean
isVoided

Filter the list of tickets based on the voided status. (optional) (omit or leave null to not use this filter)

boolean
ticketDateOnOrAfter

Filter the list of tickets to those ticket dates on or after the supplied date. (optional) (time portion will be ignored)

date
ticketDateOnOrBefore

Filter the list of tickets to those ticket dates on or before the supplied date. (optional) (time portion will be ignored)

date
modifiedOnOrAfterUtc

Filter the list of tickets to those changed on or after the supplied UTC date and time. (optional)

date
modifiedOnOrBeforeUtc

Filter the list of tickets to those changed on or before the supplied UTC date and time. (optional)

date

Body Parameters

Response Information

Resource Description

Gets a list of inbound scale interface tickets Pagination is enforced to a maximum of 100 records per page

AgvScaleInterface
NameDescriptionTypeAdditional 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 error messages of the API call.

Collection of string
WarningList

List of warning messages of the API call.

Collection of string
Count

Number of results returned.

string
Data

List of Properties and Values returned for each grain scale interface record that matches the request.

Collection of ClsGrainScaleInterfaceApi

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "ErrorList": [
    "sample string 1",
    "sample string 2"
  ],
  "WarningList": [
    "sample string 1",
    "sample string 2"
  ],
  "Count": "2",
  "Data": [
    {
      "TicketGUID": "515e6908-221e-427b-9995-e82bbfc416d4",
      "TicketNum": "sample string 5",
      "AssemblyNum": "sample string 6",
      "LocationId": "sample string 7",
      "CommodityId": "sample string 8",
      "TicketDate": "2022-12-08T02:28:13.3096876+00:00",
      "CashPrice": 9.1,
      "GrossWeight": 10,
      "GrossWeightCaptureDateTime": "2022-12-08T02:28:13.3096876+00:00",
      "TareWeight": 12,
      "TareWeightCaptureDateTime": "2022-12-08T02:28:13.3096876+00:00",
      "NetWeight": 14,
      "DockPercent": 15.1,
      "ShrinkPercent": 16.1,
      "GrossUnits": 17.1,
      "DockUnits": 18.1,
      "ShrinkUnits": 19.1,
      "NetUnits": 20.1,
      "Comment": "sample string 22",
      "BinId": "sample string 23",
      "DriverOn": true,
      "TransferredFlag": true,
      "VehicleDescription": "sample string 38",
      "Axles": 39,
      "WeighMaster": "sample string 40",
      "WeighMasterLicenseNumber": "sample string 41",
      "FarmUniqueId": 1,
      "FarmName": "sample string 43",
      "GrowerId": "sample string 44",
      "FieldId": "sample string 45",
      "FreightVendorId": "sample string 47",
      "FreightVendorName": "sample string 48",
      "BillOfLadingNumber": "sample string 49",
      "ReadyForTransfer": true,
      "Voided": true,
      "MoistureTesterCalibrationNumber": "sample string 79",
      "IsApproximatedTestWeight": true,
      "CommodityVariety": "sample string 86",
      "LastModifiedUTC": "2022-12-08T02:28:13.3096876+00:00",
      "Splits": [
        {
          "CustomerId": "sample string 2",
          "CustomerName": "sample string 3",
          "SharePercent": 4.1,
          "ContractNumber": "sample string 5",
          "Disposition": "sample string 7"
        },
        {
          "CustomerId": "sample string 2",
          "CustomerName": "sample string 3",
          "SharePercent": 4.1,
          "ContractNumber": "sample string 5",
          "Disposition": "sample string 7"
        }
      ],
      "GradeFactors": [
        {
          "GradeFactorId": "sample string 2",
          "Value": 1.1
        },
        {
          "GradeFactorId": "sample string 2",
          "Value": 1.1
        }
      ]
    },
    {
      "TicketGUID": "515e6908-221e-427b-9995-e82bbfc416d4",
      "TicketNum": "sample string 5",
      "AssemblyNum": "sample string 6",
      "LocationId": "sample string 7",
      "CommodityId": "sample string 8",
      "TicketDate": "2022-12-08T02:28:13.3096876+00:00",
      "CashPrice": 9.1,
      "GrossWeight": 10,
      "GrossWeightCaptureDateTime": "2022-12-08T02:28:13.3096876+00:00",
      "TareWeight": 12,
      "TareWeightCaptureDateTime": "2022-12-08T02:28:13.3096876+00:00",
      "NetWeight": 14,
      "DockPercent": 15.1,
      "ShrinkPercent": 16.1,
      "GrossUnits": 17.1,
      "DockUnits": 18.1,
      "ShrinkUnits": 19.1,
      "NetUnits": 20.1,
      "Comment": "sample string 22",
      "BinId": "sample string 23",
      "DriverOn": true,
      "TransferredFlag": true,
      "VehicleDescription": "sample string 38",
      "Axles": 39,
      "WeighMaster": "sample string 40",
      "WeighMasterLicenseNumber": "sample string 41",
      "FarmUniqueId": 1,
      "FarmName": "sample string 43",
      "GrowerId": "sample string 44",
      "FieldId": "sample string 45",
      "FreightVendorId": "sample string 47",
      "FreightVendorName": "sample string 48",
      "BillOfLadingNumber": "sample string 49",
      "ReadyForTransfer": true,
      "Voided": true,
      "MoistureTesterCalibrationNumber": "sample string 79",
      "IsApproximatedTestWeight": true,
      "CommodityVariety": "sample string 86",
      "LastModifiedUTC": "2022-12-08T02:28:13.3096876+00:00",
      "Splits": [
        {
          "CustomerId": "sample string 2",
          "CustomerName": "sample string 3",
          "SharePercent": 4.1,
          "ContractNumber": "sample string 5",
          "Disposition": "sample string 7"
        },
        {
          "CustomerId": "sample string 2",
          "CustomerName": "sample string 3",
          "SharePercent": 4.1,
          "ContractNumber": "sample string 5",
          "Disposition": "sample string 7"
        }
      ],
      "GradeFactors": [
        {
          "GradeFactorId": "sample string 2",
          "Value": 1.1
        },
        {
          "GradeFactorId": "sample string 2",
          "Value": 1.1
        }
      ]
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: No set method for property 'FarmId' in type 'SSI.clsSIScaleTicket+ClsGrainScaleInterfaceApi'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: No set method for property 'FarmId' in type 'SSI.clsSIScaleTicket+ClsGrainScaleInterfaceApi'.