Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Service API Calls > ExportWebServiceCreateExportRequestCreates a data export request. UsageUse the ExportWebServiceCreateExportRequest method to create an export request. The ADMIN_EXPORT privilege is required. For more information about export requests, see Oracle CRM On Demand Online Help. ArgumentsTable 46 describes the arguments taken by the ExportWebServiceCreateExportRequest method. Return Value of the CallSample SOAP Requests and ResponsesThis topic contains sample SOAP requests that invoke ExportWebServiceCreateExportRequest. Sample SOAP Request 1 - ExportWebServiceCreateExportRequest: Request for a Comma-delimited Export for Multiple Record TypesThe following SOAP sample invokes ExportWebServiceCreateExportRequest to request an export of account and contact records. By not specifying a value for <Delimiter>, comma-delimited export files are generated. <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsse:Username>%%%USERNAME%%%</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password> <ExportWebService_ExportWebServiceCreateExportRequest_Input xmlns="urn:crmondemand/ws/exportwebservice/"> <TimeZone>(GMT-08:00) Pacific Time (US & Canada); Tijuana</TimeZone> <ScanExportZipFileForViruses>false</ScanExportZipFileForViruses> <EnableMailNotificationflag>false</EnableMailNotificationflag> <IncludeWebLinkURL>false</IncludeWebLinkURL> <DateTimeFormat>USA - MM/DD/YYYY hh:mm:ss PM</DateTimeFormat> </ExportWebService_ExportWebServiceCreateExportRequest_Input> Sample SOAP Request 2 - ExportWebServiceCreateExportRequest: Request for a Semicolon-delimited Export of Records Modified Between Two DatesThe following SOAP sample invokes ExportWebServiceCreateExportRequest to request a semicolon-delimited export of contact records modified between 12/06/2011 and 12/07/2011 (6th and 7th December 2011). <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsse:Username>%%%USERNAME%%%</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">%%%PASSWORD%%%</wsse:Password> <ExportWebService_ExportWebServiceCreateExportRequest_Input xmlns="urn:crmondemand/ws/exportwebservice/"> <ExportDataModifiedBefore>12/07/2011</ExportDataModifiedBefore> <TimeZone>(GMT-08:00) Pacific Time (US & Canada); Tijuana</TimeZone> <ScanExportZipFileForViruses>false</ScanExportZipFileForViruses> <EnableMailNotificationflag>false</EnableMailNotificationflag> <IncludeWebLinkURL>false</IncludeWebLinkURL> <DateTimeFormat>USA - MM/DD/YYYY hh:mm:ss PM</DateTimeFormat> <ExportDataModifiedAfter>12/06/2011</ExportDataModifiedAfter> <Delimiter>Semi-Colon</Delimiter> </ExportWebService_ExportWebServiceCreateExportRequest_Input> Sample SOAP ResponsesThe response is the same for both of the sample SOAP requests: <?xml version="1.0" encoding="utf-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ns:ExportWebService_ExportWebServiceCreateExportRequest_Output xmlns:ns="urn:crmondemand/ws/exportwebservice/"> <ns:RequestId>1QA2-16438E</ns:RequestId> </ns:ExportWebService_ExportWebServiceCreateExportRequest_Output> |
Oracle Web Services On Demand Guide, Version 26.0 (Oracle CRM On Demand Release 38) | Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |