Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

SMP Rest Api using json

$
0
0

Hi Experts,

 

I am using the SMP Rest API to registrate my device into SMP .Let's try connecting REST Services with Integration Gateway in SMP3

I am using the following code and it's working.

 

URL:http://zzz.com:8080/odata/applications/latest/ar.com.test/Connections

Header: Content-Type Application/xml

Request:

<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"

xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

<content type="application/xml">

<m:properties>

<d:DeviceModel>Samsung Galaxy S2</d:DeviceModel>

<d:DeviceType>Android</d:DeviceType>

<d:DeviceSubType>Smartphone</d:DeviceSubType>

<d:DevicePhoneNumber>555-52525-1212</d:DevicePhoneNumber>

<d:DeviceIMSI>123422</d:DeviceIMSI>

</m:properties>

</content>

</entry>

 

I need to do the same, but using json request.

Is this possible?

Does anyone have any example?

 

Best regards,

Emanuel


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>