SOAP API - GetBillingContact

GetBillingContact( username ) : BillingContactResult 

Since: EngageIP v25.2

Returns a user's billing contact, or throws exception if the user or billing contact does not exist.

The returned value from this method call is a BillingContactResult object.  A billing contact result object consists of the following properties:

  • ID (Integer) - The unique ID of the contact

  • ContactTypeID (Integer) - The ID of the type of contact this object represents

  • Name (String) - Concatenation of first and last name

  • Title (String) - The contact ID for which this contact point belongs

  • FirstName (String) - The contact's first name

  • LastName (String) - Last name of the contact

  • Company (String) - The company the contact works for

Parameters:

  • username (String) - The username of the account for whom to retrieve the billing contact.  An exception will be thrown if the username does not exist.

Returns:

BillingContactResult object

Possible Exceptions:

  • INVALID USERNAME

  • BILLING CONTACT DOES NOT EXIST


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 /adminportal/webservice.asmx HTTP/1.1 Host: demo.logisense.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:Header> <AuthHeader xmlns="Logisense_EngageIP"> <Username>string</Username> <Password>string</Password> </AuthHeader> </soap12:Header> <soap12:Body> <GetBillingContact xmlns="Logisense_EngageIP"> <username>string</username> </GetBillingContact> </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> <GetBillingContactResponse xmlns="Logisense_EngageIP"> <GetBillingContactResult> <Validate /> <ID>int</ID> <ContactTypeID>int</ContactTypeID> <Name>string</Name> <Title>string</Title> <FirstName>string</FirstName> <LastName>string</LastName> <Company>string</Company> </GetBillingContactResult> </GetBillingContactResponse> </soap12:Body> </soap12:Envelope>

 


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 /adminportal/webservice.asmx HTTP/1.1 Host: demo.logisense.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "Logisense_EngageIP/GetBillingContact" <?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:Header> <AuthHeader xmlns="Logisense_EngageIP"> <Username>string</Username> <Password>string</Password> </AuthHeader> </soap:Header> <soap:Body> <GetBillingContact xmlns="Logisense_EngageIP"> <username>string</username> </GetBillingContact> </soap:Body> </soap:Envelope>