GET api/StoresByCountryId?countyid={countyid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countyid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Store
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Url

string

None.

SslEnabled

boolean

None.

SecureUrl

string

None.

Hosts

string

None.

DisplayOrder

integer

None.

CreatedOnUtc

date

None.

CreatedUser

string

None.

UpdatedOnUtc

date

None.

UpdatedUser

string

None.

Contacts

Collection of Contact

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Url": "sample string 3",
    "SslEnabled": true,
    "SecureUrl": "sample string 5",
    "Hosts": "sample string 6",
    "DisplayOrder": 7,
    "CreatedOnUtc": "2025-05-19T05:07:53.107457+07:00",
    "CreatedUser": "sample string 8",
    "UpdatedOnUtc": "2025-05-19T05:07:53.107457+07:00",
    "UpdatedUser": "sample string 9",
    "Contacts": [
      {
        "Id": 1,
        "CustomerName": "sample string 2",
        "Email": "sample string 3",
        "PhoneNumber": "sample string 4",
        "Problem_Id": 1,
        "Store_Id": 1,
        "Content": "sample string 5",
        "SubjectToAcl": true,
        "LimitedToStores": true,
        "Problem": {
          "Id": 1,
          "ProblemName": "sample string 2",
          "Status": true,
          "SubjectToAcl": true,
          "LimitedToStores": true,
          "Contacts": []
        }
      },
      {
        "Id": 1,
        "CustomerName": "sample string 2",
        "Email": "sample string 3",
        "PhoneNumber": "sample string 4",
        "Problem_Id": 1,
        "Store_Id": 1,
        "Content": "sample string 5",
        "SubjectToAcl": true,
        "LimitedToStores": true,
        "Problem": {
          "Id": 1,
          "ProblemName": "sample string 2",
          "Status": true,
          "SubjectToAcl": true,
          "LimitedToStores": true,
          "Contacts": []
        }
      }
    ]
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Url": "sample string 3",
    "SslEnabled": true,
    "SecureUrl": "sample string 5",
    "Hosts": "sample string 6",
    "DisplayOrder": 7,
    "CreatedOnUtc": "2025-05-19T05:07:53.107457+07:00",
    "CreatedUser": "sample string 8",
    "UpdatedOnUtc": "2025-05-19T05:07:53.107457+07:00",
    "UpdatedUser": "sample string 9",
    "Contacts": [
      {
        "Id": 1,
        "CustomerName": "sample string 2",
        "Email": "sample string 3",
        "PhoneNumber": "sample string 4",
        "Problem_Id": 1,
        "Store_Id": 1,
        "Content": "sample string 5",
        "SubjectToAcl": true,
        "LimitedToStores": true,
        "Problem": {
          "Id": 1,
          "ProblemName": "sample string 2",
          "Status": true,
          "SubjectToAcl": true,
          "LimitedToStores": true,
          "Contacts": []
        }
      },
      {
        "Id": 1,
        "CustomerName": "sample string 2",
        "Email": "sample string 3",
        "PhoneNumber": "sample string 4",
        "Problem_Id": 1,
        "Store_Id": 1,
        "Content": "sample string 5",
        "SubjectToAcl": true,
        "LimitedToStores": true,
        "Problem": {
          "Id": 1,
          "ProblemName": "sample string 2",
          "Status": true,
          "SubjectToAcl": true,
          "LimitedToStores": true,
          "Contacts": []
        }
      }
    ]
  }
]

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 'System.Collections.Generic.List`1[[RCPQG_API.Models.Contact, RCPQG_API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[RCPQG_API.Models.Contact, RCPQG_API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.