ProBusinessTools
Click here for a complete list of operations.
AddStaff
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 /publicwebservices/probusinesstools.asmx HTTP/1.1 Host: secure.probusinesstools.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://secure.probusinesstools.com/publicWebServices/AddStaff" <?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> <AddStaff xmlns="http://secure.probusinesstools.com/publicWebServices"> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> <StaffMember> <ErrorMessage>string</ErrorMessage> <id>int</id> <UserName>string</UserName> <LoginPassword>string</LoginPassword> <ForcePasswordChange>boolean</ForcePasswordChange> <Email>string</Email> <IPAddresses>string</IPAddresses> <AccountLock>boolean</AccountLock> <FirstName>string</FirstName> <LastName>string</LastName> <Address>string</Address> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <Phone>string</Phone> <OrderType>string</OrderType> <JobType>string</JobType> <RetailerNumber>string</RetailerNumber> <StaffNumber>string</StaffNumber> <EmployeeID>string</EmployeeID> <CommissionPayLevel>string</CommissionPayLevel> <TeamGroupName>string</TeamGroupName> <WarehouseGroupName>string</WarehouseGroupName> <Department>string</Department> <District>string</District> <SalesRegion>string</SalesRegion> <Store>string</Store> <Notes>string</Notes> <SecurityRole>string</SecurityRole> </StaffMember> </AddStaff> </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> <AddStaffResponse xmlns="http://secure.probusinesstools.com/publicWebServices"> <AddStaffResult>string</AddStaffResult> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> </AddStaffResponse> </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 /publicwebservices/probusinesstools.asmx HTTP/1.1 Host: secure.probusinesstools.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> <AddStaff xmlns="http://secure.probusinesstools.com/publicWebServices"> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> <StaffMember> <ErrorMessage>string</ErrorMessage> <id>int</id> <UserName>string</UserName> <LoginPassword>string</LoginPassword> <ForcePasswordChange>boolean</ForcePasswordChange> <Email>string</Email> <IPAddresses>string</IPAddresses> <AccountLock>boolean</AccountLock> <FirstName>string</FirstName> <LastName>string</LastName> <Address>string</Address> <City>string</City> <State>string</State> <ZipCode>string</ZipCode> <Phone>string</Phone> <OrderType>string</OrderType> <JobType>string</JobType> <RetailerNumber>string</RetailerNumber> <StaffNumber>string</StaffNumber> <EmployeeID>string</EmployeeID> <CommissionPayLevel>string</CommissionPayLevel> <TeamGroupName>string</TeamGroupName> <WarehouseGroupName>string</WarehouseGroupName> <Department>string</Department> <District>string</District> <SalesRegion>string</SalesRegion> <Store>string</Store> <Notes>string</Notes> <SecurityRole>string</SecurityRole> </StaffMember> </AddStaff> </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> <AddStaffResponse xmlns="http://secure.probusinesstools.com/publicWebServices"> <AddStaffResult>string</AddStaffResult> <wsKey> <Username>string</Username> <Password>string</Password> <loginErrorMessage>string</loginErrorMessage> </wsKey> </AddStaffResponse> </soap12:Body> </soap12:Envelope>