POST api/Event/SaveEventsgallery
Request Information
URI Parameters
None.
Body Parameters
EventGalleryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PK_EventGalleryID | integer |
None. |
|
| Url | string |
None. |
|
| FK_EventID | integer |
None. |
|
| ImageName | string |
None. |
|
| Status | string |
None. |
|
| MediaType | integer |
None. |
|
| FK_CreatedBy | integer |
None. |
|
| FK_ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PK_EventGalleryID": 1,
"Url": "sample string 1",
"FK_EventID": 1,
"ImageName": "sample string 2",
"Status": "sample string 3",
"MediaType": 4,
"FK_CreatedBy": 1,
"FK_ModifiedBy": 1
}
application/xml, text/xml
Sample:
<EventGalleryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Event"> <FK_CreatedBy>1</FK_CreatedBy> <FK_EventID>1</FK_EventID> <FK_ModifiedBy>1</FK_ModifiedBy> <ImageName>sample string 2</ImageName> <MediaType>4</MediaType> <PK_EventGalleryID>1</PK_EventGalleryID> <Status>sample string 3</Status> <Url>sample string 1</Url> </EventGalleryViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |