PUT Shipment/PatchPutShipment
Updates destination results on a shipment
Request Information
URI Parameters
Body Parameters
ClsGRShipPatch| Name | Description | Type | Additional Information |
|---|---|---|---|
| GrShipGuid |
Guid for the shipment |
globally unique identifier |
Required |
| DestinationGrossWeight |
Destination Gross Weight on the shipment |
decimal number | |
| DestinationTareWeight |
Destination Tare Weight on the shipment |
decimal number | |
| DestinationNetWeight |
Destination Net Weight on the shipment |
decimal number | |
| DestinationGrossUnits |
Destination Gross Weight on the shipment |
decimal number |
Max of 5 decimal places |
| DestinationNetUnits |
Destination Net Weight on the shipment |
decimal number |
Max of 5 decimal places |
| PatchPutDestShipGf |
Destination Grade Factors on the shipment |
Collection of ClsGRShipGfPatch | |
| PatchPutShipDt |
Shipment splits |
Collection of ClsGRShipDtPatch | |
| PatchPutShipFrtChrge |
Shipment Freight Charges |
Collection of ClsPatchPutGRShipFreightCharge |
Request Formats
application/json, text/json
Sample:
{
"GrShipGuid": "babe98f5-8d0f-4949-b079-f3e3c9bf2528",
"DestinationGrossWeight": 1.1,
"DestinationTareWeight": 1.1,
"DestinationNetWeight": 1.1,
"DestinationGrossUnits": 1.1,
"DestinationNetUnits": 1.1,
"PatchPutDestShipGf": [
{
"GradFactorId": "sample string 1",
"Result": 1.1,
"DestResult": 1.1
},
{
"GradFactorId": "sample string 1",
"Result": 1.1,
"DestResult": 1.1
}
],
"PatchPutShipDt": [
{
"UniqueId": 1,
"Contract": "sample string 2",
"SalesConLocation": "sample string 3",
"Quantity": 4.1,
"Price": 5.1,
"InTransPrice": 6.1,
"SettledQty": 7.1,
"AdjQty": 8.1,
"Completed": true,
"LIType": "sample string 10",
"DestNetUnits": 1.1,
"BasisPrice": 1.1
},
{
"UniqueId": 1,
"Contract": "sample string 2",
"SalesConLocation": "sample string 3",
"Quantity": 4.1,
"Price": 5.1,
"InTransPrice": 6.1,
"SettledQty": 7.1,
"AdjQty": 8.1,
"Completed": true,
"LIType": "sample string 10",
"DestNetUnits": 1.1,
"BasisPrice": 1.1
}
],
"PatchPutShipFrtChrge": [
{
"UniqueId": 1,
"FreightVendor": "sample string 2",
"Quantity": 3.1,
"Rate": 4.1,
"ReconYN": true,
"ReconAmount": 6.1,
"ReconDate": "sample string 7",
"APBillGuid": "04374b13-8586-4d9e-b519-cca117b7abaa"
},
{
"UniqueId": 1,
"FreightVendor": "sample string 2",
"Quantity": 3.1,
"Rate": 4.1,
"ReconYN": true,
"ReconAmount": 6.1,
"ReconDate": "sample string 7",
"APBillGuid": "04374b13-8586-4d9e-b519-cca117b7abaa"
}
]
}
application/xml, text/xml
Sample:
<ClsGrShip.ClsGRShipPatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<DestinationGrossUnits>1.1</DestinationGrossUnits>
<DestinationGrossWeight>1.1</DestinationGrossWeight>
<DestinationNetUnits>1.1</DestinationNetUnits>
<DestinationNetWeight>1.1</DestinationNetWeight>
<DestinationTareWeight>1.1</DestinationTareWeight>
<GrShipGuid>babe98f5-8d0f-4949-b079-f3e3c9bf2528</GrShipGuid>
<PatchPutDestShipGf>
<ClsGrShip.ClsGRShipPatch.ClsGRShipGfPatch>
<DestResult>1.1</DestResult>
<GradFactorId>sample string 1</GradFactorId>
<Result>1.1</Result>
</ClsGrShip.ClsGRShipPatch.ClsGRShipGfPatch>
<ClsGrShip.ClsGRShipPatch.ClsGRShipGfPatch>
<DestResult>1.1</DestResult>
<GradFactorId>sample string 1</GradFactorId>
<Result>1.1</Result>
</ClsGrShip.ClsGRShipPatch.ClsGRShipGfPatch>
</PatchPutDestShipGf>
<PatchPutShipDt>
<ClsGrShip.ClsGRShipPatch.ClsGRShipDtPatch>
<AdjQty>8.1</AdjQty>
<BasisPrice>1.1</BasisPrice>
<Completed>true</Completed>
<Contract>sample string 2</Contract>
<DestNetUnits>1.1</DestNetUnits>
<InTransPrice>6.1</InTransPrice>
<LIType>sample string 10</LIType>
<Price>5.1</Price>
<Quantity>4.1</Quantity>
<SalesConLocation>sample string 3</SalesConLocation>
<SettledQty>7.1</SettledQty>
<UniqueId>1</UniqueId>
</ClsGrShip.ClsGRShipPatch.ClsGRShipDtPatch>
<ClsGrShip.ClsGRShipPatch.ClsGRShipDtPatch>
<AdjQty>8.1</AdjQty>
<BasisPrice>1.1</BasisPrice>
<Completed>true</Completed>
<Contract>sample string 2</Contract>
<DestNetUnits>1.1</DestNetUnits>
<InTransPrice>6.1</InTransPrice>
<LIType>sample string 10</LIType>
<Price>5.1</Price>
<Quantity>4.1</Quantity>
<SalesConLocation>sample string 3</SalesConLocation>
<SettledQty>7.1</SettledQty>
<UniqueId>1</UniqueId>
</ClsGrShip.ClsGRShipPatch.ClsGRShipDtPatch>
</PatchPutShipDt>
<PatchPutShipFrtChrge>
<ClsGrShip.ClsGRShipPatch.ClsPatchPutGRShipFreightCharge>
<APBillGuid>04374b13-8586-4d9e-b519-cca117b7abaa</APBillGuid>
<FreightVendor>sample string 2</FreightVendor>
<Quantity>3.1</Quantity>
<Rate>4.1</Rate>
<ReconAmount>6.1</ReconAmount>
<ReconDate>sample string 7</ReconDate>
<ReconYN>true</ReconYN>
<UniqueId>1</UniqueId>
</ClsGrShip.ClsGRShipPatch.ClsPatchPutGRShipFreightCharge>
<ClsGrShip.ClsGRShipPatch.ClsPatchPutGRShipFreightCharge>
<APBillGuid>04374b13-8586-4d9e-b519-cca117b7abaa</APBillGuid>
<FreightVendor>sample string 2</FreightVendor>
<Quantity>3.1</Quantity>
<Rate>4.1</Rate>
<ReconAmount>6.1</ReconAmount>
<ReconDate>sample string 7</ReconDate>
<ReconYN>true</ReconYN>
<UniqueId>1</UniqueId>
</ClsGrShip.ClsGRShipPatch.ClsPatchPutGRShipFreightCharge>
</PatchPutShipFrtChrge>
</ClsGrShip.ClsGRShipPatch>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Updates destination results on a shipment
AgvShipment| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
Status of the API call. |
string | |
| Message |
Message of the API call. |
string | |
| ErrorList |
List of Error Messages returned by the api |
Collection of string | |
| WarningList |
List of Warning Messages returned by the api |
Collection of string | |
| Count |
Count of how many Shipments. |
string | |
| Data | Collection of ClsGrShip |
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": [
{
"Shipment": "sample string 4",
"Location": "sample string 5",
"GRShipGuid": "293266c4-3f36-4a2c-a138-6a2d53b86433"
},
{
"Shipment": "sample string 4",
"Location": "sample string 5",
"GRShipGuid": "293266c4-3f36-4a2c-a138-6a2d53b86433"
}
]
}
application/xml, text/xml
Sample:
<AgvShipment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Shipping.Shipment">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Grain">
<d2p1:ClsGrShip>
<d2p1:GRShipGuid>293266c4-3f36-4a2c-a138-6a2d53b86433</d2p1:GRShipGuid>
<d2p1:Location>sample string 5</d2p1:Location>
<d2p1:Shipment>sample string 4</d2p1:Shipment>
</d2p1:ClsGrShip>
<d2p1:ClsGrShip>
<d2p1:GRShipGuid>293266c4-3f36-4a2c-a138-6a2d53b86433</d2p1:GRShipGuid>
<d2p1:Location>sample string 5</d2p1:Location>
<d2p1:Shipment>sample string 4</d2p1:Shipment>
</d2p1:ClsGrShip>
</Data>
<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>
<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>
</AgvShipment>