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/FAWAPI.asmx HTTP/1.1
Host: api.filesanywhere.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.filesanywhere.com/GetClientDetails"
string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
string
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/FAWAPI.asmx HTTP/1.1
Host: api.filesanywhere.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
string
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
string
Sample Visual Basic.Net Code
Private Sub GetClientDetails()
Dim GetClientDetailsResult As FAWAPI.GetClientDetailsResult = FAWAPI.GetClientDetails(sToken)
If GetClientDetailsResult.ErrorMessage.Length > 0 Then
MsgBox GetClientDetailsResult.ErrorMessage
Else
MsgBox GetClientDetailsResult.EmailAddress
End If
GetClientDetailsResult = Nothing
FAWAPI = Nothing
End Sub
Request Arguments
Response
GetClientDetailsResult
GetClientDetailsResult Properties
SetProfileImage
Set user profile image.
Syntax
SetProfileImageResult = SetProfileImage (Token, Paremeters)
Usage
Use the SetProfileImage function to upload and set the user profile image (maximum size 10MB).
The following parameters are needed to make the SetProfileImage call:
-
Token (The Token ID returned by the last AccountLogin call).
-
Paremeters is the object which contains the following properties to hold the required values to set the user profile image:
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/FAWAPI.asmx HTTP/1.1
Host: api.filesanywhere.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.filesanywhere.com/SetProfileImage"
string
string
base64Binary
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
Share with your friends: |