Import
The Import object contains all of the information you need to upload content, such as a large number of usage records.
An import function uploads content, especially when you have a large amount of content.
Supported calls
You can use this object with the following calls:
- create()
- query()
Walkthroughs and use cases
A common use case for the Import object is:
-
Upload a large number of usage records Use the
Importobject with an asynchronouscreate()call to upload a CSV file that contains as much as 4 MB of usage records. You need to:- Set the SOAP request property to enable MTOM to true
- Add the imported CSV file to Attachments
See “Import mass usage records” for detail information and examples.
Additional field detail
Id
The ID of this object. Every object has a unique identifier that Zuora automatically assigns upon creation. You use this ID later when you work with the object. For example, if you send a query() call to query the import, then you need to include the specific Import object’s ID with the call.
The ID for the Import object is ImportId .
Sample request
The following is a sample SOAP request for importing a usage file.