POST api/manager/PrimaryContent/Edit/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
PoemsTable| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| serviceId | integer |
None. |
|
| keyName | string |
None. |
|
| poemContent | string |
None. |
|
| categoryId | integer |
None. |
|
| createdAt | integer |
None. |
|
| poetId | integer |
None. |
|
| lastModified | integer |
None. |
|
| syncedWithCloudApi | boolean |
None. |
|
| isFree | boolean |
None. |
|
| addedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"serviceId": 2,
"keyName": "sample string 3",
"poemContent": "sample string 4",
"categoryId": 5,
"createdAt": 6,
"poetId": 7,
"lastModified": 8,
"syncedWithCloudApi": true,
"isFree": true,
"addedBy": "sample string 11"
}
application/xml, text/xml
Sample:
<PoemsTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoetAPI.Models"> <addedBy>sample string 11</addedBy> <categoryId>5</categoryId> <createdAt>6</createdAt> <id>1</id> <isFree>true</isFree> <keyName>sample string 3</keyName> <lastModified>8</lastModified> <poemContent>sample string 4</poemContent> <poetId>7</poetId> <serviceId>2</serviceId> <syncedWithCloudApi>true</syncedWithCloudApi> </PoemsTable>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.