Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WebPageFile

...

('FileInfo.Type' property set to "WebPage") is derived from the 'StoredFile' structure, and is used to reference (regular) webpages uploaded to BSN by ID. See the example below (your values will vary for all but "type"):

Code Block
{
   "type": "WebPage", // [string], structure data type visible only in JSON representation and used by de-serializer to determine expected property set of this object instance
   "name": "My First Web Page", // [string]
   "size": 20224, // [uint]
   "hash": "SHA1:1F224E31B9265062BE58E7D12FE3332E03536D48", // [string]
   "creationDate": "2017-02-19T20:10:11.287Z", // [DateTime]
   "lastModifiedDate": "2016-12-01T23:46:35.793Z", // [DateTime]
   "id": 47487, // [int]
   "path": "http://localhost:8081/Content/WebPages/9184f22b-51da-42e3-9900-c9c5bba03e6e.html" // [URI]
}