new FuelSoap(options) → {FuelSoap}
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Configuration options Properties
|
Returns:
- Type
- FuelSoap
Methods
create(type, props, optionsopt, callback)
- Source:
This method handles the Create SOAP Action
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
String | xsi:type |
||||||||||||||||
props |
Object | Value set in body as |
||||||||||||||||
options |
Object |
<optional> |
Configuration options passed in body as Properties
|
|||||||||||||||
callback |
FuelSoap~StandardCallback | Callback that handles response |
delete(type, props, optionsopt, callback)
- Source:
This method handles the Delete SOAP Action
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
String | xsi:type |
||||||||||||||||
props |
Object | Value set in body as |
||||||||||||||||
options |
Object |
<optional> |
Configuration options passed in body as Properties
|
|||||||||||||||
callback |
FuelSoap~StandardCallback | Callback that handles response |
describe(type, callback)
- Source:
This method handles the Describe SOAP Action
Parameters:
Name | Type | Description |
---|---|---|
type |
String | Will be used in body as |
callback |
FuelSoap~StandardCallback | Callback that handles response |
execute(type, props, callback)
- Source:
This method handles the Execute SOAP Actionf
Parameters:
Name | Type | Description |
---|---|---|
type |
String | xsi:type |
props |
Object | Value set in body as |
callback |
FuelSoap~StandardCallback | Callback that handles response |
perform(type, def, callback)
- Source:
This method handles the Perform SOAP Action
Parameters:
Name | Type | Description |
---|---|---|
type |
String | xsi:type |
def |
Object | definition set in body as |
callback |
FuelSoap~StandardCallback | Callback that handles response |
retrieve(type, propsopt, optionsopt, callback)
- Source:
This method handles the Retrieve SOAP Action
It should be noted that type and callback are the only params required.
If 3 params exist, function looks like function(type, options, callback)
.
If 2 params exist, function looks like function(type, callback)
.
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
String | Will be used in body as |
||||||||||||||||||||||
props |
Object |
<optional> |
['Client', 'ID', 'ObjectID'] | Value set in body as |
||||||||||||||||||||
options |
Object |
<optional> |
Configuration options Properties
|
|||||||||||||||||||||
callback |
FuelSoap~StandardCallback | Callback that handles response |
soapRequest(options, callback)
- Source:
This method handles the heavy lifing and is used by other SOAP Actions
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Configuration options Properties
|
||||||||||||||||||||||||||||||
callback |
FuelSoap~StandardCallback | Callback that handles response |
update(type, props, optionsopt, callback)
- Source:
This method handles the Update SOAP Action
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
String | xsi:type |
||||||||||||||||
props |
Object | Value set in body as |
||||||||||||||||
options |
Object |
<optional> |
Configuration options passed in body as Properties
|
|||||||||||||||
callback |
FuelSoap~StandardCallback | Callback that handles response |
Type Definitions
StandardCallback(error, response)
- Source:
This callback is displayed as part of the Requester class.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
error |
Object | error object as node standard |
|||||||||
response |
Object | reponse object created from API request Properties
|