| All Verbs | /post_storageAdd_v2 |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| token | query | string | Yes | |
| tokensecret | query | string | Yes | |
| query | string | Yes | ||
| info | query | storageInfo_v2 | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| idnumber | form | string | No | |
| filename | form | string | No | |
| filesize | form | long | No | |
| filetype | form | string | No | |
| fileurl | form | string | No | |
| creadate | form | string | No | |
| creaby | form | string | No | |
| modidate | form | string | No | |
| modiby | form | string | No | |
| ciaList | form | List<accessCompany> | No | |
| policy_yn | form | bool | No | |
| archive_yn | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| idnumber | form | string | No | |
| idcia | form | string | No | |
| name | form | string | No | |
| alias | form | string | No | |
| creadate | form | DateTime | No | |
| creaby | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/post_storageAdd_v2 HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/jsv
Content-Length: length
{
token: String,
tokensecret: String,
email: String,
info:
{
idnumber: String,
filename: String,
filesize: 0,
filetype: String,
fileurl: String,
creadate: String,
creaby: String,
modidate: String,
modiby: String,
ciaList:
[
{
idnumber: String,
idcia: String,
name: String,
alias: String,
creadate: 0001-01-01,
creaby: String
}
],
policy_yn: False,
archive_yn: False
}
}