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/UpdateUserProfile"
string
string
string
string
string
string
string
string
string
string
string
string
string
string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
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
string
string
string
string
string
string
string
string
string
string
string
string
string
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
Sample Visual Basic.Net Code
Private Sub UpdateUserProfile()
Dim UpdateUserProfileParameter As New FAWAPI.UpdateUserProfileParameter()
UpdateUserProfileParameter.FirstName = sFirstName
UpdateUserProfileParameter.LastName = sLastName UpdateUserProfileParameter.CompanyName = sCompanyName
UpdateUserProfileParameter.JobTitle = dJobTitle
UpdateUserProfileParameter.Phone = sPhone
UpdateUserProfileParameter.CellPhone = sCellPhone
UpdateUserProfileParameter.Address = sAddress
UpdateUserProfileParameter.City = sCity
UpdateUserProfileParameter.State = sState
UpdateUserProfileParameter.Zip = sZip
UpdateUserProfileParameter.Country = sCountry
UpdateUserProfileParameter.PrimaryEmail = sPrimaryEmail
UpdateUserProfileParameter.SecondaryEmail = sSecondaryEmail
Dim UpdateUserProfileResult As FAWAPI.UpdateUserProfileResult = FAWAPI.UpdateUserProfile(sToken, UpdateUserProfileParameter)
If UpdateUserProfileResult.ErrorMessage.Length > 0 Then
MsgBox UpdateUserProfileResult.ErrorMessage
End If
UpdateUserProfileResult = 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
|
Parameters
|
Object
|
Yes
|
Object of class for all the parameters
|
Parameters Properties
Name
|
Data Type
|
Required
|
Description
|
FirstName
|
String
|
No
|
User’s first name
|
LastName
|
String
|
No
|
User’s last name
|
CompanyName
|
String
|
No
|
User’s company name
|
JobTitle
|
String
|
No
|
Job tilte
|
Phone
|
String
|
No
|
User’s phone number
|
CellPhone
|
String
|
No
|
User’s cell phone number
|
Address
|
String
|
No
|
Address
|
City
|
String
|
No
|
City
|
State
|
String
|
No
|
State
|
Zip
|
String
|
No
|
Zip
|
Country
|
String
|
No
|
Country
|
PrimaryEmail
|
String
|
No
|
User’s primary email address
|
SecondaryEmail
|
String
|
No
|
User’s secondary email address
|
Response
UpdateUserProfilResult
UpdateUserProfilResult Properties
Name
|
Data Type
|
Description
|
ErrorMessage
|
String
|
A description of the error, if any error was encountered while the UpdateUserProfile method was executed. If the UpdateUserProfile call was successful, the ErrorMessage is blank
|
GetClientDetails
Get Client details. (Note: As of now this function returns back just the client email address. More items will be added to the output as the need arises and the documentation will be updated accordingly.)
Syntax
GetClientDetailsResult = GetClientDetails (Token)
Usage
Use the GetClientDetails function to get client specific details.
The following parameters are needed to make the GetClientDetails call:
-
Token (The Token ID returned by the last AccountLogin call).
Share with your friends: |