PUT api/contentgadget
Request Information
URI Parameters
None.
Body Parameters
ContentGadgetName | Description | Type | Additional information |
---|---|---|---|
ContentId | integer |
None. |
|
Title | string |
None. |
|
Content | string |
None. |
|
Owner | integer |
None. |
|
CreatedDate | date |
None. |
|
LastModifiedBy | integer |
None. |
|
ModifiedDate | date |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContentId": 1, "Title": "sample string 2", "Content": "sample string 3", "Owner": 4, "CreatedDate": "2024-12-21T15:34:55.7499928+00:00", "LastModifiedBy": 6, "ModifiedDate": "2024-12-21T15:34:55.7499928+00:00", "IsActive": true }
text/html
Sample:
{"ContentId":1,"Title":"sample string 2","Content":"sample string 3","Owner":4,"CreatedDate":"2024-12-21T15:34:55.7499928+00:00","LastModifiedBy":6,"ModifiedDate":"2024-12-21T15:34:55.7499928+00:00","IsActive":true}
application/xml, text/xml
Sample:
<ContentGadget xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models"> <Content>sample string 3</Content> <ContentId>1</ContentId> <CreatedDate>2024-12-21T15:34:55.7499928+00:00</CreatedDate> <IsActive>true</IsActive> <LastModifiedBy>6</LastModifiedBy> <ModifiedDate>2024-12-21T15:34:55.7499928+00:00</ModifiedDate> <Owner>4</Owner> <Title>sample string 2</Title> </ContentGadget>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.