Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Updated NSAPI Billing History Documentation

I am trying to access Billing History through NSAPI and I'm using the PSC10.0 Integration Guide as my reference. I try following the REST API and I keep getting errors.

Request:

http://<server>/RequestCenter/nsapi/transaction/billinghistory/RequisitionID=12877

Response:

<nsapi-error-response>Internal Error: Invalid parameter values specified or unexpected error.</nsapi-error-response>

 

I'm pretty sure RequisitionID is a column in BiBillingHistory. Do you have an updated reference for accessing Billing History?

 

Thanks,

Mike

 

1 REPLY
New Member

Hi Mike

Hi Mike

I haven't used the billing history API too much myself, but based on the documentation it appears that only certain columns and filter combinations are supported:

Supports up to four filters.
REST URL:
Comparison Operators:
Number/Date columns: =, >, <, >=, <=
String columns: = equals, starts-with operators (contains and like operators are not
allowed)
Relational Operators: AND (OR is not allowed)
Separator = |
Allowed Columns: ServiceItemName, ServiceItemTypeName, AccountID, Account-
Name, and TransactionDate
Filter Combinations:
Allowed filter combinations are as follows:
•ServiceItemTypeName filter, ServiceItemName filter, and TransactionDate filter
•TransactionDate filter (one or more times)
•TransactionDate filter and ServiceItemTypeName filter
•TransactionDate filter and AccountID Filter
•TransactionDate filter and AccountName filter

This can be found in the integration guide on page 266 (Section 5-52).

If you're using a tool like Soap UI, you can now also import WADL definitions to build up the base requests (however in the case of billing history there is only one generic entry for the filter). These can be found under the following URL:

http://<ServerUrl>/RequestCenter/nsapi/definition/services
47
Views
0
Helpful
1
Replies
CreatePlease login to create content