POST api/FWebMobile/DigitalPackout/CalculateVariance
Request Information
URI Parameters
None.
Body Parameters
CalculateDigitalPackoutVarianceRequestName | Description | Type | Additional information |
---|---|---|---|
CompanyCode | string |
None. |
|
PackoutLineItemIdNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyCode": "sample string 1", "PackoutLineItemIdNo": 2 }
text/html
Sample:
{"CompanyCode":"sample string 1","PackoutLineItemIdNo":2}
Response Information
Resource Description
CalculateDigitalPackoutVarianceResponseName | Description | Type | Additional information |
---|---|---|---|
IsVarianceRequired | boolean |
None. |
|
RailcarLabel | string |
None. |
|
TxnUomCode | string |
None. |
|
InitialQuantity | decimal number |
None. |
|
OtherTxnQuantity | decimal number |
None. |
|
ThisTxnQuantity | decimal number |
None. |
|
DeltaQuantity | decimal number |
None. |
|
DeltaPercentage | decimal number |
None. |
|
IsSuccessful |
Indicates if the transaction was successful or not. |
boolean |
None. |
ReturnedMessages |
Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction. |
Collection of ReturnedMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsVarianceRequired": true, "RailcarLabel": "sample string 2", "TxnUomCode": "sample string 3", "InitialQuantity": 4.0, "OtherTxnQuantity": 5.0, "ThisTxnQuantity": 6.0, "DeltaQuantity": -7.0, "DeltaPercentage": -175.0, "IsSuccessful": true, "ReturnedMessages": null }
text/html
Sample:
{"IsVarianceRequired":true,"RailcarLabel":"sample string 2","TxnUomCode":"sample string 3","InitialQuantity":4.0,"OtherTxnQuantity":5.0,"ThisTxnQuantity":6.0,"DeltaQuantity":-7.0,"DeltaPercentage":-175.00,"IsSuccessful":true,"ReturnedMessages":null}