PUT ScaleTicket/PutScaleTicket
Updates a STLM Scale Ticket.
Request Information
URI Parameters
Body Parameters
STLM Scale Ticket object used to update a transaction.
ClsStlmTicketUpdate| Name | Description | Type | Additional Information |
|---|---|---|---|
| ScaleTicketIdentifier |
Provide the UUID or ticket parts to retrieve this STLM Scale Ticket for editing |
ClsScaleTicketIdentifier |
Required |
| AssemblyIdentifier |
The Assembly UUID or ID and Location to assign the STLM Scale Ticket to |
ClsAssemblyIdentifier |
Required |
| TicketNumberIdentifier |
The ticket number parts to assign this ticket to |
ClsScaleTicketIdentifierParts |
Required |
| TicketDate |
The Date of the Scale Ticket |
string |
Required Format must be MM/dd/yyyy |
| BasePrice |
When provided - the Base Price of the ticket used as the Spot Price for non-contracted 'Priced' dispositions |
decimal number |
Max of 4 decimal places |
| FarmIdentifier |
When provided - the Identifier of the farm to use for this Scale Ticket |
ClsFarmIdentifier | |
| FieldIdentifier |
When provided - the Identifier of the field to use for this Scale Ticket. If the farm is identified, this field must belong to that farm |
ClsFieldIdentifier | |
| LotNumber |
The Lot Number of the Scale Ticket |
string |
Max length: 30 |
| GrossWeight |
Optional Gross Weight of the Scale Ticket |
integer | |
| TareWeight |
Optional Tare Weight of the Scale Ticket |
integer | |
| NetWeight |
The Net Weight of the Scale Ticket. IF the Gross or Tare Weights are included, this must calculate out from those values |
integer |
Required Cannot be negative |
| GrossUnits |
The Gross Units of the Scale Ticket. IF the Gross or Tare Weights are included, this must calculate from the Net Weight / Commodity Lbs/Unit rounded to Commodity Decimal Accuracy |
decimal number |
Required Cannot be negative Max of 4 decimal places |
| CommodityVariety |
The Commodity Variety of the Scale Ticket - will honor the requirement of this being required from the database |
string |
Max length: 50 |
| BinIdentifier |
When provided - the Identifier of the Bin of the Scale Ticket |
ClsBinIdentifier | |
| BOLNumber |
The BOL Number of the Scale Ticket |
string |
Max length: 15 |
| FreightVendorIdentifier |
When provided - the Identifier of the Freight Vendor of the Scale Ticket |
ClsVendorIdentifier | |
| Comments |
The Comments of the Scale Ticket |
string |
Max length: 60 |
| DirectShipped |
An indication of if the Scale Ticket was Direct Shipped or not |
boolean |
Required |
| ShippingDestinationIdentifier |
When provided - the Identifier of the Shipping Destination - ONLY valid when DirectShipped is true |
ClsShippingDestIdentifier | |
| CustomerSplits |
List of customer splits of the Scale Ticket |
Collection of ClsStlmTicketUpdateSplit |
List cannot be empty |
| GradeFactors |
List of grade factors of the Scale Ticket. Must exist on the current ticket by RecordGuid. The Premium Discount dollars will ONLY be recalculated when the PD Schedule is valid and the property "CalculatePremiumDiscountValueFromSchedule" is set to "true" |
Collection of ClsStlmTicketUpdateGradFact | |
| FreightCharges |
List of Freight Vendors and the charge information - Recon info will be retained when the RecordGuid matches existing data in the DB |
Collection of ClsStlmTicketUpdateFreight |
Request Formats
application/json, text/json
{
"ScaleTicketIdentifier": {
"ScaleTicketGuid": "41d6ee46-556e-4eed-ba9b-7e6d8d12e4f3",
"ScaleTicketIdentifierPartsWithLocation": {
"LocationIdentifier": {
"LocationGUID": "54eee026-76ad-42ce-ae65-80007f55b096",
"LocationID": "sample string 1"
},
"TicketPrefix": "sample string 1",
"TicketNumber": 1,
"TicketSuffix": "sample string 2"
}
},
"AssemblyIdentifier": {
"AssemblyGuid": "3f40e09e-3b38-42f5-ad81-8928bfc7f738",
"PaperClipId": "sample string 1",
"LocationId": "sample string 2"
},
"TicketNumberIdentifier": {
"TicketPrefix": "sample string 1",
"TicketNumber": 1,
"TicketSuffix": "sample string 2"
},
"TicketDate": "sample string 4",
"BasePrice": 1.1,
"FarmIdentifier": {
"FarmGuid": "32b685d6-f9e6-4be4-a822-0804dbe97e19",
"GrowerId": "sample string 1",
"FarmId": "sample string 2"
},
"FieldIdentifier": {
"FieldGuid": "e67a37fb-7238-46e9-8224-2dd9050cde50",
"GrowerId": "sample string 1",
"FieldId": "sample string 2"
},
"LotNumber": "sample string 5",
"GrossWeight": 1,
"TareWeight": 1,
"NetWeight": 6,
"GrossUnits": 7.1,
"CommodityVariety": "sample string 8",
"BinIdentifier": {
"BinGuid": "e9daace8-593f-4d4b-b183-9880879c5693",
"BinId": "sample string 1"
},
"BOLNumber": "sample string 9",
"FreightVendorIdentifier": {
"VendorGuid": "0551ce4a-3386-4680-ae10-14ac607932f9",
"VendorId": "sample string 1"
},
"Comments": "sample string 10",
"DirectShipped": true,
"ShippingDestinationIdentifier": {
"ShipDestGuid": "bd0e54ee-cad8-4f41-a14b-81b8ecf64e36",
"ShipDestId": "sample string 1"
},
"CustomerSplits": [
{
"RecordGuid": "b7d76f94-6cd0-431f-a614-f0b63dd2db47",
"CustomerIdentifier": {
"CustomerGuid": "9322c311-8c18-4c4c-8879-b062d14f9c69",
"GrowerId": "sample string 1"
},
"SplitPercent": 1.1,
"GrossUnits": 2.1,
"Disposition": "sample string 3",
"PurchaseContractIdentifier": {
"ContractGuid": "ca97a18a-6716-455c-87cb-9dcdacf25ad7",
"ContractNum": "sample string 1",
"LocationId": "sample string 2"
},
"Overfill": "sample string 4",
"OverfillPaperclipScaleTickSplitGuid": "dbb33211-14a6-4ca6-b2d2-8907591d3267",
"ShrinkTableIdentifier": {
"GradeFactorId": "sample string 1",
"ScheduleId": "sample string 2",
"ShrinkTableGuid": "5cccf3c3-ce9b-4def-bb15-b5016dbe4cf6"
},
"DockageTableIdentifier": {
"GradeFactorId": "sample string 1",
"ScheduleId": "sample string 2",
"DockTableGuid": "e64b4078-fac2-4c6a-a6a0-f78bd51b6e61"
},
"DryingChargePremiumDiscountIdentifier": {
"GradeFactorId": "sample string 1",
"ScheduleId": "sample string 2",
"PremiumDiscountGuid": "98fb2004-cc61-493e-82b9-94a39f703070"
},
"ChargeScheduleIdentifier": {
"ChargeScheduleGuid": "3c29ef25-da62-4476-b4be-37649e05a23d",
"ChargeScheduleId": "sample string 1"
},
"ChargePreExistingDollarsRemaining": 5.1,
"ChargeStartDateOverride": "sample string 6",
"CondoStorage": true,
"FreightPercent": 8.1,
"Reshrunk": true,
"OpenStorageOnHold": true,
"OriginalSplitGuidForSplittingOutToAssignContract": "a9c02a74-4beb-4f2c-9e79-24151ccb7049",
"AssignNewSplitGuidOnSave": true
},
{
"RecordGuid": "b7d76f94-6cd0-431f-a614-f0b63dd2db47",
"CustomerIdentifier": {
"CustomerGuid": "9322c311-8c18-4c4c-8879-b062d14f9c69",
"GrowerId": "sample string 1"
},
"SplitPercent": 1.1,
"GrossUnits": 2.1,
"Disposition": "sample string 3",
"PurchaseContractIdentifier": {
"ContractGuid": "ca97a18a-6716-455c-87cb-9dcdacf25ad7",
"ContractNum": "sample string 1",
"LocationId": "sample string 2"
},
"Overfill": "sample string 4",
"OverfillPaperclipScaleTickSplitGuid": "dbb33211-14a6-4ca6-b2d2-8907591d3267",
"ShrinkTableIdentifier": {
"GradeFactorId": "sample string 1",
"ScheduleId": "sample string 2",
"ShrinkTableGuid": "5cccf3c3-ce9b-4def-bb15-b5016dbe4cf6"
},
"DockageTableIdentifier": {
"GradeFactorId": "sample string 1",
"ScheduleId": "sample string 2",
"DockTableGuid": "e64b4078-fac2-4c6a-a6a0-f78bd51b6e61"
},
"DryingChargePremiumDiscountIdentifier": {
"GradeFactorId": "sample string 1",
"ScheduleId": "sample string 2",
"PremiumDiscountGuid": "98fb2004-cc61-493e-82b9-94a39f703070"
},
"ChargeScheduleIdentifier": {
"ChargeScheduleGuid": "3c29ef25-da62-4476-b4be-37649e05a23d",
"ChargeScheduleId": "sample string 1"
},
"ChargePreExistingDollarsRemaining": 5.1,
"ChargeStartDateOverride": "sample string 6",
"CondoStorage": true,
"FreightPercent": 8.1,
"Reshrunk": true,
"OpenStorageOnHold": true,
"OriginalSplitGuidForSplittingOutToAssignContract": "a9c02a74-4beb-4f2c-9e79-24151ccb7049",
"AssignNewSplitGuidOnSave": true
}
],
"GradeFactors": [
{
"RecordGuid": "f80caaf1-38ff-4ae4-8e64-33e7aeb8d29a",
"Result": 1.1,
"PremiumDiscountValue": 1.1,
"PremiumDiscountScheduleOrGuid": {
"ScheduleId": "sample string 1",
"PremiumDiscountGuid": "3d52ec8e-f520-46af-a019-90140c9b28a0"
},
"CalculatePremiumDiscountValueFromSchedule": true
},
{
"RecordGuid": "f80caaf1-38ff-4ae4-8e64-33e7aeb8d29a",
"Result": 1.1,
"PremiumDiscountValue": 1.1,
"PremiumDiscountScheduleOrGuid": {
"ScheduleId": "sample string 1",
"PremiumDiscountGuid": "3d52ec8e-f520-46af-a019-90140c9b28a0"
},
"CalculatePremiumDiscountValueFromSchedule": true
}
],
"FreightCharges": [
{
"RecordGuid": "119d87ca-4a3b-43ea-9b97-1f184ffa35ab",
"FreightVendorIdentifier": {
"VendorGuid": "0551ce4a-3386-4680-ae10-14ac607932f9",
"VendorId": "sample string 1"
},
"Rate": 1.1
},
{
"RecordGuid": "119d87ca-4a3b-43ea-9b97-1f184ffa35ab",
"FreightVendorIdentifier": {
"VendorGuid": "0551ce4a-3386-4680-ae10-14ac607932f9",
"VendorId": "sample string 1"
},
"Rate": 1.1
}
]
}
application/xml, text/xml
<ClsStlmTicketUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.Grain">
<AssemblyIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:AssemblyGuid>3f40e09e-3b38-42f5-ad81-8928bfc7f738</d2p1:AssemblyGuid>
<d2p1:LocationId>sample string 2</d2p1:LocationId>
<d2p1:PaperClipId>sample string 1</d2p1:PaperClipId>
</AssemblyIdentifier>
<BOLNumber>sample string 9</BOLNumber>
<BasePrice>1.1</BasePrice>
<BinIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:BinGuid>e9daace8-593f-4d4b-b183-9880879c5693</d2p1:BinGuid>
<d2p1:BinId>sample string 1</d2p1:BinId>
</BinIdentifier>
<Comments>sample string 10</Comments>
<CommodityVariety>sample string 8</CommodityVariety>
<CustomerSplits>
<ClsStlmTicketUpdateSplit>
<AssignNewSplitGuidOnSave>true</AssignNewSplitGuidOnSave>
<ChargePreExistingDollarsRemaining>5.1</ChargePreExistingDollarsRemaining>
<ChargeScheduleIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:ChargeScheduleGuid>3c29ef25-da62-4476-b4be-37649e05a23d</d4p1:ChargeScheduleGuid>
<d4p1:ChargeScheduleId>sample string 1</d4p1:ChargeScheduleId>
</ChargeScheduleIdentifier>
<ChargeStartDateOverride>sample string 6</ChargeStartDateOverride>
<CondoStorage>true</CondoStorage>
<CustomerIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Customer">
<d4p1:CustomerGuid>9322c311-8c18-4c4c-8879-b062d14f9c69</d4p1:CustomerGuid>
<d4p1:GrowerId>sample string 1</d4p1:GrowerId>
</CustomerIdentifier>
<Disposition>sample string 3</Disposition>
<DockageTableIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:DockTableGuid>e64b4078-fac2-4c6a-a6a0-f78bd51b6e61</d4p1:DockTableGuid>
<d4p1:ScheduleId>sample string 2</d4p1:ScheduleId>
<d4p1:GradeFactorId>sample string 1</d4p1:GradeFactorId>
</DockageTableIdentifier>
<DryingChargePremiumDiscountIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:PremiumDiscountGuid>98fb2004-cc61-493e-82b9-94a39f703070</d4p1:PremiumDiscountGuid>
<d4p1:ScheduleId>sample string 2</d4p1:ScheduleId>
<d4p1:GradeFactorId>sample string 1</d4p1:GradeFactorId>
</DryingChargePremiumDiscountIdentifier>
<FreightPercent>8.1</FreightPercent>
<GrossUnits>2.1</GrossUnits>
<OpenStorageOnHold>true</OpenStorageOnHold>
<OriginalSplitGuidForSplittingOutToAssignContract>a9c02a74-4beb-4f2c-9e79-24151ccb7049</OriginalSplitGuidForSplittingOutToAssignContract>
<Overfill>sample string 4</Overfill>
<OverfillPaperclipScaleTickSplitGuid>dbb33211-14a6-4ca6-b2d2-8907591d3267</OverfillPaperclipScaleTickSplitGuid>
<PurchaseContractIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:ContractGuid>ca97a18a-6716-455c-87cb-9dcdacf25ad7</d4p1:ContractGuid>
<d4p1:ContractNum>sample string 1</d4p1:ContractNum>
<d4p1:LocationId>sample string 2</d4p1:LocationId>
</PurchaseContractIdentifier>
<RecordGuid>b7d76f94-6cd0-431f-a614-f0b63dd2db47</RecordGuid>
<Reshrunk>true</Reshrunk>
<ShrinkTableIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:ShrinkTableGuid>5cccf3c3-ce9b-4def-bb15-b5016dbe4cf6</d4p1:ShrinkTableGuid>
<d4p1:ScheduleId>sample string 2</d4p1:ScheduleId>
<d4p1:GradeFactorId>sample string 1</d4p1:GradeFactorId>
</ShrinkTableIdentifier>
<SplitPercent>1.1</SplitPercent>
</ClsStlmTicketUpdateSplit>
<ClsStlmTicketUpdateSplit>
<AssignNewSplitGuidOnSave>true</AssignNewSplitGuidOnSave>
<ChargePreExistingDollarsRemaining>5.1</ChargePreExistingDollarsRemaining>
<ChargeScheduleIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:ChargeScheduleGuid>3c29ef25-da62-4476-b4be-37649e05a23d</d4p1:ChargeScheduleGuid>
<d4p1:ChargeScheduleId>sample string 1</d4p1:ChargeScheduleId>
</ChargeScheduleIdentifier>
<ChargeStartDateOverride>sample string 6</ChargeStartDateOverride>
<CondoStorage>true</CondoStorage>
<CustomerIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Customer">
<d4p1:CustomerGuid>9322c311-8c18-4c4c-8879-b062d14f9c69</d4p1:CustomerGuid>
<d4p1:GrowerId>sample string 1</d4p1:GrowerId>
</CustomerIdentifier>
<Disposition>sample string 3</Disposition>
<DockageTableIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:DockTableGuid>e64b4078-fac2-4c6a-a6a0-f78bd51b6e61</d4p1:DockTableGuid>
<d4p1:ScheduleId>sample string 2</d4p1:ScheduleId>
<d4p1:GradeFactorId>sample string 1</d4p1:GradeFactorId>
</DockageTableIdentifier>
<DryingChargePremiumDiscountIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:PremiumDiscountGuid>98fb2004-cc61-493e-82b9-94a39f703070</d4p1:PremiumDiscountGuid>
<d4p1:ScheduleId>sample string 2</d4p1:ScheduleId>
<d4p1:GradeFactorId>sample string 1</d4p1:GradeFactorId>
</DryingChargePremiumDiscountIdentifier>
<FreightPercent>8.1</FreightPercent>
<GrossUnits>2.1</GrossUnits>
<OpenStorageOnHold>true</OpenStorageOnHold>
<OriginalSplitGuidForSplittingOutToAssignContract>a9c02a74-4beb-4f2c-9e79-24151ccb7049</OriginalSplitGuidForSplittingOutToAssignContract>
<Overfill>sample string 4</Overfill>
<OverfillPaperclipScaleTickSplitGuid>dbb33211-14a6-4ca6-b2d2-8907591d3267</OverfillPaperclipScaleTickSplitGuid>
<PurchaseContractIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:ContractGuid>ca97a18a-6716-455c-87cb-9dcdacf25ad7</d4p1:ContractGuid>
<d4p1:ContractNum>sample string 1</d4p1:ContractNum>
<d4p1:LocationId>sample string 2</d4p1:LocationId>
</PurchaseContractIdentifier>
<RecordGuid>b7d76f94-6cd0-431f-a614-f0b63dd2db47</RecordGuid>
<Reshrunk>true</Reshrunk>
<ShrinkTableIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:ShrinkTableGuid>5cccf3c3-ce9b-4def-bb15-b5016dbe4cf6</d4p1:ShrinkTableGuid>
<d4p1:ScheduleId>sample string 2</d4p1:ScheduleId>
<d4p1:GradeFactorId>sample string 1</d4p1:GradeFactorId>
</ShrinkTableIdentifier>
<SplitPercent>1.1</SplitPercent>
</ClsStlmTicketUpdateSplit>
</CustomerSplits>
<DirectShipped>true</DirectShipped>
<FarmIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Farm">
<d2p1:FarmGuid>32b685d6-f9e6-4be4-a822-0804dbe97e19</d2p1:FarmGuid>
<d2p1:FarmId>sample string 2</d2p1:FarmId>
<d2p1:GrowerId>sample string 1</d2p1:GrowerId>
</FarmIdentifier>
<FieldIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Field">
<d2p1:FieldGuid>e67a37fb-7238-46e9-8224-2dd9050cde50</d2p1:FieldGuid>
<d2p1:FieldId>sample string 2</d2p1:FieldId>
<d2p1:GrowerId>sample string 1</d2p1:GrowerId>
</FieldIdentifier>
<FreightCharges>
<ClsStlmTicketUpdateFreight>
<FreightVendorIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Vendor">
<d4p1:VendorGuid>0551ce4a-3386-4680-ae10-14ac607932f9</d4p1:VendorGuid>
<d4p1:VendorId>sample string 1</d4p1:VendorId>
</FreightVendorIdentifier>
<Rate>1.1</Rate>
<RecordGuid>119d87ca-4a3b-43ea-9b97-1f184ffa35ab</RecordGuid>
</ClsStlmTicketUpdateFreight>
<ClsStlmTicketUpdateFreight>
<FreightVendorIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Vendor">
<d4p1:VendorGuid>0551ce4a-3386-4680-ae10-14ac607932f9</d4p1:VendorGuid>
<d4p1:VendorId>sample string 1</d4p1:VendorId>
</FreightVendorIdentifier>
<Rate>1.1</Rate>
<RecordGuid>119d87ca-4a3b-43ea-9b97-1f184ffa35ab</RecordGuid>
</ClsStlmTicketUpdateFreight>
</FreightCharges>
<FreightVendorIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Vendor">
<d2p1:VendorGuid>0551ce4a-3386-4680-ae10-14ac607932f9</d2p1:VendorGuid>
<d2p1:VendorId>sample string 1</d2p1:VendorId>
</FreightVendorIdentifier>
<GradeFactors>
<ClsStlmTicketUpdateGradFact>
<CalculatePremiumDiscountValueFromSchedule>true</CalculatePremiumDiscountValueFromSchedule>
<PremiumDiscountScheduleOrGuid xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:PremiumDiscountGuid>3d52ec8e-f520-46af-a019-90140c9b28a0</d4p1:PremiumDiscountGuid>
<d4p1:ScheduleId>sample string 1</d4p1:ScheduleId>
</PremiumDiscountScheduleOrGuid>
<PremiumDiscountValue>1.1</PremiumDiscountValue>
<RecordGuid>f80caaf1-38ff-4ae4-8e64-33e7aeb8d29a</RecordGuid>
<Result>1.1</Result>
</ClsStlmTicketUpdateGradFact>
<ClsStlmTicketUpdateGradFact>
<CalculatePremiumDiscountValueFromSchedule>true</CalculatePremiumDiscountValueFromSchedule>
<PremiumDiscountScheduleOrGuid xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d4p1:PremiumDiscountGuid>3d52ec8e-f520-46af-a019-90140c9b28a0</d4p1:PremiumDiscountGuid>
<d4p1:ScheduleId>sample string 1</d4p1:ScheduleId>
</PremiumDiscountScheduleOrGuid>
<PremiumDiscountValue>1.1</PremiumDiscountValue>
<RecordGuid>f80caaf1-38ff-4ae4-8e64-33e7aeb8d29a</RecordGuid>
<Result>1.1</Result>
</ClsStlmTicketUpdateGradFact>
</GradeFactors>
<GrossUnits>7.1</GrossUnits>
<GrossWeight>1</GrossWeight>
<LotNumber>sample string 5</LotNumber>
<NetWeight>6</NetWeight>
<ScaleTicketIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:ScaleTicketGuid>41d6ee46-556e-4eed-ba9b-7e6d8d12e4f3</d2p1:ScaleTicketGuid>
<d2p1:ScaleTicketIdentifierPartsWithLocation>
<d2p1:TicketNumber>1</d2p1:TicketNumber>
<d2p1:TicketPrefix>sample string 1</d2p1:TicketPrefix>
<d2p1:TicketSuffix>sample string 2</d2p1:TicketSuffix>
<d2p1:LocationIdentifier xmlns:d4p1="http://schemas.datacontract.org/2004/07/SKY.Core.Location">
<d4p1:LocationGUID>54eee026-76ad-42ce-ae65-80007f55b096</d4p1:LocationGUID>
<d4p1:LocationID>sample string 1</d4p1:LocationID>
</d2p1:LocationIdentifier>
</d2p1:ScaleTicketIdentifierPartsWithLocation>
</ScaleTicketIdentifier>
<ShippingDestinationIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:ShipDestGuid>bd0e54ee-cad8-4f41-a14b-81b8ecf64e36</d2p1:ShipDestGuid>
<d2p1:ShipDestId>sample string 1</d2p1:ShipDestId>
</ShippingDestinationIdentifier>
<TareWeight>1</TareWeight>
<TicketDate>sample string 4</TicketDate>
<TicketNumberIdentifier xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:TicketNumber>1</d2p1:TicketNumber>
<d2p1:TicketPrefix>sample string 1</d2p1:TicketPrefix>
<d2p1:TicketSuffix>sample string 2</d2p1:TicketSuffix>
</TicketNumberIdentifier>
</ClsStlmTicketUpdate>
application/x-www-form-urlencoded
Response Information
Resource Description
Updates a STLM Scale Ticket.
AgvStlmScaleTicket| 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 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 STLM Scale Ticket that matches the request |
Collection of ClsStlmScaleTicketApi |
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"
],
"Count": "2",
"Data": [
{
"ScaleTicketGuid": "5b9598c1-4e62-410a-a7f7-d055d641dbad",
"UniqueID": 2,
"AssemblyNumber": "sample string 3",
"LocationId": "sample string 4",
"LocationName": "sample string 5",
"TicketDate": "2026-04-13T07:52:09.980116+00:00",
"ConcatenatedScaleTicketNumber": "sample string 71sample string 8",
"CommodityId": "sample string 9",
"TicketStatus": "sample string 10",
"Reversed": true,
"GrossWeight": 1.1,
"TareWeight": 1.1,
"NetWeight": 12.1,
"GrossUnits": 13.1,
"TotalPremDisc": 14.1,
"FarmKey": 1,
"FarmId": "sample string 15",
"GrowId": "sample string 16",
"FieldId": "sample string 17",
"LotNumber": "sample string 18",
"Comment": "sample string 19",
"LastModifiedUtc": "2026-04-13T07:52:09.980116+00:00",
"Splits": [
{
"CustId": "sample string 1",
"CustomerName": "sample string 2",
"Dpr": "sample string 3",
"ContractId": "sample string 4",
"ContractLocationId": "sample string 5",
"GrossUnits": 6.1,
"ShrinkUnits": 7.1,
"DockUnits": 8.1,
"NetUnits": 9.1,
"FreightPercent": 10.1
},
{
"CustId": "sample string 1",
"CustomerName": "sample string 2",
"Dpr": "sample string 3",
"ContractId": "sample string 4",
"ContractLocationId": "sample string 5",
"GrossUnits": 6.1,
"ShrinkUnits": 7.1,
"DockUnits": 8.1,
"NetUnits": 9.1,
"FreightPercent": 10.1
}
],
"GradeFactors": [
{
"GradeFactorId": "sample string 1",
"Result": 1.1,
"PremDisc": 1.1
},
{
"GradeFactorId": "sample string 1",
"Result": 1.1,
"PremDisc": 1.1
}
],
"FreightCharges": [
{
"FreightVendorId": "sample string 1",
"Rate": 1.1,
"Total": 1.1
},
{
"FreightVendorId": "sample string 1",
"Rate": 1.1,
"Total": 1.1
}
]
},
{
"ScaleTicketGuid": "5b9598c1-4e62-410a-a7f7-d055d641dbad",
"UniqueID": 2,
"AssemblyNumber": "sample string 3",
"LocationId": "sample string 4",
"LocationName": "sample string 5",
"TicketDate": "2026-04-13T07:52:09.980116+00:00",
"ConcatenatedScaleTicketNumber": "sample string 71sample string 8",
"CommodityId": "sample string 9",
"TicketStatus": "sample string 10",
"Reversed": true,
"GrossWeight": 1.1,
"TareWeight": 1.1,
"NetWeight": 12.1,
"GrossUnits": 13.1,
"TotalPremDisc": 14.1,
"FarmKey": 1,
"FarmId": "sample string 15",
"GrowId": "sample string 16",
"FieldId": "sample string 17",
"LotNumber": "sample string 18",
"Comment": "sample string 19",
"LastModifiedUtc": "2026-04-13T07:52:09.980116+00:00",
"Splits": [
{
"CustId": "sample string 1",
"CustomerName": "sample string 2",
"Dpr": "sample string 3",
"ContractId": "sample string 4",
"ContractLocationId": "sample string 5",
"GrossUnits": 6.1,
"ShrinkUnits": 7.1,
"DockUnits": 8.1,
"NetUnits": 9.1,
"FreightPercent": 10.1
},
{
"CustId": "sample string 1",
"CustomerName": "sample string 2",
"Dpr": "sample string 3",
"ContractId": "sample string 4",
"ContractLocationId": "sample string 5",
"GrossUnits": 6.1,
"ShrinkUnits": 7.1,
"DockUnits": 8.1,
"NetUnits": 9.1,
"FreightPercent": 10.1
}
],
"GradeFactors": [
{
"GradeFactorId": "sample string 1",
"Result": 1.1,
"PremDisc": 1.1
},
{
"GradeFactorId": "sample string 1",
"Result": 1.1,
"PremDisc": 1.1
}
],
"FreightCharges": [
{
"FreightVendorId": "sample string 1",
"Rate": 1.1,
"Total": 1.1
},
{
"FreightVendorId": "sample string 1",
"Rate": 1.1,
"Total": 1.1
}
]
}
]
}