

Association Information › EApiFetchCardManyAsc › Example
Example
#include <eapidef.h>
EAPIRC rc = EAPI_SUCCESSFUL_RC;
LCOUNT lCount, i;
OBJID nObjectId;
ASCTYPECODE nAscTypeCode;
OBJID nArrayObjIds[100];
nObjectId = 70900L;
nAscTypeCode = 175;
lCount = 100L;
rc = EApiFetchCardManyAsc(nObjectId,
nAscTypeCode,
&lCount,
nArrayObjIds);
if ( rc > EAPI_MAXIMUM_COUNT_REACHED_RC)
printf("Error in EApiFetchCardManyAsc\n");
else
{
printf("Count = %ld\n", lCount);
for (i=0; i < lCount; i++)
printf("Object Id[%ld] = %ld\n", i, nArrayObjIds[i]);
}
Copyright © 2014 CA.
All rights reserved.
 
|
|