Batch Screening - Access Denied

Options

We are using .NET to access the batch screening api.

The below code returns Access Denied.

var batchesResponse = await
batchWebServiceClient.createInitialAsync(batchRequest);

where

batchRequest

{


assigneeIdentifier =
"cnu_so_162",


batchNames = batchNames, // - array of
batchName[]


groupIdentifier =
“cng_so_120”,


name =
"",


ownerIdentifier =
"cnu_so_162"


};

Best Answer

  • brian.bourgault
    Answer ✓

    Hi @claudio,

    I've checked and updated your permissions to include batch processing.

    Let me know if this fixes your issue.

    Hope this helps,

    Brian

Answers

  • Hi @claudio,

    Before we look into this API request, have you successfully made other Screening Online API requests? like getSelectableGroups with the proper security header in the body?

    Hope this helps,

    Brian

  • Hi @brian.bourgault

    Yes, we are succesfully using the screening API to perform individual searches but we are getting this error with the batch API.

    Regards,

    Claudio

  • Hi @claudio,

    You are using the incorrect userIndentifier and groupIdentifier for your login account.

    Your login account (name@company.com) has your userIdentifier - cnu_so_1xx and the group your userIndentifier has permissions to is groupIdentifier - cng_so_2xx

    Note the difference between group vs user identifiers, (i.e. cng vs cnu)

    Hope this helps,

    Brian