cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1225
Views
0
Helpful
6
Replies

CSAPI Returns Blank Data Set When Looking for Customer ID/Details

jstrass33
Level 1
Level 1

Hi,

I am trying to use the CASPI to look write scripts regarding our SmarNet inventory. When I try to pull information down regarding he inventory, it gives me an error asking for the Customer ID. 

{'status': 400, 'message': 'Invalid input request', 'reason': {'errorCode': 'API_VALIDATION_017', 'errorInfo': "'customerId' Is required"}}

 

Upon initiating the API request for the Customer Details to find out the Customer ID, the API returns back a blank data set. Does anyone have any ideas on why this is?

 

<Response [200]>
{"data":[]}

Thanks,

1 Accepted Solution

Accepted Solutions

Hello,

After verifying the details, the Party ID comes out to be -12642.
The customer is assigned as API developer role.

I have pushed a Manual sync as well.

Please try the request/access in incognito mode and try again.

Do share the screenshot of the error or blank, if you receive any.

Thanks & regards,
Devashish Bourai.

View solution in original post

6 Replies 6

dbourai
Cisco Employee
Cisco Employee

Hello,

 

Good day to you! 

 

I have acknowledged this post. I will get back to you with an update regarding this.

 

Thanks and regards, 

Devashish Bourai. 


 

Thanks! Looking forward to your response.

Hello,

Could you please provide us with the Customer's -
Party ID-
CCO ID-
Company name-
Contract No.-

over the PM, To verify their roles in CSAM.

Thanks & regards,
Devashish Bourai.

Hi,

 

1. Not sure on the party ID. Where do we see that?

2. CCO ID: john.strasser@jmsmucker.com

3. Company Name: The J. M. Smucker Company

4. Not sure on the contract No. Where do we see that?

 

Thanks,

Hello,

After verifying the details, the Party ID comes out to be -12642.
The customer is assigned as API developer role.

I have pushed a Manual sync as well.

Please try the request/access in incognito mode and try again.

Do share the screenshot of the error or blank, if you receive any.

Thanks & regards,
Devashish Bourai.

That did it! I see the customer details now when I do that API call. Thank you so much!