GET api/getstore/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
StoreName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Partner | Partner |
None. |
|
PartnerId | integer |
None. |
|
Name | string |
None. |
|
Adress | string |
None. |
|
City | string |
Max length: 70 |
|
PostalNumber | string |
Max length: 20 |
|
Longitude | string |
None. |
|
Latitude | string |
None. |
|
DistanceString | string |
None. |
|
Distance | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Partner": { "Id": 1, "Naziv": "sample string 2", "Adresa": "sample string 3", "City": "sample string 4", "PostalNumber": "sample string 5" }, "PartnerId": 2, "Name": "sample string 3", "Adress": "sample string 4", "City": "sample string 5", "PostalNumber": "sample string 6", "Longitude": "sample string 7", "Latitude": "sample string 8", "DistanceString": "sample string 9", "Distance": 10.1 }
application/xml, text/xml
Sample:
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GasTrackerAPI.Models"> <Adress>sample string 4</Adress> <City>sample string 5</City> <Distance>10.1</Distance> <DistanceString>sample string 9</DistanceString> <Id>1</Id> <Latitude>sample string 8</Latitude> <Longitude>sample string 7</Longitude> <Name>sample string 3</Name> <Partner> <Adresa>sample string 3</Adresa> <City>sample string 4</City> <Id>1</Id> <Naziv>sample string 2</Naziv> <PostalNumber>sample string 5</PostalNumber> </Partner> <PartnerId>2</PartnerId> <PostalNumber>sample string 6</PostalNumber> </Store>