| All Verbs | /post_ticketAddFile |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| token | query | string | Yes | |
| tokensecret | query | string | Yes | |
| query | string | Yes | ||
| idticket | query | string | Yes | |
| idwebcare1 | query | string | Yes | |
| list | query | List<attachmentFile> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| fileName | form | string | No | |
| base64 | form | string | No | |
| base64Thumbnail | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| result | form | int | No | |
| message | 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/reply/post_ticketAddFile HTTP/1.1
Host: ssl.buildersaccess.com
Content-Type: text/jsv
Content-Length: length
{
token: String,
tokensecret: String,
email: String,
idticket: String,
idwebcare1: String,
list:
[
{
fileName: String,
base64: String,
base64Thumbnail: String
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result: 0,
message: String
}