POST api/Edi/Railcar/ReleaseRailcar
Use this method to convey railcar release instructions from a customer.
Request Information
URI Parameters
None.
Body Parameters
ReleaseEdiRailcarRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyCode |
This should be either "15" for Frontier Logistics or "73" for Mission Rail. |
string |
None. |
| RawCustomerId |
This should be the raw customer ID as received in the EDI t-set, CSV file, etc. |
string |
None. |
| ActualCustomerId |
If the RawCustomerId was able to be translated to an actual customer ID, then it should be specified here. Otherwise, this value should be left blank. |
string |
None. |
| RailcarLabel |
This is the identifier for the railcar. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyCode": "sample string 1",
"RawCustomerId": "SAMPLE STRING 2",
"ActualCustomerId": "SAMPLE STRING 3",
"RailcarLabel": "SAMPLE STRING 4"
}
text/html
Sample:
{"CompanyCode":"sample string 1","RawCustomerId":"SAMPLE STRING 2","ActualCustomerId":"SAMPLE STRING 3","RailcarLabel":"SAMPLE STRING 4"}
Response Information
Resource Description
ReleaseEdiRailcarResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| EquipmentIdNo |
Indicates the EquipmentIdNo of the railcar record that was created or updated by the Save method. |
integer |
None. |
| ActionTaken |
Returns either Released or None depending on the action taken by the Save method. |
string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.