PUT api/Store/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

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.

Request 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-19T06:41:29.5550882+07:00",
  "CreatedUser": "sample string 8",
  "UpdatedOnUtc": "2025-05-19T06:41:29.5550882+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 'RCPQG_API.Models.Contact' 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 'RCPQG_API.Models.Contact' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Store'.

Response Information

Resource Description

None.