question

Upvotes
Accepted
3 1 0 2

Batch Screening - Access Denied

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"

};

world-checkscreeningauthenticationscreening-apibatch
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @claudio

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks, AHS

Upvotes
Accepted
3.1k 18 7 7

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3.1k 18 7 7

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 1 0 2

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3.1k 18 7 7

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.