PATCH api/catalog/catalogs/{id}/rename

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RenameCatalogRequest
NameDescriptionTypeAdditional information
NewName

string

Required

String length: inclusive between 0 and 200

NewPathSegment

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "NewName": "sample string 1",
  "NewPathSegment": "sample string 2"
}

application/xml, text/xml

Sample:
<RenameCatalogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.CatalogManagement.Models.Request">
  <NewName>sample string 1</NewName>
  <NewPathSegment>sample string 2</NewPathSegment>
</RenameCatalogRequest>

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 'RenameCatalogRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.