PUT api/Galleries/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Gallery
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

ImageUrl

string

None.

Type

integer

None.

IsArchived

boolean

None.

Videos

string

None.

EventId

integer

None.

Event

Event

None.

Id

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CreatedById

string

None.

ModifiedById

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "ImageUrl": "sample string 3",
  "Type": 4,
  "IsArchived": true,
  "Videos": "sample string 6",
  "EventId": 1,
  "Event": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "GAllery": [],
    "Id": 3,
    "IsActive": true,
    "CreatedDate": "2024-10-10T19:35:12.2114604+05:30",
    "ModifiedDate": "2024-10-10T19:35:12.2114604+05:30",
    "CreatedById": "sample string 5",
    "ModifiedById": "sample string 6"
  },
  "Id": 7,
  "IsActive": true,
  "CreatedDate": "2024-10-10T19:35:12.2114604+05:30",
  "ModifiedDate": "2024-10-10T19:35:12.2114604+05:30",
  "CreatedById": "sample string 9",
  "ModifiedById": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Gallery'.

Response Information

Resource Description

None.