API

<back to all web services

i2cFacebook

Facebook [Facebook]

Parameters:
NameParameterData TypeRequiredDescription
EmailpathTextYesEndereco de Email

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: api.xdata.com.br 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: i2cFacebook

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

<i2cFacebook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
  <Email>String</Email>
</i2cFacebook>

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

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

<i2cFacebookResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
  <Response>
    <Status>
      <Protocol>00000000-0000-0000-0000-000000000000</Protocol>
      <DateTime>0001-01-01T00:00:00</DateTime>
      <Code>0</Code>
      <Message>String</Message>
      <Detail>String</Detail>
      <Mode>String</Mode>
      <Type>String</Type>
      <Source>String</Source>
      <HTML>String</HTML>
      <Cookie>String</Cookie>
      <URL>String</URL>
    </Status>
    <Input>
      <InputItem>
        <Key>String</Key>
        <Value>String</Value>
      </InputItem>
    </Input>
    <Output>
      <ID>String</ID>
      <Name>String</Name>
      <First_name>String</First_name>
      <Last_name>String</Last_name>
      <Link>String</Link>
      <Username>String</Username>
      <Gender>String</Gender>
      <Locale>String</Locale>
      <Profile>
        <ProfileItem>
          <Title>String</Title>
          <Link>String</Link>
          <Description>String</Description>
        </ProfileItem>
      </Profile>
      <Favorites>
        <Favorite>
          <Title>String</Title>
          <FavoriteItems>
            <FavoriteItem>
              <Link>String</Link>
              <Description>String</Description>
            </FavoriteItem>
          </FavoriteItems>
        </Favorite>
      </Favorites>
    </Output>
    <Error>
      <ErrorCode>String</ErrorCode>
      <Message>String</Message>
      <StackTrace>String</StackTrace>
      <Errors>
        <ResponseError>
          <ErrorCode>String</ErrorCode>
          <FieldName>String</FieldName>
          <Message>String</Message>
        </ResponseError>
      </Errors>
    </Error>
  </Response>
</i2cFacebookResponse>

    </soap:Body>
</soap:Envelope>