SOAP API method Export_setSource

Back to API references

Description
The source is either a database, view, collection or miniview, or a combination of a database/view and collection/miniview. When the source is changed, the fields of the export may be reset, if the fields that were already linked to the export came from a different database or collection.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object Export. The method only applies to the export with this id.
Parameter 'view' : Structure of type 'view'
Parameter 'database' : Structure of type 'database'
Parameter 'collection' : Structure of type 'collection'
Parameter 'miniview' : Structure of type 'miniview'
Parameter 'login' : Structure of type 'login'
Optional login data

Structure 'view'
This structure view was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the view.
Property 'name' : string
The name of the view.
Property 'description' : string
The description of the view.
Property 'archived' : boolean
The view is archived.
Property 'buildstatus' : string
The status of the rebuild
Property 'countprofiles' : int
The number of profiles.
Property 'lastbuilt' : timestamp
When was the profile rebuilt for the last time?

Structure 'database'
This structure database was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the database.
Property 'name' : string
The name of the database.
Property 'description' : string
The description of the database.
Property 'archived' : boolean
The database is archived.
Property 'created' : timestamp
The date and time when the account was created.
Property 'unsubscribebehavior' : string
Get the unsubscribe behavior of the database. Possible values are 'nothing', 'remove' or 'update'.
Property 'countprofiles' : int
The number of profiles.
Property 'lastbuilt' : timestamp
When was the profile rebuilt for the last time?

Structure 'collection'
This structure collection was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the collection.
Property 'name' : string
The name of the collection.
Property 'weight' : int
The weight of the collection.
Property 'created' : string
The date and time when the account was created.
Property 'unsubscribebehavior' : string
Get the unsubscribe behavior of the collection. Possible values are 'nothing', 'remove' or 'update'.
Property 'countsubprofiles' : int
The number of subprofiles.
Property 'lastbuilt' : timestamp
When was the item rebuilt for the last time?

Structure 'miniview'
This structure miniview was mentioned above. This structure has the following properties:
Property 'id' : int
The ID of the miniview.
Property 'name' : string
The name of the miniview.
Property 'description' : string
The description of the miniview.
Property 'countsubprofiles' : int
The number of subprofiles.
Property 'lastbuilt' : timestamp
When was the item rebuilt for the last time?

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt