EMS API Functions—Validate Operation

ValidateBilling

Requires EMS API Advanced License

Description

This API validates either Billing Reference/PO Number or both are valid in EMS.

Request Parameters

Name

Description

Type

UserName

EMS User Name

String

Password

EMS User Password

String

BillingReference

Billing Reference

String

PONumber

PO Number

String

Response Elements

Name

Description

Type

BillingReferenceValid

Is Billing Reference number valid

Boolean

PONumberValid

Is the PO Number valid

Boolean

Sample Code

Private Sub ValidateBilling()
               Dim svc As New EMSAPI.ServiceSoapClient
               Dim objReader As New System.IO.StringReader(svc.ValidateBilling (“UserID”, “Password”, “EventTypeID”, “1”)
               Dim dst As New DataSet("Data")
               dst.ReadXml(objReader)
End Sub

Example Response

<ValdidateBilling>
<Data>
	<BillingReferenceValid>false</BillingReferenceValid>
	<PONumberValid>true</PONumberValid>
	</Data>
</ValidateBilling>

 

(missing or bad snippet)