URI
<map_uri>/status[.<format>]
Supported methods
Parent resource
Introduction
Update the map status resource. The map status can be SAVED and PUBLISHED. This is an outdated resource and removed in iPortal 8C and up versions.
Supported Methods:
- PUT: Update the map status.
Supported representation formats: RJSON, JSON, HTML and XML.
Resource hierarchy
HTTP request methods
Execute the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiportal:8090/iportal/web/maps/{id}/status.rjson
PUT request
Update the map status. This can only be performed on maps with editable authorization.
Response structure
Execute a PUT request on the myMail resource to update the map status. The representation structure for the resource returned is shown as below:
| Field | Type | Description |
| succeed | boolean | If the map status is updated successfully. |
| error | Httperror | Error message. This field will not be created if the map status is updated successfully. |
Response example
Execute a PUT request on the mapStatus resource: http://localhost:8090/iportal/web/maps/1/status.rjson. The request sent is:
PUBLISHED
The response result in rjson format returned is as follows:
{"succeed": true}