POST api/v1/MakeRequest?Switch={Switch}&ItemType={ItemType}&DatabaseName={DatabaseName}&Timeout={Timeout}&Filter={Filter}
Make an Import/Export Request to Data Automator
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Switch |
This should be either Import or Export |
string |
Required |
| ItemType |
This is the Transaction Type ie Sales Order |
string |
Required |
| DatabaseName |
Enter the database name if you don't want to use the default |
string |
Default value is |
| Timeout |
Specify the timeout of the request in seconds Default 60 |
integer |
Default value is 0 |
| Filter |
Specify the filters to be applied to an export request |
string |
Default value is |
Body Parameters
The XML string containing the transaction details you want to import
stringRequest Formats
application/xml, text/xml
Sample:
<string>sample string 1</string>
Response Information
Resource Description
AutomatorResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseString | string |
None. |
|
| Type | string |
None. |
|
| Switch | string |
None. |
|
| Success | string |
None. |
|
| ErrorMsg | string |
None. |
|
| Database | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<AutomatorResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ResponseString>sample string 1</ResponseString> <Type>sample string 2</Type> <Switch>sample string 3</Switch> <Success>sample string 4</Success> <ErrorMsg>sample string 5</ErrorMsg> <Database>sample string 6</Database> </AutomatorResponse>