Skip to content

Commit

Permalink
Merge pull request #218 from bindmoh/master
Browse files Browse the repository at this point in the history
Review for syncing the changes
  • Loading branch information
bindmoh authored Jan 4, 2024
2 parents 13efeb9 + fcdf348 commit da4368e
Showing 1 changed file with 39 additions and 4 deletions.
43 changes: 39 additions & 4 deletions _price-book/price-book-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,42 @@ parameters:
- name: upload_to_s3
optional: yes
content: If set to true, the test results will be uploaded to the Bill Generation S3 bucket configured in the UI under **Setup** > **Admin** > **Settings**, within the ‘cpb-dryrun-results' directory. The default value is false.


right_code_blocks:
- code_block: |-
- code_block: |-
{
"price_book_id": XXXX,
"customer_id": <customer_api_id>,
"month": "2018-01",
"billing_account_owner_id": 1234
}
title: Request Body
language: json
- code_block: |-
curl --request PUT -H 'Content-Type: application/json' -d
'{
"price_book_id": XXXX,
"target_client_api_id": <customer_api_id>,
"month": "2021-01",
"month": "2018-01",
"billing_account_owner_id": 1234
}'
'https://chapi.cloudhealthtech.com/v1/price_books/dry_run?api_key=<your_api_key>'
title: Sample Request
language: bash
- code_block: |-
Success (200):
{
"message": Dry run request processing, you will receive an email with your results in a few minutes. Current rate limit job count equals 2 out of 4000 per hour"
}
title: Response Body
language: json
- code_block: |-
{
"price_book_id": XXXX,
"customer_id": <customer_api_id>,
"month": "2018-01",
"billing_account_owner_id": 1234
"upload_to_s3": true
}
title: Request Body
language: json
Expand All @@ -40,10 +67,18 @@ right_code_blocks:
'{
"price_book_id": XXXX,
"target_client_api_id": <customer_api_id>,
"month": "2021-01",
"month": "2018-01",
"billing_account_owner_id": 1234
"upload_to_s3": true
}'
'https://chapi.cloudhealthtech.com/v1/price_books/dry_run?api_key=<your_api_key>'
title: Sample Request
language: bash
- code_block: |-
Success (200):
{
"message": "Dry run request processing, results will be uploaded to your Bill Generation S3 Bucket in a few minutes. Current rate limit job count equals 1 out of 4000 per hour"
}
title: Response Body
language: json
---

0 comments on commit da4368e

Please sign in to comment.