connectapi.BaseEndpointExtension

Methods 

global beforeGet(ConnectApi request) 

Override to manipulate the incoming payload for the GET verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionRequest which may have been modified.

global afterGet(ConnectApi response, ConnectApi request) 

Override to manipulate the outgoing payload for the GET verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.
EndpointExtensionResponseobject contains all data being passed out of the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionResponse which may have been modified.

global beforePost(ConnectApi request) 

Override to manipulate the incoming payload for the POST verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionRequest which may have been modified.

global afterPost(ConnectApi response, ConnectApi request) 

Override to manipulate the outgoing payload for the POST verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.
EndpointExtensionResponseobject contains all data being passed out of the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionResponse which may have been modified.

global beforePatch(ConnectApi request) 

Override to manipulate the incoming payload for the PATCH verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionRequest which may have been modified.

global afterPatch(ConnectApi response, ConnectApi request) 

Override to manipulate the outgoing payload for the PATCH verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.
EndpointExtensionResponseobject contains all data being passed out of the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionResponse which may have been modified.

global beforePut(ConnectApi request) 

Override to manipulate the incoming payload for the PUT verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionRequest which may have been modified.

global afterPut(ConnectApi response, ConnectApi request) 

Override to manipulate the outgoing payload for the PUT verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.
EndpointExtensionResponseobject contains all data being passed out of the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionResponse which may have been modified.

global beforeDelete(ConnectApi request) 

Override to manipulate the incoming payload for the DELETE verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionRequest which may have been modified.

global afterDelete(ConnectApi response, ConnectApi request) 

Override to manipulate the outgoing payload for the DELETE verb.

Parameters 

ParamDescription
EndpointExtensionRequestobject contains a map of String to Object, which contains all data passed to the service.
EndpointExtensionResponseobject contains all data being passed out of the service.

Returns 

TypeDescription
ConnectApithe EndpointExtensionResponse which may have been modified.

Developer Preview

This release is in preview. Features described in this document don't become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can't guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!