PUT api/orgMediaEx/{id}

Update an existing record from the Media table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

orgMediaEx
NameDescriptionTypeAdditional information
EntityName

string

None.

PlaceName

string

None.

PersonName

string

None.

MediaType

string

None.

MediaID

integer

None.

MediaTypeID

byte

None.

MediaURL

string

Max length: 120

Comment

string

Max length: 240

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "EntityName": "sample string 1",
  "PlaceName": "sample string 2",
  "PersonName": "sample string 3",
  "MediaType": "sample string 4",
  "MediaID": 5,
  "MediaTypeID": 64,
  "MediaURL": "sample string 6",
  "Comment": "sample string 7",
  "IsActive": true,
  "CreatedBy": 9,
  "CreatedDate": "2025-12-06T23:39:37.7990248+00:00",
  "UpdatedBy": 11,
  "UpdatedDate": "2025-12-06T23:39:37.7990248+00:00"
}

application/xml, text/xml

Sample:
<orgMediaEx xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Models">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <Comment xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">sample string 7</Comment>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">9</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
    <d2p1:DateTime>2025-12-06T23:39:37.7990248Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">true</IsActive>
  <MediaID xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">5</MediaID>
  <MediaTypeID xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">64</MediaTypeID>
  <MediaURL xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">sample string 6</MediaURL>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">11</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
    <d2p1:DateTime>2025-12-06T23:39:37.7990248Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
  <MediaType>sample string 4</MediaType>
  <EntityName>sample string 1</EntityName>
  <PersonName>sample string 3</PersonName>
  <PlaceName>sample string 2</PlaceName>
</orgMediaEx>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.