POST api/PhotoGallery/Post
Request Information
URI Parameters
None.
Body Parameters
PhotoGalleryViewModelName | Description | Type | Additional information |
---|---|---|---|
ImageBase64 | string |
Required |
|
ImageName | string |
Required |
|
ImageExtension | string |
Required |
|
UploadedBy | string |
Required |
|
IsValid | boolean |
None. |
|
UserIdKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ImageBase64": "sample string 1", "ImageName": "sample string 2", "ImageExtension": "sample string 3", "UploadedBy": "sample string 4", "IsValid": true, "UserIdKey": "sample string 6" }
application/xml, text/xml
Sample:
<PhotoGalleryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BSGEWeb.Models"> <ImageBase64>sample string 1</ImageBase64> <ImageExtension>sample string 3</ImageExtension> <ImageName>sample string 2</ImageName> <IsValid>true</IsValid> <UploadedBy>sample string 4</UploadedBy> <UserIdKey>sample string 6</UserIdKey> </PhotoGalleryViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.