Accept Disclaimer#
The acceptDisclaimer call provides a means to accept the disclaimer of a dataroom.
If, using the Check Identity or using the Get Datarooms call
you receive a dataroom with the a disclaimer= attribute, you need to check the creationDate and
the acceptionDate in the disclaimer-structure.
If the acceptionDate is empty or if the acceptionDate is older than the creationDate (in which
case it means the previous disclaimer was accepted but the administrator changed the disclaimer and it
needs to be accepted again) you need to accept the disclaimer before you can retrieve any content from
that dataroom.
NOTE: the disclaimer-attribute does not always exists. If it exists, there is a disclaimer, otherwise
there is no disclaimer.
Request#
Request method is checkIdentity:
GET https://app.netfiles.de/;internal&action=mobile.json&apikey=<YourApiKey>&deviceID=<currentDeviceID>&method=acceptDisclaimer
Authorization: Basic BASE64(UTF8Bytes(<username>:<password>))
Accept: application/json
Response#
200 OK or nnn <error>