StarterTemplate ASP.NET Host

<back to all web services

RequestUserPost

User service

Creates a new userThe authenticating user must have the Add privilege for Users.
Parameters:
NameParameterData TypeRequiredDescription
DeptIdpathintYesThe ID of the department you want to add a user profile to

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/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>

<RequestUserPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Users">
  <CellPhone>String</CellPhone>
  <CompanyName>String</CompanyName>
  <DeptId>0</DeptId>
  <Email>String</Email>
  <Fax>String</Fax>
  <FirstName>String</FirstName>
  <HomePhone>String</HomePhone>
  <IsSecurityAdmin>false</IsSecurityAdmin>
  <LastName>String</LastName>
  <MiddleName>String</MiddleName>
  <OtherPhone>String</OtherPhone>
  <Pager>String</Pager>
  <TimeZoneCode>String</TimeZoneCode>
  <WorkPhone>String</WorkPhone>
</RequestUserPost>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<ResponseSingleUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Users">
  <CellPhone>String</CellPhone>
  <Comments>String</Comments>
  <CompanyName>String</CompanyName>
  <DateCreated>0001-01-01T00:00:00</DateCreated>
  <DateFirstLogon>0001-01-01T00:00:00</DateFirstLogon>
  <DateLastLogon>0001-01-01T00:00:00</DateLastLogon>
  <DateUpdated>0001-01-01T00:00:00</DateUpdated>
  <Email>String</Email>
  <Fax>String</Fax>
  <FirstName>String</FirstName>
  <Grouping>String</Grouping>
  <HomePhone>String</HomePhone>
  <Id>0</Id>
  <ImportId>0</ImportId>
  <IsActive>false</IsActive>
  <IsLoggedOn>false</IsLoggedOn>
  <IsSecurityAdmin>false</IsSecurityAdmin>
  <LastName>String</LastName>
  <MiddleName>String</MiddleName>
  <NbrTimesLogon>0</NbrTimesLogon>
  <OtherPhone>String</OtherPhone>
  <Pager>String</Pager>
  <PrimaryDeptId>0</PrimaryDeptId>
  <RemoteUserId>String</RemoteUserId>
  <SubGrouping>String</SubGrouping>
  <TimeZoneCode>String</TimeZoneCode>
  <Title>String</Title>
  <UpdateUserId>0</UpdateUserId>
  <UpdateUserName>String</UpdateUserName>
  <WebSite>String</WebSite>
  <WorkPhone>String</WorkPhone>
</ResponseSingleUser>

    </soap12:Body>
</soap12:Envelope>