Indicates to BargeEx that the document specified by the senderTradingPartnerNumber and instanceIdentifier parameters has been successfully persisted or processed and that subsequent calls to the GetNextDocument method should return the next available document.

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public StandardReturnCode AcknowledgeDocument(
	string senderTradingPartnerNumber,
	string instanceIdentifier
)
Visual Basic (Declaration)
Public Function AcknowledgeDocument ( _
	senderTradingPartnerNumber As String, _
	instanceIdentifier As String _
) As StandardReturnCode
Visual C++
public:
StandardReturnCode AcknowledgeDocument(
	String^ senderTradingPartnerNumber, 
	String^ instanceIdentifier
)

Parameters

senderTradingPartnerNumber
Type: System..::.String
The BargeEx Trading Partner Number of the trading partner who originated the document being acknowledged.
instanceIdentifier
Type: System..::.String
The unique instance identifier for the document being acknowledged. This is the instance identifier that appears in the standard document header.

Return Value

A StandardReturnCode value that indicates whether or not the document was successfully acknowledged.

Remarks

This method invokes the AcknowledgeDocument method available from the BargeEx web service. A value of Success indicates the document was successfully acknowledged. Any other value indicates a failure.

This method must be called following a call to GetNextDocument. If it is not, GetNextDocument will return the same document every time it is called.

See Also