Update WNS Settings (PUT)

Uploads an WNS certificate to the application referenced by the application name.

Roles

Users in the following roles are authorized to perform this operation:

  • mfpadmin
  • mfpdeployer
  • mfpoperator

Method

PUT

Path

/management-apis/2.0/runtimes/runtime-name/notifications/applications/application-name/wnsConf

Example

https://www.example.com/mfpadmin/management-apis/2.0/runtimes/myruntime/notifications/applications/myapplication/wnsConf?locale=de_DE

Path Parameters

runtime-name
The name of the runtime. This is the context root of the runtime web application, without the leading slash.
application-name
The name of the application.

Query Parameters

Query parameters are optional.

locale
The locale used for error messages.

Consumes

application/json, application/xml, text/xml

Produces

application/json, application/xml, text/xml

Payload

JSON Example

{
  "clientSecret" : "712345dummyvalues12345",
  "packageSID" : "ms-app://s-1-15-2-dummyvalues12345",
}

XML Example

<?xml version="1.0" encoding="UTF-8"?>
<pushWNS
  clientSecret="712345dummyvalues12345"
  packageSID="ms-app://s-1-15-2-dummyvalues12345"/>

Payload Properties

The payload has the following properties:
clientSecret
The Secret Key
packageSID
Package Security Identifier (SID)

Errors

400
The request was not understood by the push server.
403
The user is not authorized to call this service.
404
The corresponding runtime or application is not found or not running.
415
Unsupported Media Type - The content type specified in Content-Type header is not application/json.
500
An internal error occurred.