Set a successfully downloaded voicefile as archived
Every downloaded voicefile needs to be checked using MD5 checksum method. The MD5 checksum needs to be sent to the server to set a voicefile as archived.
Important: If this step is skipped or invalid checksum is provided, the given voicefile will be downloaded again and again during the archiving cycle.
Request | |
---|---|
Method | PUT |
Resource | https://[customer].asp.virtual-call-center.eu/v2/[files]/[yyyy]/[mm]/[uuid] |
Options | |
Body | Customized data, encoded in JSON. |
Response | |
Body | Shows whether the request has been successful or not. |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
customer | string | yes | Your call centre’s unique identifier (subdomain). |
files | string | yes | Possible values: – voicefiles |
year | integer | yes | Year |
month | integer | yes | Month within the requested year. Possible values: – 01-12 |
uuid | string | yes | Unique call identifier. |
Request object
Name | Type | Mandatory | Comment |
---|---|---|---|
checksum | string | yes | CheckSum number |
Response
Response object
Name | Type | Comment |
---|---|---|
response | boolean | States whether request is successful or not. Possible values: – true – false |
Example
Set the voice file with the following uuid as archived.
Request
URL: https://mycc.asp.virtual-call-center.eu/v2/voicefiles/2015/07/0cb7c880-3770-11e5-b81a-cb51ae8ad242
Request body
{
"checkSum": "65d86872be001e0c988e689fbd433c85"
}
Response body
{
"response": true,
"errors": []
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.