Edit

PFCatalogGetDraftItemsAsync

Retrieves a paginated list of the items from the draft catalog. Up to 50 IDs can be retrieved in a single request. GetDraftItems does not work off a cache of the Catalog and should be used when trying to get recent item updates. Note: SAS tokens provided are valid for 1 hour.

Syntax

HRESULT PFCatalogGetDraftItemsAsync(  
    PFEntityHandle entityHandle,  
    const PFCatalogGetDraftItemsRequest* request,  
    XAsyncBlock* async  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle to use for authentication.

request   PFCatalogGetDraftItemsRequest*

Populated request object.

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

This API is available on all platforms. When the asynchronous task is complete, call PFCatalogGetDraftItemsGetResultSize and PFCatalogGetDraftItemsGetResult to get the result.

Requirements

Header: PFCatalog.h

See also

PFCatalog members