diff --git a/_price-book/price-book-test.md b/_price-book/price-book-test.md index fdab08a..4eba8a1 100644 --- a/_price-book/price-book-test.md +++ b/_price-book/price-book-test.md @@ -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": , + "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": , - "month": "2021-01", + "month": "2018-01", "billing_account_owner_id": 1234 + }' + 'https://chapi.cloudhealthtech.com/v1/price_books/dry_run?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": , + "month": "2018-01", + "billing_account_owner_id": 1234 + "upload_to_s3": true } title: Request Body language: json @@ -40,10 +67,18 @@ right_code_blocks: '{ "price_book_id": XXXX, "target_client_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=' 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 ---