I created a custom web service to accept xml from one of our lead aggregators. However, it is not deserializing the request body, and all I get in response is a Null Object Reference error. Am I missing something?

My custom web service:

namespace Terrasoft.Configuration.UsrMyLeadImportNamespace
{
...

MoreLess

Like 0

Like

1 comments
Best reply

I've performed the same setup (additionally to the code you've shared, registered the service as anonymous) and sent the following request in...MoreLess

I've performed the same setup (additionally to the code you've shared, registered the service as anonymous) and sent the following request in...MoreLess

Show all comments

Hi community,



For an integration, I have the following JSON request parameter :



{

  "externalID": "57",

  "nomDuClient": "Simple text example",

  "nomDelOpportunite": "Simple text example",

  "calculateurs": [

    "57",

    "61"

  ]


}




Let's have ...MoreLess

Like 0

Like

6 comments

Dear Jonathan,

Unfortunately, there is no OOB functionality for transferring data sets (IsArray type) to web service parameters by...MoreLess

Show all comments (5)

Hi,

Please provide the procedure for call a web service in mobile application.

Thanks

Like 0

Like

0 comments
Show all comments

Hi community,

When implementing a web service, I have a GET method with a parameter :

public int GetMethod(string name)

In this method, I did a query to get the age of the person in parameter :

var select = new Select(UserConnection)

     .Column("Age")

     .From("Contact")

 ...MoreLess

Like 0

Like

4 comments
Best reply

Hi Jonathan,

Usually you use dataReader to get the value from your select query. What you can do is:

bool hasRecord = false;
using (DBExecutor...

MoreLess

Show all comments (3)

Hi community,

Let's take an example :

I created multiple records in a section. In this section I have a detail that contains some fields like the "name", the "date", the "quantity". I want to return, through some code in a webservice, all the names of the detail that belongs to a certain record (the...MoreLess

Like 0

Like

4 comments

Hi Jonathan,

When you create a custom detail for a custom section there is always some column that is used for connection. Let's take your...MoreLess

Show all comments (3)

Hi community!

I'm trying to set up a call to a web service (the built-in no-code approach), which uses a custom HTTP header for authentication called 'X-API-KEY'.

I haven't found a way to add a header to the web service via the UI. Is there some way to achieve this?

Thanks,

Robert

Like 0

Like

3 comments

Hi Robert, 

Usually such operations is performed by using OData: 

https://academy.creatio.com/docs/developer/integrations_and_api/data_se…



...MoreLess

Show all comments (2)

Hi,

Does the ODATA Web services mechanism supports collections?

meaning, using a post request with a json that includes arrays?

Thanks,

Raz

Like 0

Like

4 comments
Best reply

Hi Raz, 

Unfortunately we don't have practical examples of such implementation.

{

 "id": 1234,

"status": "ABC",

"Line_Items": [...MoreLess

Show all comments (3)

Hi,



I'm working on Activities right now and I created my own activity.

I wanted to insert a New Activity with a press of a button which is located in the MainHeader. Question, what's the best way to insert my own activity?



I am currently trying to insert it via custom web service through

Insert insert = new Insert(UserConnection)
                .Set("","")
                .Into("Activity")

I'm afraid there are events, computations that won't be triggered.



Any comments?

Like 0

Like

6 comments
Best reply

Solem Khan Abdusalam,

After you call activity.Save() you can get the created record Id using 

// get primary Id value
var id = activit...

MoreLess

Show all comments (5)

In the webservices section - is it possible to have dynamic URL? the URL to be used is subdomain based so the URL changes for 2 or more instances.. 

so is it possible to make the webservice URL dynamic?

Like 0

Like

2 comments
Best reply

Hello Ganesh,

The only thing that can be modified in terms of one web service integration setup is the link to the method that is called. The...MoreLess

Show all comments (1)

Hi,

For a few weeks I struggled with sending a HTTP POST Request to a third party application via script task.

I have a collection object that needs to be sent via the web service and eventually catch the response and use the data inside process parameters.

Here you can find the code for doing tha...MoreLess

Like 1

Like

Share

2 comments

Hi!

Thank you for contacting us! 

Could you please provide us with additional screenshots of the issue appeared to understand the case better?

Regards, 

Anastasiia

Show all comments (1)