POST api/Poet/refreshPoems?poetId={poetId}&lastModified={lastModified}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
poetId

integer

Required

lastModified

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of tempContent
NameDescriptionTypeAdditional information
id

integer

None.

poemContent

string

None.

keyName

string

None.

categoryId

integer

None.

poetId

integer

None.

relayStatus

integer

None.

poemStatus

string

None.

createdAt

integer

None.

comment

string

None.

reply

string

None.

alteredCount

integer

None.

supervisor_id

integer

None.

lastModified

integer

None.

syncWithPoet

boolean

None.

syncWithSupervisor

boolean

None.

localId

integer

None.

syncedWithCloudApi

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "poemContent": "sample string 2",
    "keyName": "sample string 3",
    "categoryId": 4,
    "poetId": 5,
    "relayStatus": 6,
    "poemStatus": "sample string 7",
    "createdAt": 8,
    "comment": "sample string 9",
    "reply": "sample string 10",
    "alteredCount": 11,
    "supervisor_id": 12,
    "lastModified": 13,
    "syncWithPoet": true,
    "syncWithSupervisor": true,
    "localId": 16,
    "syncedWithCloudApi": true
  },
  {
    "id": 1,
    "poemContent": "sample string 2",
    "keyName": "sample string 3",
    "categoryId": 4,
    "poetId": 5,
    "relayStatus": 6,
    "poemStatus": "sample string 7",
    "createdAt": 8,
    "comment": "sample string 9",
    "reply": "sample string 10",
    "alteredCount": 11,
    "supervisor_id": 12,
    "lastModified": 13,
    "syncWithPoet": true,
    "syncWithSupervisor": true,
    "localId": 16,
    "syncedWithCloudApi": true
  }
]

application/xml, text/xml

Sample:
<ArrayOftempContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoetAPI.Models">
  <tempContent>
    <alteredCount>11</alteredCount>
    <categoryId>4</categoryId>
    <comment>sample string 9</comment>
    <createdAt>8</createdAt>
    <id>1</id>
    <keyName>sample string 3</keyName>
    <lastModified>13</lastModified>
    <localId>16</localId>
    <poemContent>sample string 2</poemContent>
    <poemStatus>sample string 7</poemStatus>
    <poetId>5</poetId>
    <relayStatus>6</relayStatus>
    <reply>sample string 10</reply>
    <supervisor_id>12</supervisor_id>
    <syncWithPoet>true</syncWithPoet>
    <syncWithSupervisor>true</syncWithSupervisor>
    <syncedWithCloudApi>true</syncedWithCloudApi>
  </tempContent>
  <tempContent>
    <alteredCount>11</alteredCount>
    <categoryId>4</categoryId>
    <comment>sample string 9</comment>
    <createdAt>8</createdAt>
    <id>1</id>
    <keyName>sample string 3</keyName>
    <lastModified>13</lastModified>
    <localId>16</localId>
    <poemContent>sample string 2</poemContent>
    <poemStatus>sample string 7</poemStatus>
    <poetId>5</poetId>
    <relayStatus>6</relayStatus>
    <reply>sample string 10</reply>
    <supervisor_id>12</supervisor_id>
    <syncWithPoet>true</syncWithPoet>
    <syncWithSupervisor>true</syncWithSupervisor>
    <syncedWithCloudApi>true</syncedWithCloudApi>
  </tempContent>
</ArrayOftempContent>