GET api/FuelStation/GetFuelStationById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Communications_FuelStations
NameDescriptionTypeAdditional information
FuelStationId

integer

None.

StationName

string

None.

Address

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

ContactNumber

string

None.

OpeningHours

string

None.

ServicesAvailable

string

None.

EmailAddress

string

None.

IsActive

boolean

None.

StoreId

globally unique identifier

None.

AllowOnlineOrder

boolean

None.

StoreOpenAt

string

None.

StoreCloseAt

string

None.

ApiKey

string

None.

SharedSecret

string

None.

Username

string

None.

Password

string

None.

PublicKey

string

None.

DeliveryRedirectUrl

string

None.

Franchise_Store

Franchise_Store

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Franchise_Franchise' with type 'WebApi2.Franchise_Franchise'. Path 'Franchise_Store.Accounting_Export[0].Franchise_Franchise.Accounting_Account[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Franchise_Franchise' with type 'WebApi2.Franchise_Franchise'. Path 'Franchise_Store.Accounting_Export[0].Franchise_Franchise.Accounting_Account[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'WebApi2.Accounting_AccountDailyAnalysis' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'WebApi2.Accounting_AccountDailyAnalysis' contains cycles and cannot be serialized if reference tracking is disabled.