PBX API : PUT /CallHistory/:id/

To update info a call, make an HTTP PUT request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/CallHistory/:id/

PUT Parameters

Required Parameters

NamePossible valuesRequiredDescription
data

archived
start
answer
end
billsec
disposition
faxdata
from_name
from_number
to_name
to_number
lastapp
userfield
lastdata
cost
channel
dstchannel
type
timezone

 

 

 

 

Optional Parameters:

NameDefaultPossible valuesDescription

Example:

 

POST params
data[archived]=true
POST http://{PBX}/api/v1/CallHistory/58/
 {

    "type":"result",
    "result":{
        "changed":1
    }
}