EMUN1 ASP.NET

<back to all web services

SyncMediaTags

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 .soap12 suffix or ?format=soap12

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: www.bernhardthospitality.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<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>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<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>

    </soap12:Body>
</soap12:Envelope>