(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...") |
|||
(4 intermediate revisions by one other user not shown) | |||
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]]. | ||
==Overview== | ==Overview== | ||
− | + | Updates a custom contact in the Genesys system. | |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 13: | Line 13: | ||
|- | |- | ||
! scope="row" | Required Features | ! scope="row" | Required Features | ||
− | | | + | | |
|} | |} | ||
Line 21: | Line 21: | ||
! Description | ! Description | ||
|- | |- | ||
− | | | + | | name |
− | | | + | | The name of the contact. |
+ | |- | ||
+ | | phoneNumber | ||
+ | | The phone number at which this contact can be reached. | ||
|} | |} | ||
− | == | + | ==Example== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
====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"> | ||
− | + | { | |
− | + | "statusCode":0 | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
Latest revision as of 09:59, April 1, 2019
Update a custom contact
This operation is part of the Contacts API section of the Web Services API.
Overview
Updates a custom contact in the Genesys system.
Request URL | /api/v2/contacts/{id} |
---|---|
HTTP Method | PUT |
Required Features |
Parameters
Parameter | Description |
---|---|
name | The name of the contact. |
phoneNumber | The phone number at which this contact can 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
}
This page was last edited on April 1, 2019, at 09:59.
Comments or questions about this documentation? Contact us for support!