NOT FOR PUBLIC DISTRIBUTION: 2020-09-23

Upload a profile photo

post

/spms/v1/guest/photo

This is to upload a profile photo

Request

Supported Media Types
Body ()
Required to upload profile photo
Root Schema : profilePhoto
Type: object
Profile Photo
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returns updated Profile Photo
Body ()
Root Schema : profilePhoto
Type: object
Profile Photo
Show Source

400 Response

Error when uploaded a corrupted image or image that exceeded 2MB limit
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

403 Response

This API is not allowed for the current user
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

406 Response

The media supplied is not supported
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

415 Response

The media supplied is not supported
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

500 Response

Error occurred while processing this request
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

502 Response

Bad Gateway

503 Response

Service not available
Back to Top