API Directory

This Api allows to update profile picture of an employee.

Request

POST https://domain.peoplestrong.com/api/profile/v1/pic/upload

Request body

The request body takes a complete Update Profile Pic resource, containing the following writable properties:

{
    "pictureData": "string",
    "username": "string"
}

Properties

Name Type Description Additional
pictureData string

Picture data in base64 format

Optional
username string Optional

Authorisation

This request requires the use of one of following authorisation methods: API key OAuth2.

For OAuth 2 authorisation, the following scopes are required:

Scope Description
read question

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

400 Bad Request

Bad Request

401 Unauthorized

Unauthorised

403 Forbidden

Not Found

404 Not Found

Not Found

405 Method Not Allowed

Method Not Allowed

426

API rate limit exceeded

429

API rate limit exceeded

500 Internal Server Error

Service Unavailable

default

successful operation


Explore this API

body

Refers profile picture data

Request Content-Type
Response Content-Type

Choose an authorisation method:

API key API key to be used for request
Access Token Access token to be used for request
Try it out!