EMUN1 ASP.NET

<back to all web services

SyncMediaTags

The following routes are available for this service:
All Verbs/service/SyncMediaTags
All Verbs/service/SyncMediaTags/{Realm}
SyncMediaTags Parameters:
NameParameterData TypeRequiredDescription
MediaIdsqueryint[]No
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
MediaTagsSynced Parameters:
NameParameterData TypeRequiredDescription
MessagesformList<string>No

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

HTTP + XML

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

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

<SyncMediaTags xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.OnDemand">
  <CreatedBy>String</CreatedBy>
  <CreatedOn>0001-01-01T00:00:00</CreatedOn>
  <Id>0</Id>
  <LastModifiedBy>String</LastModifiedBy>
  <LastModifiedOn>0001-01-01T00:00:00</LastModifiedOn>
  <Position>0</Position>
  <Euid>00000000-0000-0000-0000-000000000000</Euid>
  <Active>false</Active>
  <Label>String</Label>
  <Name i:nil="true" />
  <Title i:nil="true" />
  <Description>String</Description>
  <Rating>0</Rating>
  <RefId>String</RefId>
  <Restricted>false</Restricted>
  <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>
        <d2p1:string>String</d2p1:string>
      </d2p1:Value>
    </d2p1:KeyValueOfstringArrayOfstringty7Ep6D1>
  </Tags>
  <Area>0</Area>
  <ClientId>String</ClientId>
  <ContentLength>0</ContentLength>
  <ContentType>String</ContentType>
  <Height>0</Height>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <Key>String</Key>
  <OriginalUrl>String</OriginalUrl>
  <Predecessor>
    <CreatedBy>String</CreatedBy>
    <CreatedOn>0001-01-01T00:00:00</CreatedOn>
    <Id>0</Id>
    <LastModifiedBy>String</LastModifiedBy>
    <LastModifiedOn>0001-01-01T00:00:00</LastModifiedOn>
    <Position>0</Position>
    <Euid>00000000-0000-0000-0000-000000000000</Euid>
    <Active>false</Active>
    <Label>String</Label>
    <Name i:nil="true" />
    <Title i:nil="true" />
    <Description>String</Description>
    <Rating>0</Rating>
    <RefId>String</RefId>
    <Restricted>false</Restricted>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>
          <d3p1:string>String</d3p1:string>
        </d3p1:Value>
      </d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
    </Tags>
    <Area>0</Area>
    <ClientId>String</ClientId>
    <ContentLength>0</ContentLength>
    <ContentType>String</ContentType>
    <Height>0</Height>
    <Images xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
    <Key>String</Key>
    <OriginalUrl>String</OriginalUrl>
    <Predecessor>
      <CreatedBy>String</CreatedBy>
      <CreatedOn>0001-01-01T00:00:00</CreatedOn>
      <Id>0</Id>
      <LastModifiedBy>String</LastModifiedBy>
      <LastModifiedOn>0001-01-01T00:00:00</LastModifiedOn>
      <Position>0</Position>
      <Euid>00000000-0000-0000-0000-000000000000</Euid>
      <Active>false</Active>
      <Label>String</Label>
      <Name i:nil="true" />
      <Title i:nil="true" />
      <Description>String</Description>
      <Rating>0</Rating>
      <RefId>String</RefId>
      <Restricted>false</Restricted>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </Tags>
      <Area>0</Area>
      <ClientId>String</ClientId>
      <ContentLength>0</ContentLength>
      <ContentType>String</ContentType>
      <Height>0</Height>
      <Images xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      <Key>String</Key>
      <OriginalUrl>String</OriginalUrl>
      <Predecessor>
        <CreatedBy>String</CreatedBy>
        <CreatedOn>0001-01-01T00:00:00</CreatedOn>
        <Id>0</Id>
        <LastModifiedBy>String</LastModifiedBy>
        <LastModifiedOn>0001-01-01T00:00:00</LastModifiedOn>
        <Position>0</Position>
        <Euid>00000000-0000-0000-0000-000000000000</Euid>
        <Active>false</Active>
        <Label>String</Label>
        <Name i:nil="true" />
        <Title i:nil="true" />
        <Description>String</Description>
        <Rating>0</Rating>
        <RefId>String</RefId>
        <Restricted>false</Restricted>
        <Tags xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringArrayOfstringty7Ep6D1>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>
              <d5p1:string>String</d5p1:string>
            </d5p1:Value>
          </d5p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        </Tags>
        <Area>0</Area>
        <ClientId>String</ClientId>
        <ContentLength>0</ContentLength>
        <ContentType>String</ContentType>
        <Height>0</Height>
        <Images xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
        <Key>String</Key>
        <OriginalUrl>String</OriginalUrl>
        <Predecessor i:nil="true" />
        <PredecessorId>0</PredecessorId>
        <Realm>String</Realm>
        <ReplacePredecessor>false</ReplacePredecessor>
        <Url>String</Url>
        <Width>0</Width>
      </Predecessor>
      <PredecessorId>0</PredecessorId>
      <Realm>String</Realm>
      <ReplacePredecessor>false</ReplacePredecessor>
      <Url>String</Url>
      <Width>0</Width>
    </Predecessor>
    <PredecessorId>0</PredecessorId>
    <Realm>String</Realm>
    <ReplacePredecessor>false</ReplacePredecessor>
    <Url>String</Url>
    <Width>0</Width>
  </Predecessor>
  <PredecessorId>0</PredecessorId>
  <Realm>String</Realm>
  <ReplacePredecessor>false</ReplacePredecessor>
  <Url>String</Url>
  <Width>0</Width>
  <MediaIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </MediaIds>
</SyncMediaTags>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MediaTagsSynced xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.OnDemand">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Messages>
</MediaTagsSynced>