PUT api/Publisher/{publisherName}
Updates an existing publisher
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
publisherName |
Name of publisher |
string |
Required |
Body Parameters
Updated publisher details
PublisherName | Description | Type | Additional information |
---|---|---|---|
PublisherID | integer |
None. |
|
Name | string |
None. |
|
URL | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PublisherID": 1, "Name": "sample string 2", "URL": "sample string 3" }
application/xml, text/xml
Sample:
<Publisher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yummy.Portal.Models"> <Name>sample string 2</Name> <PublisherID>1</PublisherID> <URL>sample string 3</URL> </Publisher>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Http Status Code
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |