Create or Update App View (Hub)

[This topic is pre-release documentation and is subject to change.]

Creates a new or updates an existing App View type for a Customer Insights Hub.


The request is constructed as follows:

HTTP Verb Request URI
PUT <hub-endpoint>/manage/views/<viewName>?api-version=2017-04-26&userId=<userId>

URI Parameters

URI Parameter Required Description
hub-endpoint Yes The base URL for your Customer Insights Hub
viewName Yes Name of the app view to be created or updated
userId No The ID of the user utilizing the view

Request Body

A JSON object describing a App View in the form:

     'properties' : <View-Definition>

Where the properties property contains a View definition that optionally repeats the view name.


The response includes an HTTP status code and a standard set of response headers.

Status Code

  • 200 (OK) - the update request completed successfully.

  • 201 (Created) - the create request completed successfully.

  • 400 (BadRequest) - paramter or view definition is invalid JSON.

  • 401 (Unauthorized) - the sender does not have write access to this resource.

  • 500 (InternalServerError) - Error encountered writing to metadata database.