UpdateOrDeleteContactPhoto
Update or delete a contact's photo.
Stored Procedure-Specific Information
To execute this procedure, enter:
EXEC UpdateOrDeleteContactPhoto Id = 'c2845916184580148264', Action = 'Update', FileSource = 'D:\GooglePeople_API_Outputs\contactphoto.png'
EXEC UpdateOrDeleteContactPhoto Id = 'c2845916184580148264', Action = 'Update', Url = 'https://play-lh.googleusercontent.com/-Xqd3k7aJqZY/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckWFzqX627ygMhiilKbqmIA-T_AsQ/photo.jpg'
EXEC UpdateOrDeleteContactPhoto Id = 'c2845916184580148264', Action = 'Delete'
Input
| Name | Type | Required | Accepts Input Streams | Description |
| Id | String | True | False | The Id of the contact. |
| Action | String | True | False | The operation to perform on a contact photo. Possible values are Update or Delete. |
| FileSource | String | False | False | The complete filepath of the photo to be uploaded. Specify either this field or URL. |
| URL | String | False | False | An accessible URL from which the image is downloaded and posted to the target. Specify either this field or FileSource. |
| Content | String | False | True | The content to upload as an InputStream when LocalFilePath is not specified. |
Result Set Columns
| Name | Type | Description |
| Success | String | Returns True if contact group has been modified. |