OneCallNow
Click here for a complete list of operations.
MessengerHasPrivilege
Messenger Has Privilege to perform a function or operation
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 /WebServiceSource/2.82/onecallnow.asmx HTTP/1.1 Host: api.onecallnow.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://www.onecallnow.com/WebService/MessengerHasPrivilege" <?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> <MessengerHasPrivilege xmlns="https://www.onecallnow.com/WebService/"> <LoginToken>string</LoginToken> <privilege>None or Admin_Base or Admin_Apply_Payments or Admin_Edit_SalesReps or Admin_User_Maintenance or Group_Configuration or Group_Billing_Renewal or Messaging_Assigned_Only or Messaging_All_Subgroups or Messaging_Supergroup or Messaging_Advanced or Messaging_Hot_Transfer or Reports_Subgroup_and_Message or Reports_All or Reports_View_Destinations or Subgroups_None or Subgroups_Full or Subgroups_Assigned_Only or Roster_None or Roster_Assigned_Only or Roster_Full or Roster_Import_Wizard or Roster_Family_Profile or Calling_Options_CallerID or Calling_Options_Message_Intro or Calling_Options_TextMessage_Intro or Primary_Number_Primary_Only or Primary_Number_All_Only or Primary_Number_Prompt</privilege> </MessengerHasPrivilege> </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> <MessengerHasPrivilegeResponse xmlns="https://www.onecallnow.com/WebService/"> <MessengerHasPrivilegeResult>boolean</MessengerHasPrivilegeResult> </MessengerHasPrivilegeResponse> </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 /WebServiceSource/2.82/onecallnow.asmx HTTP/1.1 Host: api.onecallnow.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> <MessengerHasPrivilege xmlns="https://www.onecallnow.com/WebService/"> <LoginToken>string</LoginToken> <privilege>None or Admin_Base or Admin_Apply_Payments or Admin_Edit_SalesReps or Admin_User_Maintenance or Group_Configuration or Group_Billing_Renewal or Messaging_Assigned_Only or Messaging_All_Subgroups or Messaging_Supergroup or Messaging_Advanced or Messaging_Hot_Transfer or Reports_Subgroup_and_Message or Reports_All or Reports_View_Destinations or Subgroups_None or Subgroups_Full or Subgroups_Assigned_Only or Roster_None or Roster_Assigned_Only or Roster_Full or Roster_Import_Wizard or Roster_Family_Profile or Calling_Options_CallerID or Calling_Options_Message_Intro or Calling_Options_TextMessage_Intro or Primary_Number_Primary_Only or Primary_Number_All_Only or Primary_Number_Prompt</privilege> </MessengerHasPrivilege> </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> <MessengerHasPrivilegeResponse xmlns="https://www.onecallnow.com/WebService/"> <MessengerHasPrivilegeResult>boolean</MessengerHasPrivilegeResult> </MessengerHasPrivilegeResponse> </soap12:Body> </soap12:Envelope>