POST api/GetObjectList
Request Information
URI Parameters
None.
Body Parameters
DSMSalesforceObjectRequestName | Description | Type | Additional information |
---|---|---|---|
objectType | string |
None. |
|
login | clsLoginDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "objectType": "sample string 1", "login": { "sessionID": "sample string 1", "serverURL": "sample string 2", "orgID": "sample string 3", "userName": "sample string 4", "password": "sample string 5", "securityToken": "sample string 6", "connectionString": "sample string 7", "MetadataServerURL": "sample string 8", "sessionCheck": true } }
application/xml, text/xml
Sample:
<DSMSalesforceObjectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DSMTMetaAPI.Models"> <login> <MetadataServerURL>sample string 8</MetadataServerURL> <connectionString>sample string 7</connectionString> <orgID>sample string 3</orgID> <password>sample string 5</password> <securityToken>sample string 6</securityToken> <serverURL>sample string 2</serverURL> <sessionCheck>true</sessionCheck> <sessionID>sample string 1</sessionID> <userName>sample string 4</userName> </login> <objectType>sample string 1</objectType> </DSMSalesforceObjectRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DSMSalesforceObjectResultName | Description | Type | Additional information |
---|---|---|---|
objectList | Collection of DSMSalesforceObjectList |
None. |
|
error | string |
None. |
|
success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "objectList": [ { "objectName": "sample string 1", "objectAPIName": "sample string 2", "ObjectType": "sample string 3" }, { "objectName": "sample string 1", "objectAPIName": "sample string 2", "ObjectType": "sample string 3" } ], "error": "sample string 1", "success": true }
application/xml, text/xml
Sample:
<DSMSalesforceObjectResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DSMTMetaAPI.Models"> <error>sample string 1</error> <objectList> <DSMSalesforceObjectList> <ObjectType>sample string 3</ObjectType> <objectAPIName>sample string 2</objectAPIName> <objectName>sample string 1</objectName> </DSMSalesforceObjectList> <DSMSalesforceObjectList> <ObjectType>sample string 3</ObjectType> <objectAPIName>sample string 2</objectAPIName> <objectName>sample string 1</objectName> </DSMSalesforceObjectList> </objectList> <success>true</success> </DSMSalesforceObjectResult>