ARGENTINA
Buenos Aires +54 (11) 5217 5933
BRAZIL
Goiânia +55 (62) 99328 6605
CHILE
Santiago de Chile +56 (2) 240 533 89
URL:
https://wv{{wolkvox_server}}.wolkvox.com/server/API/v2/cases/update.php
Description:
The case update API allows us to update case records in the parameterized modules of our CRM by sending parameters.
How does it work?:
This API works through a POST request which requires the following fields for its correct operation: – in the header: “Wolkvox-Token“, In the body of the request it is required: “operation“, “wolkvox-id“, “case-type“, “responsible“, “owner“, “contact“, “description“, “status“, “priority“, “form“.
KEY | VALUE | DESCRIPTION |
---|---|---|
Wolkvox-Token | {token} | It is the token configured by the customer on the CRM page. |
operation | modulotest01 | It is the operation in which the client has configured the token and the module in which the record is created. |
Wolkvox-id | {wolkvox-id} | It is the id obtained after the creation of the case. |
case-type | Request | The type of case according to its purpose with which it will be carried out. |
responsible | He is responsible for the case. | |
owner | He is the owner of the case. | |
contact | Owner contact. | |
description | API | The description of the case. |
status | abierto | The status of the case. |
priority | alta | The priority of the case. |
form | {} | The customer’s custom fields where the type of data the case wants to enter is entered. |
'https://{{wolkvox_server}}/server/API/v2/cases/update.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('operation' => '{operation}','wolkvox-id' => '{wolkvox-id}','responsible' => '{responsible}','status' => '{status}','solution' => '{solution}','form' => '{}','files'=> new CURLFILE('/path/to/file')),
CURLOPT_HTTPHEADER => array(
'Wolkvox-Token: {Wolkvox-Token}'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
curl --location --request POST 'https://{{wolkvox_server}}/server/API/v2/cases/update.php' \
--header 'Wolkvox-Token: {Wolkvox-Token}' \
--form 'operation="{operation}"' \
--form 'wolkvox-id="{wolkvox-id}"' \
--form 'responsible="{responsible}"' \
--form 'status="{status}"' \
--form 'solution="{solution}"' \
--form 'form="{}"' \
--form 'files=@"/path/to/file"'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = new MultipartBody.Builder().setType(MultipartBody.FORM)
.addFormDataPart("operation","{operation}")
.addFormDataPart("case-type","{case-type}")
.addFormDataPart("responsible","{responsible}")
.addFormDataPart("owner","{owner}")
.addFormDataPart("contact","{contact}")
.addFormDataPart("description","{description}")
.addFormDataPart("status","{status}")
.addFormDataPart("priority","{priority}")
.addFormDataPart("form","{}")
.build();
Request request = new Request.Builder()
.url("https://{{wolkvox_server}}/server/API/v2/cases/update.php")
.method("POST", body)
.addHeader("Wolkvox-Token", "{Wolk_Token}")
.build();
Response response = client.newCall(request).execute();
import requests
url = "https://{{wolkvox_server}}/server/API/v2/cases/update.php"
payload={'operation': '{operation}',
'wolkvox-id': '{wolkvox-id}',
'responsible': '{responsible}',
'status': '{status}',
'solution': '{solution}',
'form': '{}'}
files=[
('files',('file',open('/path/to/file','rb'),'application/octet-stream'))
]
headers = {
'Wolkvox-Token': '{Wolkvox-Token}'
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)
Medellín +57 (604) 322 98 80
Bogotá +57 (601) 381 90 40
Cali +57 (602) 891 28 46
Barranquilla +57 (605) 316 10 34
Goiânia +55 (62) 99328 6605
Santiago de Chile +56 (2) 240 533 89
Atlanta +1 (678) 496 7474
Ciudad de Guatemala +502 (2) 314 1344
Ciudad de México +52 (55) 8526 36 34
Copyright © 2022 MICROSYSLABS S.A.S. Cra 30 # 4A-45 Of. 205 Ed. FOREVER W&L, Medellín, Colombia
COLOMBIA
Medellín +57 (4) 322 98 80
Bogotá +57 (1) 381 90 40
Cali +57 (2) 891 28 46
Barranquilla +57 (5) 316 10 34
ARGENTINA
Buenos Aires +54 (11) 5217 5933
SPAIN
Madrid +34 (910) 601 691
MEXICO
Ciudad de México +52 (55) 8526 36 34
BRASIL
Brasilia +55 (61) 9836 4127
São Paulo +55 (12) 9811 155 83
UNITED STATES
New York +1 (914) 373 71 36
DOMINICAN REPUBLIC
Santo Domingo +1 (829) 249 69 68
CHILE
Santiago de Chile +56 (2) 240 533 89
GUATEMALA
Ciudad de Guatemala +502 (2) 314 1344
PERU
Lima +51 (1) 644 91 39
Copyright © 2022 MICROSYSLABS S.A.S.
Cra 30 # 4A – 45 Of. 205 Ed. FOREVER W&L, Medellín, Colombia
Usamos cookies, se continuar a navegar assumimos que concorda. Pode ler mais sobre a utilização de cookies nas nossas políticas de privacidade e tratamento de dados pessoais