GET MotorFuel/GetMotorFuelSetupInfo
Gets the motor fuel setup information.
Request Information
URI Parameters
Body Parameters
Response Information
Resource Description
Gets the motor fuel setup information.
AgvMotorFuelName | 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 |
JSON dictionary of MotorFuelInfo. |
ClsMotorFuelSetup |
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": "1", "Data": { "ProductTypeList": [ { "ProductType": "sample string 1" }, { "ProductType": "sample string 1" } ], "ScheduleList": [ { "Schedule": "sample string 1" }, { "Schedule": "sample string 1" } ], "OriginCityList": [ { "City": "sample string 1", "State": "sample string 2", "FacilityID": "sample string 3" }, { "City": "sample string 1", "State": "sample string 2", "FacilityID": "sample string 3" } ], "ModeOfTransportationList": [ { "ModeOfTransportation": "sample string 1" }, { "ModeOfTransportation": "sample string 1" } ], "MichiganMotorFuelLicenseTypeList": [ { "MichiganMotorFuelLicenseType": "sample string 1" }, { "MichiganMotorFuelLicenseType": "sample string 1" } ], "TaxFeeTypeList": [ { "TaxFeeType": "sample string 1" }, { "TaxFeeType": "sample string 1" } ] } }
application/xml, text/xml
<AgvMotorFuel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.MotorFuel"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.MotorFuel"> <d2p1:MichiganMotorFuelLicenseTypeList> <d2p1:MotorFuelMichiganMotorFuelLicenseType> <d2p1:MichiganMotorFuelLicenseType>sample string 1</d2p1:MichiganMotorFuelLicenseType> </d2p1:MotorFuelMichiganMotorFuelLicenseType> <d2p1:MotorFuelMichiganMotorFuelLicenseType> <d2p1:MichiganMotorFuelLicenseType>sample string 1</d2p1:MichiganMotorFuelLicenseType> </d2p1:MotorFuelMichiganMotorFuelLicenseType> </d2p1:MichiganMotorFuelLicenseTypeList> <d2p1:ModeOfTransportationList> <d2p1:MotorFuelModeOfTransportation> <d2p1:ModeOfTransportation>sample string 1</d2p1:ModeOfTransportation> </d2p1:MotorFuelModeOfTransportation> <d2p1:MotorFuelModeOfTransportation> <d2p1:ModeOfTransportation>sample string 1</d2p1:ModeOfTransportation> </d2p1:MotorFuelModeOfTransportation> </d2p1:ModeOfTransportationList> <d2p1:OriginCityList> <d2p1:MotorFuelOriginInfo> <d2p1:City>sample string 1</d2p1:City> <d2p1:FacilityID>sample string 3</d2p1:FacilityID> <d2p1:State>sample string 2</d2p1:State> </d2p1:MotorFuelOriginInfo> <d2p1:MotorFuelOriginInfo> <d2p1:City>sample string 1</d2p1:City> <d2p1:FacilityID>sample string 3</d2p1:FacilityID> <d2p1:State>sample string 2</d2p1:State> </d2p1:MotorFuelOriginInfo> </d2p1:OriginCityList> <d2p1:ProductTypeList> <d2p1:MotorFuelProductType> <d2p1:ProductType>sample string 1</d2p1:ProductType> </d2p1:MotorFuelProductType> <d2p1:MotorFuelProductType> <d2p1:ProductType>sample string 1</d2p1:ProductType> </d2p1:MotorFuelProductType> </d2p1:ProductTypeList> <d2p1:ScheduleList> <d2p1:MotorFuelSchedule> <d2p1:Schedule>sample string 1</d2p1:Schedule> </d2p1:MotorFuelSchedule> <d2p1:MotorFuelSchedule> <d2p1:Schedule>sample string 1</d2p1:Schedule> </d2p1:MotorFuelSchedule> </d2p1:ScheduleList> <d2p1:TaxFeeTypeList> <d2p1:MotorFuelTaxFeeType> <d2p1:TaxFeeType>sample string 1</d2p1:TaxFeeType> </d2p1:MotorFuelTaxFeeType> <d2p1:MotorFuelTaxFeeType> <d2p1:TaxFeeType>sample string 1</d2p1:TaxFeeType> </d2p1:MotorFuelTaxFeeType> </d2p1:TaxFeeTypeList> </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> </AgvMotorFuel>