Request

Response

    IClient.RetrieveLatestExchangeAsync method

    Retrieves the latest exchange revision and updates the supplied elementDataModel.

    public Task<IResponse<string>> RetrieveLatestExchangeAsync(IElementDataModel elementDataModel, 
        CancellationToken cancellationToken = default)
    
    parameterdescription
    elementDataModel The element data model to update.
    cancellationToken Token used to cancel the asynchronous operation.

    Return Value

    A task that represents the asynchronous operation. The task result contains the new revision identifier that was applied, or Empty when the model was already at the latest revision.

    See Also