Overview
Returns a list of import sources.
The function is available as a Web Service request.
Request
Parameters of the API request:
Parameter | Type | Description | Requirements |
---|
token | String | API authentication token | Mandatory |
Response
Parameters of the API response:
Parameter | Type | Description |
---|
status | Status | Possible return values: - OK
- ERROR_GENERAL
- ERROR_UNAUTHORIZED
- ERROR_TOO_MANY_RESULT
|
importSources
| List<ImportSource> | List of import sources |
Examples
Example ListImportSources transaction
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://v3.provisioning.ws.web.verba.com/">
<soapenv:Header/>
<soapenv:Body>
<v3:listImportSources>
<token>YWygO3Nw0LlqWWThMKxBa18G3zQ8HKq3</token>
<eid>0000</eid>
</v3:listImportSources>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listImportSourcesResponse xmlns:ns2="http://v3.provisioning.ws.web.verba.com/">
<return>
<importSources>
<id>-1</id>
<name>All</name>
</importSources>
<importSources>
<id>1</id>
<name>Generic import source</name>
</importSources>
<status>
<statusCode>OK</statusCode>
</status>
</return>
</ns2:listImportSourcesResponse>
</S:Body>
</S:Envelope>