Jump to: navigation, search
(Created page with "=Update contact= __NOTOC__ This operation is part of the Contacts API section of the Web Services API. ==Overview== Update a contact in the Genesys...")
 
Line 1: Line 1:
=Update contact=
+
=Update a custom contact=
 
__NOTOC__
 
__NOTOC__
 
This operation is part of the [[ContactsAPI|Contacts API]] section of the [[Welcome|Web Services API]].
 
This operation is part of the [[ContactsAPI|Contacts API]] section of the [[Welcome|Web Services API]].
Line 21: Line 21:
 
! Description
 
! Description
 
|-
 
|-
|  
+
| name
|  
+
| The name of the contact.
 +
|-
 +
| phoneNumber
 +
| The phone number at which this contact get be reached.
 
|}
 
|}
  
  
==Examples==
+
==Example==
===Update User===
 
====Request====
 
<source lang="text">
 
 
 
</source>
 
 
 
====HTTP Response====
 
<source lang="text">
 
 
 
</source>
 
 
 
===Update Queue===
 
 
====Request====
 
====Request====
 
<source lang="text">
 
<source lang="text">
 
+
PUT /api/v2/contacts/c7d9109c-9942-4853-a5e8-0435b03024a4
 +
 +
  "name":"My Edited Custom Contact",
 +
  "phoneNumber":"111-456-7899"
 +
}
 
</source>
 
</source>
  
 
====HTTP Response====
 
====HTTP Response====
 
<source lang="text">
 
<source lang="text">
 
+
</source>
+
  "statusCode":0
 
+
}
===Update Custom===
 
====Request====
 
<source lang="text">
 
 
 
</source>
 
 
 
====HTTP Response====
 
<source lang="text">
 
 
 
 
</source>
 
</source>
  

Revision as of 18:31, February 9, 2016

Update a custom contact

This operation is part of the Contacts API section of the Web Services API.

Overview

Update a contact in the Genesys system.

Request URL /api/v2/contacts/{id}
HTTP Method PUT
Required Features Which feature is required?

Parameters

Parameter Description
name The name of the contact.
phoneNumber The phone number at which this contact get be reached.


Example

Request

PUT /api/v2/contacts/c7d9109c-9942-4853-a5e8-0435b03024a4
{  
   "name":"My Edited Custom Contact",
   "phoneNumber":"111-456-7899"
}

HTTP Response

{  
   "statusCode":0
}
Comments or questions about this documentation? Contact us for support!