PUT api/catalog/catalogs/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UpdateCatalogRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
String length: inclusive between 0 and 200 |
|
| Version | string |
String length: inclusive between 0 and 50 |
|
| ParentCatalogId | integer |
None. |
|
| Status | string |
String length: inclusive between 0 and 50 |
|
| CatalogPathSegment | string |
String length: inclusive between 0 and 200 |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Version": "sample string 2",
"ParentCatalogId": 1,
"Status": "sample string 3",
"CatalogPathSegment": "sample string 4"
}
application/xml, text/xml
Sample:
<UpdateCatalogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TomJames.API.Areas.CatalogManagement.Models.Request"> <CatalogPathSegment>sample string 4</CatalogPathSegment> <Name>sample string 1</Name> <ParentCatalogId>1</ParentCatalogId> <Status>sample string 3</Status> <Version>sample string 2</Version> </UpdateCatalogRequest>
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.