Contact Sync
To upload the all phone book contacts to the server to get the live contacts.
info
{api-base-url}
can be obtained from the MirrorFly console.
#
HTTP request#
Request ParamsParam | DataType | Required | Description |
---|---|---|---|
mobileNumber | String | No | Mobile number in user Phone book |
name | String | No | Contact name in user Phone book |
contactPermission | Boolean | Yes | Device contacts access permission default value is true |
forceDelete | Boolean | Yes | Force delete means, its defines to delete previous contacts for the users. While the User Login contact sync, value should be true after login contacts sync should be false |
addContacts | Array List | Yes | Should be added the phone book contacts in user login time and if any newly added contacts are available will be added after login and contact sync |
deleteContacts | Array List | Yes | Deleted contacts will be added after the contacts sync |
#
ResponsesIf successful, this action returns a user resource in the response body.
#
ErrorIn the case of an error, an error object like below is returned.
When the token passed in Headers is not given or expired
In the case of a Bad Request, an error message is returned