FAWAPI
Click here for a complete list of operations.
UserAdd
This operation lets the Private Site Administrator add a new User. Please use the AdminUserAdd method. The UserAdd method expires on April 20th 2020.
Test
The test form is only available for requests from the local machine.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 /fawapi.asmx HTTP/1.1 Host: api.filesanywhere.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://api.filesanywhere.com/UserAdd" <?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> <UserAdd xmlns="http://api.filesanywhere.com/"> <OrgID>long</OrgID> <CompanyCode>string</CompanyCode> <CompanyAdminUserID>string</CompanyAdminUserID> <CompanyPassword>string</CompanyPassword> <LoginUserName>string</LoginUserName> <Password>string</Password> <FirstName>string</FirstName> <LastName>string</LastName> <DivisionCode>string</DivisionCode> <StorageSizeInMB>long</StorageSizeInMB> <EmailAddress>string</EmailAddress> <WorkPhone>string</WorkPhone> <CellPhone>string</CellPhone> <HomePhone>string</HomePhone> <UserAddress>string</UserAddress> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <Notes>string</Notes> <DisablePersonalStorage>string</DisablePersonalStorage> <ShowGroupSharesAsTopFolder>string</ShowGroupSharesAsTopFolder> <DisableFileViews>string</DisableFileViews> <AllowNonExpiringLinks>string</AllowNonExpiringLinks> <PurgeUserFileDays>int</PurgeUserFileDays> <DisableProfileUpdate>string</DisableProfileUpdate> <AddaSharedFolder>string</AddaSharedFolder> <SharedFolderOwnerUserName>string</SharedFolderOwnerUserName> <SharedFolderName>string</SharedFolderName> <CreateSharedFolderIfNotExists>string</CreateSharedFolderIfNotExists> <SharedFolderAccessLevel>string</SharedFolderAccessLevel> <EnableWebDavAccess>string</EnableWebDavAccess> <EnableFTPAccess>string</EnableFTPAccess> </UserAdd> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 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> <UserAddResponse xmlns="http://api.filesanywhere.com/"> <UserAddResult> <ErrorMessage>string</ErrorMessage> <UserCreated>boolean</UserCreated> </UserAddResult> </UserAddResponse> </soap:Body> </soap:Envelope>
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 /fawapi.asmx HTTP/1.1 Host: api.filesanywhere.com Content-Type: application/soap+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> <UserAdd xmlns="http://api.filesanywhere.com/"> <OrgID>long</OrgID> <CompanyCode>string</CompanyCode> <CompanyAdminUserID>string</CompanyAdminUserID> <CompanyPassword>string</CompanyPassword> <LoginUserName>string</LoginUserName> <Password>string</Password> <FirstName>string</FirstName> <LastName>string</LastName> <DivisionCode>string</DivisionCode> <StorageSizeInMB>long</StorageSizeInMB> <EmailAddress>string</EmailAddress> <WorkPhone>string</WorkPhone> <CellPhone>string</CellPhone> <HomePhone>string</HomePhone> <UserAddress>string</UserAddress> <City>string</City> <State>string</State> <Zip>string</Zip> <Country>string</Country> <Notes>string</Notes> <DisablePersonalStorage>string</DisablePersonalStorage> <ShowGroupSharesAsTopFolder>string</ShowGroupSharesAsTopFolder> <DisableFileViews>string</DisableFileViews> <AllowNonExpiringLinks>string</AllowNonExpiringLinks> <PurgeUserFileDays>int</PurgeUserFileDays> <DisableProfileUpdate>string</DisableProfileUpdate> <AddaSharedFolder>string</AddaSharedFolder> <SharedFolderOwnerUserName>string</SharedFolderOwnerUserName> <SharedFolderName>string</SharedFolderName> <CreateSharedFolderIfNotExists>string</CreateSharedFolderIfNotExists> <SharedFolderAccessLevel>string</SharedFolderAccessLevel> <EnableWebDavAccess>string</EnableWebDavAccess> <EnableFTPAccess>string</EnableFTPAccess> </UserAdd> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+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> <UserAddResponse xmlns="http://api.filesanywhere.com/"> <UserAddResult> <ErrorMessage>string</ErrorMessage> <UserCreated>boolean</UserCreated> </UserAddResult> </UserAddResponse> </soap12:Body> </soap12:Envelope>