Where documents are stored: a SharePoint or WebDAV location.
Label in Fledge: WebDAV mappings
| URL | https://odata-api.fledge.nl/v2-8/CloudStorageLocations |
|---|---|
| Key | cloud_storage_location_id |
| Administration | Shared by all administrations. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASISBEHEER |
| Write licenses | BEHEER |
| Scopes | FLEDGE_PORTALFLEDGE_TERMINAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/CloudStorageLocations" \
--data-urlencode '$select=cloud_storage_location_id,updated_by,username,created' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/CloudStorageLocations');
url.searchParams.set('$select', 'cloud_storage_location_id,updated_by,username,created');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/CloudStorageLocations" + "?" + string.Join("&",
"$select=" + Uri.EscapeDataString("cloud_storage_location_id,updated_by,username,created"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/CloudStorageLocations({cloud_storage_location_id})Fields
| Field | Type | Description |
|---|---|---|
cloud_storage_location_idkey | Int32 | Volgnummer |
created | DateTimeOffset | Aangemaakt op: Datum/tijd aanmaak |
modified | DateTimeOffset | Gewijzigd op: Datum/tijd laatste wijziging |
created_by | Int32 | Gebruiker aanmaak |
local_path | String | Lokaal pad |
storage_config | String | Storage configuration |
storage_type | Int32 | Storage type
|
updated_by | Int32 | Gewijzigd door gebruiker |
url | String | URL |
username | String | User name |
Relations
Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.
| Navigation | Entity set | |
|---|---|---|
DocumentRegistrations | DocumentRegistrations | many |
Actions
getSharePointDrives
GET https://odata-api.fledge.nl/v2-8/CloudStorageLocations/getSharePointDrives(…)tenant_idStringclient_idStringclient_secretStringsite_idString
Returns SharePointResultDto
getSharePointFiles
GET https://odata-api.fledge.nl/v2-8/CloudStorageLocations/getSharePointFiles(…)tenant_idStringclient_idStringclient_secretStringsite_idStringdrive_idString
Returns SharePointResultDto
getSharePointSites
GET https://odata-api.fledge.nl/v2-8/CloudStorageLocations/getSharePointSites(…)tenant_idStringclient_idStringclient_secretString
Returns SharePointResultDto
upload
POST https://odata-api.fledge.nl/v2-8/CloudStorageLocations({cloud_storage_location_id})/uploadReturns DocumentRegistration