PATCH api/catalog/catalogs/{id}/rename
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
RenameCatalogRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.