PUT /callcenter/contact


Update an existing record. This is kind of like PATCH (which is not supported by sf1) in that it allows updating of individual fields.

Furthermore the fields passed in the body can span both the lcc_contact and lcc_contact_extended tables.

NOTE: This endpoint requires an api key in the body called "api_key".

Model

{
  "contacts": [
    {
      "lcc_contact_contact_id": 1,
        :
      any field in lcc_contact and/or lcc_contact_extended
    },
    {
      "lcc_contact_contact_id": 2,
        :
  ]
}

Resource URL

http://www.lsitampa.com/callcenter/contact.{response_format}

Method

PUT

Response Format

json

Parameters

jsonp_callback - optional
If making cross domain Ajax calls use this as the call-back method name in your Ajax request.

HTTP Errors

400
{
  "error": {
    "code": 400,
    "message": "Bad request (if set by the developer, specific reason for bad request)"
  }
}
404
{
  "error": {
    "code": 404,
    "message": "Not found"
  }
}
500
{
  "error": {
    "code": 500,
    "message": "Internal Server Error"
  }
}