GET api/Store/GetLastStore?StoreId={StoreId}

Documentation for 'GetLastStore'.

Request Information

Parameters

NameDescriptionAdditional information
StoreId
Documentation for 'StoreId'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ID": "d84771d2-3c00-4d77-8f2e-f3ffbdb24797",
    "Code": "sample string 2",
    "Type": "sample string 3",
    "Name": "sample string 4",
    "Street": "sample string 5",
    "District": "sample string 6",
    "ZipCode": "sample string 7",
    "Phone": "sample string 8",
    "TimeZone": "sample string 9",
    "IPAddress": "sample string 10",
    "Latitude": "sample string 11",
    "Longitude": "sample string 12",
    "RegionId": "c495f714-87fd-40a3-9330-b6caa2e215a0",
    "Region": {
      "$id": "2",
      "ID": "ea83d2cb-c603-4d56-b97d-6687dd7e94b3",
      "RegionName": "sample string 2",
      "DistrictName": "sample string 3",
      "DistrictID": 4,
      "ProvinceId": "d44a26a4-7002-4ad1-9278-011f09033e49",
      "Province": {
        "$id": "3",
        "ID": "890cd07e-60b8-42eb-a7d8-2e7d0853407c",
        "ProvinceName": "sample string 2",
        "IsDeleted": true
      },
      "IsDeleted": true
    },
    "IsDeleted": true,
    "DistrictId": 15,
    "IsActivate": true,
    "IsFreeGift": true,
    "Manager": "sample string 17",
    "ManagerOnDuty": "sample string 18",
    "Shift": "sample string 19",
    "TotalPage": 20,
    "ActiveDate": "2026-06-06T04:23:39.2347153+07:00",
    "stringActiveDate": "sample string 22",
    "IsActiveDate": true,
    "IsApprovedCPS": true,
    "IsApprovedNet": true,
    "DCCode": "sample string 26",
    "Branch_ID": "c24b99b0-aa6e-4df8-8ba1-f682c9c72582",
    "RadiusStoreMap": "sample string 28",
    "IsBKMS": true,
    "StoreMerchantBrand": "sample string 30"
  },
  {
    "$ref": "1"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStoreModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <StoreModel>
    <ID>d84771d2-3c00-4d77-8f2e-f3ffbdb24797</ID>
    <Code>sample string 2</Code>
    <Type>sample string 3</Type>
    <Name>sample string 4</Name>
    <Street>sample string 5</Street>
    <District>sample string 6</District>
    <ZipCode>sample string 7</ZipCode>
    <Phone>sample string 8</Phone>
    <TimeZone>sample string 9</TimeZone>
    <IPAddress>sample string 10</IPAddress>
    <Latitude>sample string 11</Latitude>
    <Longitude>sample string 12</Longitude>
    <RegionId>c495f714-87fd-40a3-9330-b6caa2e215a0</RegionId>
    <Region>
      <ID>ea83d2cb-c603-4d56-b97d-6687dd7e94b3</ID>
      <RegionName>sample string 2</RegionName>
      <DistrictName>sample string 3</DistrictName>
      <DistrictID>4</DistrictID>
      <ProvinceId>d44a26a4-7002-4ad1-9278-011f09033e49</ProvinceId>
      <Province>
        <ID>890cd07e-60b8-42eb-a7d8-2e7d0853407c</ID>
        <ProvinceName>sample string 2</ProvinceName>
        <IsDeleted>true</IsDeleted>
      </Province>
      <IsDeleted>true</IsDeleted>
    </Region>
    <IsDeleted>true</IsDeleted>
    <DistrictId>15</DistrictId>
    <IsActivate>true</IsActivate>
    <IsFreeGift>true</IsFreeGift>
    <Manager>sample string 17</Manager>
    <ManagerOnDuty>sample string 18</ManagerOnDuty>
    <Shift>sample string 19</Shift>
    <TotalPage>20</TotalPage>
    <ActiveDate>2026-06-06T04:23:39.2347153+07:00</ActiveDate>
    <stringActiveDate>sample string 22</stringActiveDate>
    <IsActiveDate>true</IsActiveDate>
    <IsApprovedCPS>true</IsApprovedCPS>
    <IsApprovedNet>true</IsApprovedNet>
    <DCCode>sample string 26</DCCode>
    <Branch_ID>c24b99b0-aa6e-4df8-8ba1-f682c9c72582</Branch_ID>
    <RadiusStoreMap>sample string 28</RadiusStoreMap>
    <IsBKMS>true</IsBKMS>
    <StoreMerchantBrand>sample string 30</StoreMerchantBrand>
  </StoreModel>
  <StoreModel>
    <ID>d84771d2-3c00-4d77-8f2e-f3ffbdb24797</ID>
    <Code>sample string 2</Code>
    <Type>sample string 3</Type>
    <Name>sample string 4</Name>
    <Street>sample string 5</Street>
    <District>sample string 6</District>
    <ZipCode>sample string 7</ZipCode>
    <Phone>sample string 8</Phone>
    <TimeZone>sample string 9</TimeZone>
    <IPAddress>sample string 10</IPAddress>
    <Latitude>sample string 11</Latitude>
    <Longitude>sample string 12</Longitude>
    <RegionId>c495f714-87fd-40a3-9330-b6caa2e215a0</RegionId>
    <Region>
      <ID>ea83d2cb-c603-4d56-b97d-6687dd7e94b3</ID>
      <RegionName>sample string 2</RegionName>
      <DistrictName>sample string 3</DistrictName>
      <DistrictID>4</DistrictID>
      <ProvinceId>d44a26a4-7002-4ad1-9278-011f09033e49</ProvinceId>
      <Province>
        <ID>890cd07e-60b8-42eb-a7d8-2e7d0853407c</ID>
        <ProvinceName>sample string 2</ProvinceName>
        <IsDeleted>true</IsDeleted>
      </Province>
      <IsDeleted>true</IsDeleted>
    </Region>
    <IsDeleted>true</IsDeleted>
    <DistrictId>15</DistrictId>
    <IsActivate>true</IsActivate>
    <IsFreeGift>true</IsFreeGift>
    <Manager>sample string 17</Manager>
    <ManagerOnDuty>sample string 18</ManagerOnDuty>
    <Shift>sample string 19</Shift>
    <TotalPage>20</TotalPage>
    <ActiveDate>2026-06-06T04:23:39.2347153+07:00</ActiveDate>
    <stringActiveDate>sample string 22</stringActiveDate>
    <IsActiveDate>true</IsActiveDate>
    <IsApprovedCPS>true</IsApprovedCPS>
    <IsApprovedNet>true</IsApprovedNet>
    <DCCode>sample string 26</DCCode>
    <Branch_ID>c24b99b0-aa6e-4df8-8ba1-f682c9c72582</Branch_ID>
    <RadiusStoreMap>sample string 28</RadiusStoreMap>
    <IsBKMS>true</IsBKMS>
    <StoreMerchantBrand>sample string 30</StoreMerchantBrand>
  </StoreModel>
  <StoreModel>
    <ID>d84771d2-3c00-4d77-8f2e-f3ffbdb24797</ID>
    <Code>sample string 2</Code>
    <Type>sample string 3</Type>
    <Name>sample string 4</Name>
    <Street>sample string 5</Street>
    <District>sample string 6</District>
    <ZipCode>sample string 7</ZipCode>
    <Phone>sample string 8</Phone>
    <TimeZone>sample string 9</TimeZone>
    <IPAddress>sample string 10</IPAddress>
    <Latitude>sample string 11</Latitude>
    <Longitude>sample string 12</Longitude>
    <RegionId>c495f714-87fd-40a3-9330-b6caa2e215a0</RegionId>
    <Region>
      <ID>ea83d2cb-c603-4d56-b97d-6687dd7e94b3</ID>
      <RegionName>sample string 2</RegionName>
      <DistrictName>sample string 3</DistrictName>
      <DistrictID>4</DistrictID>
      <ProvinceId>d44a26a4-7002-4ad1-9278-011f09033e49</ProvinceId>
      <Province>
        <ID>890cd07e-60b8-42eb-a7d8-2e7d0853407c</ID>
        <ProvinceName>sample string 2</ProvinceName>
        <IsDeleted>true</IsDeleted>
      </Province>
      <IsDeleted>true</IsDeleted>
    </Region>
    <IsDeleted>true</IsDeleted>
    <DistrictId>15</DistrictId>
    <IsActivate>true</IsActivate>
    <IsFreeGift>true</IsFreeGift>
    <Manager>sample string 17</Manager>
    <ManagerOnDuty>sample string 18</ManagerOnDuty>
    <Shift>sample string 19</Shift>
    <TotalPage>20</TotalPage>
    <ActiveDate>2026-06-06T04:23:39.2347153+07:00</ActiveDate>
    <stringActiveDate>sample string 22</stringActiveDate>
    <IsActiveDate>true</IsActiveDate>
    <IsApprovedCPS>true</IsApprovedCPS>
    <IsApprovedNet>true</IsApprovedNet>
    <DCCode>sample string 26</DCCode>
    <Branch_ID>c24b99b0-aa6e-4df8-8ba1-f682c9c72582</Branch_ID>
    <RadiusStoreMap>sample string 28</RadiusStoreMap>
    <IsBKMS>true</IsBKMS>
    <StoreMerchantBrand>sample string 30</StoreMerchantBrand>
  </StoreModel>
</ArrayOfStoreModel>