- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
How do you import usage file via rest API?
Question:
How do you import usage file via rest API?
Solution:
Below are the steps we need to follow to upload a usage file:
Step 1:
We need to download the usage template file from the below KC article:
Step2:
Post downloading and fill all the mandatory columns which are required as per the above link, it can be a single line and Many lines in a single file, We recommend that you use the following CSV format for better upload.
Step3:
Then we need to use the postman tool to upload the usage file in the tenant and follow the endpoint URL from the https://www.zuora.com/developer/api-reference/#tag/Usage
Step4:
Below is the configuration which we need to set in the postman tool:
Key = Content-Type and Value= multipart/form-data
Key= file(mandatory)
Step:5
Upload the file(CSV format is recommended for better upload) in the value option, then execute it, then the response will get check import status result:
Step 6:
Then the status of the upload can be viewed:
More on:
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √