PUT api/Events/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Event
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

GAllery

Collection of Gallery

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",
  "GAllery": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ImageUrl": "sample string 3",
      "Type": 4,
      "IsArchived": true,
      "Videos": "sample string 6",
      "EventId": 1,
      "Id": 7,
      "IsActive": true,
      "CreatedDate": "2024-10-06T01:41:31.8937894+05:30",
      "ModifiedDate": "2024-10-06T01:41:31.8937894+05:30",
      "CreatedById": "sample string 9",
      "ModifiedById": "sample string 10"
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ImageUrl": "sample string 3",
      "Type": 4,
      "IsArchived": true,
      "Videos": "sample string 6",
      "EventId": 1,
      "Id": 7,
      "IsActive": true,
      "CreatedDate": "2024-10-06T01:41:31.8937894+05:30",
      "ModifiedDate": "2024-10-06T01:41:31.8937894+05:30",
      "CreatedById": "sample string 9",
      "ModifiedById": "sample string 10"
    }
  ],
  "Id": 3,
  "IsActive": true,
  "CreatedDate": "2024-10-06T01:41:31.8937894+05:30",
  "ModifiedDate": "2024-10-06T01:41:31.8937894+05:30",
  "CreatedById": "sample string 5",
  "ModifiedById": "sample string 6"
}

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 'Event'.

Response Information

Resource Description

None.