Codeunit CCS DMS Web Service Adapter
codeunit 5306010 "CCS DMS Web Service Adapter"
Methods
SendRequest
public "CCS DMS Web Service Adapter" SendRequest(): Boolean
Sends the web request.
All parameters must be set before.
Return Value
Boolean
Returns true, if the response status code is success (OK, No Content, ...).
Events
OnBeforeClientSend
event "CCS DMS Web Service Adapter" OnBeforeClientSend(var Client: HttpClient; var RequestMessage: HttpRequestMessage; var IsHandeled: Boolean; var MockupIsSuccessStatusCode: Boolean)
Parameters
| Name |
Type |
Description |
| Client |
HttpClient |
|
| RequestMessage |
HttpRequestMessage |
|
| IsHandeled |
Boolean |
|
| MockupIsSuccessStatusCode |
Boolean |
|
Attributes
| Name |
Arguments |
| IntegrationEvent |
False, False |
OnBeforeGetResponseContent
event "CCS DMS Web Service Adapter" OnBeforeGetResponseContent(var MockupContentAsText: Text; var IsHandeled: Boolean)
Parameters
| Name |
Type |
Description |
| MockupContentAsText |
Text |
|
| IsHandeled |
Boolean |
|
Attributes
| Name |
Arguments |
| IntegrationEvent |
False, False |
OnBeforeGetResponseError
event "CCS DMS Web Service Adapter" OnBeforeGetResponseError(var IsHandeled: Boolean; var MockupReasonPhrase: Text)
Parameters
| Name |
Type |
Description |
| IsHandeled |
Boolean |
|
| MockupReasonPhrase |
Text |
|
Attributes
| Name |
Arguments |
| IntegrationEvent |
False, False |