Get A/R Item Number
get
/bcws/webresources/v1.0/items/{id}/itemid
Gets the accounts receivable (A/R) item number for the specified A/R item. The item number is returned for both billable and non-billable A/R actions, such as adjustments, write offs, refunds, and payments.
Request
Path Parameters
-
id(required): string
The ID for the internal A/R item, such as 0.0.0.1+-item-adjustment+123456789314016398.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/xml
- application/json
200 Response
The A/R item number was returned successfully.
Root Schema : schema
Type:
string
500 Response
An internal server error occurred.
Examples
This example shows how to get the A/R number for an A/R item by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".
cURL Command
curl -X GET 'http://hostname:port/bcws/webresources/version/items/0.0.0.1+-item-adjustment+261043/itemid'
where:
- hostname is the URL for the Billing Care REST server.
- port is the port for the Billing Care REST server.
- version is the version of the API you're using, such as v1.0.
Example of Response Body
The response body contains just the A/R number. For example:
A1-158