Get Tax Details for an Account

get

/bcws/webresources/v1.0/accounts/taxinfo/{id}

Gets the tax details for the account that matches the specified ID.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The account's tax details were returned successfully.
Body ()
Root Schema : taxInfo
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Notes
Type: object
Show Source
Nested Schema : taxExemptDetails
Type: array
The details associated with a tax exemption.
Show Source
Nested Schema : comments
Type: array
The list of comments associated with the note.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Comments
Type: object
The list of comments associated with the note.
Show Source
Nested Schema : TaxExemptDetails
Type: object
The details associated with a tax exemption.
Show Source
Back to Top

Examples

This example shows how to get the tax settings for a specified account 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/accounts/taxinfo/0.0.0.1+-account+57615'

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

This example shows the contents of the response body in JSON format.

{
    "extension": null,
    "businessAccount": false,
    "insideIncorporatedArea": true,
    "notes": {
        "extension": null,
        "id": "0.0.0.1+-note+280028",
        "accountId": "0.0.0.1+-account+264746",
        "amount": 0,
        "billUnitId": "0.0.0.0++0",
        "billId": null,
        "closedDate": 1612942288000,
        "count": 1,
        "effectiveDate": 1612942288000,
        "eventId": "0.0.0.0++0",
        "header": "",
        "itemId": "0.0.0.0++0",
        "subType": 601,
        "type": 600,
        "domainId": 44,
        "reasonId": 0,
        "serviceId": "0.0.0.0++0",
        "status": 101,
        "comments": [
            {
                "csrLoginId": null,
                "csrFirstName": null,
                "csrLastName": null,
                "csrAccountId": null,
                "externalUser": "user",
                "comment": "Sample comment.",
                "trackingId": "",
                "entryDate": 1612942288000
            }
        ]
    },
    "taxExemptDetails": [
        {
            "taxType": 0,
            "certificateNumber": "56709",
            "percent": 1,
            "starts": 1612988039000,
            "ends": 1613374286000
        }
    ]
}
Back to Top