Метод | Описание | |
---|---|---|
Create ( string path, byte file ) : void |
Creates a file to the document archive. Be aware of the path convention that says a file path cannot end with a slash. If the file already exists an ApiException with ApiErrorType Exists will be thrown.
|
|
CreatePath ( string path ) : void |
Create a folder path. It is possible to supply a path with subfolders that will be created simultaneous. Be aware of the path convention that says if a paths ends with a slash it denotes a folder. Hence the path must end with a slash. If the path already exists an ApiException with ApiErrorType Exists will be thrown.
|
|
Delete ( string path ) : void |
Delete a file or folder. If the path is a folder all folder content will be deleted too.
|
|
DocumentResource ( ApiClient client, |
Instantiates a new DocumentResource object.
|
|
DocumentResource ( ApiClient client, string businessIdentityCode ) : System |
Instantiates a new DocumentResource object.
|
|
DownloadFile ( string path ) : byte[] |
Download a file from the document archive. Be aware of the path convention that says a file path cannot end with a slash.
|
|
Get ( string path ) : |
Get the file or folder info for the path.
|
|
GetUrl ( string path ) : string |
Url for the document archive resource.
|
|
Update ( string path, byte file ) : void |
Save a file to the document archive. Be aware of the path convention that says a file path cannot end with a slash. If the file already exists it will be replaced by the new one.
|
|
UpdatePath ( string path ) : void |
Update a folder path. It is possible to supply a path with subfolders that will be created simultaneous. Be aware of the path convention that says if a paths ends with a slash it denotes a folder. Hence the path must end with a slash.
|
public Create ( string path, byte file ) : void | ||
path | string | The path to the file to create |
file | byte | The binary data to upload |
Результат | void |
public CreatePath ( string path ) : void | ||
path | string | The path to create. |
Результат | void |
public Delete ( string path ) : void | ||
path | string | The path to the file or folder |
Результат | void |
public DocumentResource ( ApiClient client, |
||
client | ApiClient | REST client |
company | Company | |
Результат | System |
public DocumentResource ( ApiClient client, string businessIdentityCode ) : System | ||
client | ApiClient | REST client |
businessIdentityCode | string | Business identity code for company. |
Результат | System |
public DownloadFile ( string path ) : byte[] | ||
path | string | The path to the file. |
Результат | byte[] |
public Get ( string path ) : |
||
path | string | The path to the file or folder |
Результат |
public Update ( string path, byte file ) : void | ||
path | string | The path to the file to create |
file | byte | The binary data to upload |
Результат | void |
public UpdatePath ( string path ) : void | ||
path | string | The path to create. |
Результат | void |