Calls

Update Call

This endpoint allows you to update specific information of a Call. If the specified Call does not exist, the response will be a "bad request".

You will only be able to update a Call after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST

This endpoint allows updating the information of a specific Call. In order to update a Call, you just have to specify the attributes you want to modify and complete with the up to date information. It is not necessary to send all attributes.

AttributeTypeDescription
durationIntegerDuration of the Call, in seconds
startDateStringMoment in which the Call is started
endDateStringMoment in which the Call is ended
typeInteger0 if it is an incoming Call, 1 if it is an outgoing call, 2 if it is a missed call
terminalTypeIntegerSet to 1, it is a free field to eventually distinguish the type of terminals
phoneStringThe called phone number
accountIdIntegerAccount to which the Call is linked to (see Accounts resource)
contactIdIntegerContact to which the Call is linked to (see Contacts resource)
salesRepIdIntegerUnique identifier of the User associated to the Call (see Users resource)
opportunityIdIntegerOpportunity to which the Call is linked to (see Opportunities resource)
phoneAliasStringAn alias of the phone number, e.g. a Contact name
descriptionStringA descriptive text of the Call content
timeZoneIdIntegerTimeZone of the Call (see TimeZones resource)

RESPONSE

Returns a JSON with information about the Call just updated.

AttributeTypeDescription
MessageStringShows the operation status

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
put/calls/{ID}

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/calls/{ID}
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Request body

startDatestring
endDatestring
phonestring
accountIdinteger
contactIdinteger
salesRepIdinteger
opportunityIdinteger
phoneAliasstring
timeZoneIdinteger

Response

Update Call

Changes

No recorded changes to this operation across all 1 revision of this API.