SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /FACORPAPI/v2/FAWAPI.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.filesanywhere.com/GetGroupShareUserProfileImage"
string
Small or Medium or Large
string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
string
base64Binary
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /FACORPAPI/v2/FAWAPI.asmx HTTP/1.1
Host: localhost
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
string
Small or Medium or Large
string
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
string
base64Binary
Sample Visual Basic.Net Code
Private Sub GetGroupShareUserProfileImage ()
Dim FAWAPI As New WebReference.FAWAPI
Dim ProfileImageResult As New WebReference.ItemImageResult
ProfileImageResult = FAWAPI.GetGroupShareUserProfileImage(Token, ProfileImageSize, Username)
If ProfileImageResult.ErrorMessage IsNot Nothing Then
Msgbox ProfileImageResult.ErrorMessage
End If
ProfileImageResult = Nothing
FAWAPI = Nothing
End Sub
Request Arguments
Name
|
Data Type
|
Required
|
Description
|
Token
|
String
|
Yes
|
The Token ID returned back in the last AccountLogin call
|
ProfileImageSize
|
String
|
Yes
|
The size of the image. This can be passed in as small, medium or large.
|
Username
|
String
|
Yes
|
Username of the user’s image is is required to be returned.
|
GetID3Tag
This method returns the title, artist and album name of a MP3 file.
Syntax
GetID3TagResult = GetID3Tag(Token, FilePath)
Usage
Use the GetID3Tag method to get the title, artist and album of a MP3 file..
The following parameters are needed to make the GetProfileImage call:
-
Token (The Token ID returned by the last AccountLogin call).
-
FilePath is the path to the MP3 file. This is the full FilesAnywhere path of the file in the form \UserVolume\FolderName\FileName
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /FACORPAPI/v2/FAWAPI.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.filesanywhere.com/GetID3Tag"
string
string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
string
string
string
string
Share with your friends: |