3.3.5.1.15.2 Response Body

The response body is JSON (as specified in [RFC4627]) with the following parameters:

JSON:

 {
 "Name":{"type":"string","optional":false},
 "Url":{"type":"string","default":"","optional":false},
 "HostViewUrl":{"type":"string","default":"","optional":true},
 "HostEditNewUrl":{"type":"string","default":"","optional":true},
 "HostEditUrl":{"type":"string","default":"","optional":true},
 }

Name: The name of the file without the path.

URL: A URI that is the WOPI server URI of the newly created file in the form:

HTTP://server/<...>/wopi*/files/<id>?access_token=<token>

Where id is the WOPI server’s id for the new file, and token is the WOPI server’s credentials token for accessing the new file.

HostViewUrl: A URI to a web page that provides a viewing experience for the new file utilizing the WOPI client.

HostEditNewUrl: A URI to a web page that provides an editing experience for the new file utilizing the WOPI client, using the editnew action.<77>

HostEditUrl: A URI to a web page that provides an editing experience for the new file utilizing the WOPI client.