online-help.platform.features.premier_subscription.connectors.inbound-rest-api.endpoints.user.title
Add/Update User Profile Image
Overview
Adding or updating a users profile image.
URL Format
https://{domain}.mobiwork.com/api/rest/{clientId}/{versionNumber}/user/{userId}/Image/upload.html?token=XXXXXXXX
Arguments
clientId
required
MobiWork assigned unique ID of the company
versionNumber
required
Version number of MobiWork API SDK release. Current version is: 10.0.78
token
required
Part of URL as a request parameter and is required in every call to verify access to API calls
userId
optional
If provided, this User ID will be taken as a logged in user
Request
<request>
<fileName>sig.png</fileName>
<content>iVBORw0KGgoAAAANSUhEUgAAAuQAAAJJCAYAAADiJiJVAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAJOgAACToAYJjBRwAAP+lSURBVHhezP2Jvty6lt4JhuYjHUlnHu512v1i/SsP/SJ+rO4a0mVX+VEq894zH83DltT4Y/ELfFgESMaWMu1PWhvAmgEyGCsYDPLGP/5//8uHGzdunPbw4cOHSpsofj7suCLWzZs3z/1ZbI83ilv9LGz5GPl6//59dIqoRDsVryVH+V1kCaO4N2/eKnR7GQVuvF+vyWw+zh/NB7hOzWwZZlvPbxbvCORHPka+cq4fE0/IPh3NPysw1wPNTazJu3fvyvaOvvzcvHnjdOvWrTK+ed7vQOSAboyPTKvFux7W+1vb/2ma/+jktWY8Wztna27qu5/o937B3mthhizPOQvHcmh5A+U+0wc5b+XTx4vt7v6lN9KfwW3Q59jy/Pnz008//XT657/97fTrr7+eXr16dXr/rmynIkP96urq9O79u2pz587t08NHD0/ff//96d/92393+uKLL06ff/7Zsn96vhwjby3xtP328ovcGkJfbpfUz9C6aU570HyZD74Z4ztyba8r6WXkOHtxw//2nLNcPt33lg+X0Xf7bOfjWe7osK+N1jbbZP8e2+Fjz3EE5GyLnKtoD+i4bc4RuJ+ZT9lF3Kbnr1V0Qq/tR4Lb5Rw0nOkDyaSysDuMchIkA82X9nHFYJ1DrviC+IL7cz1gamdZ+FMcFKJf+fTPPmLtHKHfmMqjzXMt2wIq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jlDk8Ess0YyjeAafYtP/KlfuRZWRcBk3NBLqczKFjW68YDF5K7rU8sTxJknsZr3eJzbd5BcSHZl1H9V/u1kU68GUaewRMwxb7LYRHLv+vPsJ7DBMp18Zn90/d8VrkZZnkd5c/0jmLkbz82OtFGf6wvSC7fQRrTrmUjjJYQ/fI3BglNFrQel6YCx </content>
<comments></comments>
</request>
Response
<?xml version="1.0" encoding="UTF-8" ?>
<response version="6.0.3" statusCode="1">
<documentId>3</documentId>
<message>Document added to User (3) successfully</message>
</response>