pcc-server Config



[tags: DMA,RPRM]

Resource Root

https://localhost:8443/api/rest/pcc-server-config

Summary


Resources Methods
https://localhost:8443/api/rest/pcc-server-config

GET Retrieves pcc server Config.

PUT Updates the pcc server Config.

Resources


https://localhost:8443/api/rest/pcc-server-config


Methods

GET

Retrieves pcc server Config. [tags: DMA]

Request

Response

Status Representation Description
200 application/vnd.plcm.plcm-pcc-server-config+xml
application/vnd.plcm.plcm-pcc-server-config+json
Information successfully retrieved
304
pcc server Config information has not changed since the last
search.

Note: The API client must provide the
"plcm-pcc-server-config"
representation's ETag value in the "If-None-Match" HTTP header to
ensure conditional retrieval. This will improve network performance
by reducing bandwidth consumption.

If the API client chooses to
exclude an ETag value from a previous,
identical search in the
"If-None-Match" header, then the HTTP
response will contain the search results in the message body.
403 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json
Unable to get permission. DMA roles required: administrator,
provisioner

PUT

Updates the pcc server Config. [tags: DMA]

Request

Representations

application/vnd.plcm.plcm-pcc-server-config+xml
application/vnd.plcm.plcm-pcc-server-config+json

Response

Status Representation Description
204
pcc server Config updated successfully. The ETag returned in the
HTTP header represents the current version
of the pcc-server Config.
400 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json
Bad request
403 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json
Unauthorized. DMA role required: administrator
409 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json
The ID supplied for the External SIP Peer is not valid.
412 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json

The ETag supplied in the header and/or body does not match
that on the server.
This usually means that the template upon which the update is based
has changed
since the last time you accessed it.
428 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json
The ETag is missing and required.
409 application/vnd.plcm.plcm-error+xml
application/vnd.plcm.plcm-error+json

The ETag in the header does not match that in the body
Only one
of these is required but if they are both supplied they must
match.