# SetPublicationPeriod

## Description

Sets the publication period of an iPaper, it will only be visible within the publication period. **From** and **to** parameters only accepts UTC dates.

## Parameters

| Name    | Value                                                           |
| ------- | --------------------------------------------------------------- |
| paperID | The ID of the iPaper whose publication period should be changed |
| from    | The beginning of the publication period                         |
| to      | The end of the publication period                               |

## Sample Response

```xml
<?xml version="1.0" encoding="utf-8"?>
<result>
  <code><![CDATA[SUCCESS]]></code>
  <message><![CDATA[Publication period cleared.]]></message>
</result>
```

## Return Codes

* SUCCESS
* ERROR
* READONLY
