Retrieves the PDF generation statuses of a batch of debit memos.
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization | string The value is in the |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
Zuora-Entity-Ids | string An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header. |
zuora-version | string The minor version of the Zuora REST API. See Minor Version for information about REST API version control. |
OK
Invalid input
Unauthorized
Forbidden
Internal Server Error
Request Errors
{- "debitMemoFiles": [
- {
- "debitMemoId": "402824aa8cc894d5018cc8a120576881",
- "debitMemoNumber": "DM00000003",
- "pdfGenerationStatus": "Generated",
- "createdOn": "2024-01-01 11:32:19",
- "updatedOn": "2024-01-01 11:32:19",
- "pdfFileUrl": "/v1/files/2c98901f62d7d83d0162d7facea6262d"
}, - {
- "debitMemoId": "2c98908a904dfc2601904e6e14090241",
- "debitMemoNumber": "DM00000004",
- "pdfGenerationStatus": "Error",
- "createdOn": "2024-01-02 10:14:13",
- "updatedOn": "2024-01-02 10:14:13",
- "errorCode": "INVALID_TEMPLATE",
- "errorMessage": "Unknown merge filed chargeNumber__c"
}, - {
- "debitMemoId": "623935cc6ee105f7341ee1d453809214",
- "debitMemoNumber": "DM00000005",
- "pdfGenerationStatus": "Pending",
- "createdOn": "2024-01-01 11:35:56",
- "updatedOn": "2024-01-01 11:35:56"
}
], - "success": true
}