EMUN1 ASP.NET

<back to all web services

DeleteMedia

Requires Authentication
The following routes are available for this service:
All Verbs/service/DeleteMedia
All Verbs/service/DeleteMedia/{Id}
Media Parameters:
NameParameterData TypeRequiredDescription
PredecessorIdformint?No
ReplacePredecessorformboolNo
ContentTypeformstringNo
PredecessorformMediaNo
RealmformstringNo
HeightformdoubleNo
WidthformdoubleNo
AreaformdoubleNo
ContentLengthformdoubleNo
ClientIdformstringNo
UrlformstringNo
OriginalUrlformstringNo
ImagesformDictionary<string, string>No
KeyformstringNo
TaggedEntity Parameters:
NameParameterData TypeRequiredDescription
TagsformDictionary<string, HashSet<String>>No
EntityXL Parameters:
NameParameterData TypeRequiredDescription
RefIdformstringNo
RatingformdoubleNo
RestrictedformboolNo
EntityLG Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
EntityMD Parameters:
NameParameterData TypeRequiredDescription
LabelformstringNo
NameformstringNo
TitleformstringNo
ActiveformboolNo
EntitySM Parameters:
NameParameterData TypeRequiredDescription
EuidformGuidNo
EntityXS Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
EntityXS<T> Parameters:
NameParameterData TypeRequiredDescription
IdformTNo
CreatedByformstringNo
CreatedOnformDateTimeNo
LastModifiedOnformDateTimeNo
LastModifiedByformstringNo
PositionformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/DeleteMedia HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"predecessorId":0,"replacePredecessor":false,"contentType":"String","predecessor":{"predecessorId":0,"replacePredecessor":false,"contentType":"String","predecessor":{"predecessorId":0,"replacePredecessor":false,"contentType":"String","predecessor":{"predecessorId":0,"replacePredecessor":false,"contentType":"String","realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0},"realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0},"realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0},"realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"predecessorId":0,"replacePredecessor":false,"contentType":"String","predecessor":{"predecessorId":0,"replacePredecessor":false,"contentType":"String","predecessor":{"predecessorId":0,"replacePredecessor":false,"contentType":"String","predecessor":{"predecessorId":0,"replacePredecessor":false,"contentType":"String","realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0},"realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0},"realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0},"realm":"String","height":0,"width":0,"area":0,"contentLength":0,"clientId":"String","url":"String","originalUrl":"String","key":"String","tags":{"String":["String"]},"refId":"String","rating":0,"restricted":false,"description":"String","label":"String","active":false,"id":0,"createdBy":"String","createdOn":"0001-01-01T00:00:00.0000000Z","lastModifiedOn":"0001-01-01T00:00:00.0000000Z","lastModifiedBy":"String","position":0}