Difference: APPXDataAPI (2 vs. 3)

Revision 32020-03-06 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="Appx550FeaturesAppDesign"

Data API

Line: 91 to 91
  Once installed, you can test connectivity by entering the URL's below in a web browser or by using curl (Note: curl is available by default in Windows 10 since 5/2019).
Changed:
<
<
To test connectivity between the browser/curl and APPX Data Services (Note: replace items in <> with the value of your host/ip and webport) use these examples. These do not require Services to be defined in APPX:

https://<myhost>:<webport>/DsTest (Note: will return the value OK)
https://<myhost>:<webport>/DsVer (Note: will return the APPX Data Services version number in JSON format {i.e. {"Data Services Version":"1.0.0.20021010"}
})
https://<myhost>:<webport>/DsDate (Note: will return the APPX Data Services service current date/time in in JSON format {i.e."LocalDateTime":" 02/10/2020 15:43:31"},{"UtcDateTime":" 02/10/2020 20:43:31"} ))

Note: If you don't have SSL enabled in the "AppConfig" section remove the 's' in https

To test connectivity between the browser/curl and the APPX runtime environment via the APPX Data Services service use these examples. You must have defined the example services first, see 'Adding your Services' below:
>
>
To test connectivity between the browser/curl and APPX Data Services (Note: replace items in <> with the value of your host/ip and webport) use these examples. These do not require Services to be defined in APPX:

https://<myhost>:<webport>/DsTest (Note: will return the value OK)
 
Changed:
<
<
https://<myhost>:<webport>/api/DateTest (Note: will return the APPX runtime current date/time in JSON format {i.e. {"DateTime":"02/10/20 15:46 04"} ))
https://<myhost>:<webport>/api/GetApps (Note: will return a list of applications on your server in JSON format {i.e. {"id":"Application Design","label":"0AD 00 - Application Design","value":"0AD"},... etc, } )
>
>
https://<myhost>:<webport>/DsVer (Note: will return the APPX Data Services version number in JSON format {i.e. {"Data Services Version":"1.0.0.20021010"}
})

https://<myhost>:<webport>/DsDate (Note: will return the APPX Data Services service current date/time in in JSON format {i.e."LocalDateTime":" 02/10/2020 15:43:31"},{"UtcDateTime":" 02/10/2020 20:43:31"} ))

Note: If you don't have SSL enabled in the "AppConfig" section remove the 's' in https

To test connectivity between the browser/curl and the APPX runtime environment via the APPX Data Services service use these examples. You must have defined the example services first, see 'Adding your Services' below:

https://<myhost>:<webport>/api/DateTest (Note: will return the APPX runtime current date/time in JSON format {i.e. {"DateTime":"02/10/20 15:46 04"} ))

https://<myhost>:<webport>/api/GetApps (Note: will return a list of applications on your server in JSON format {i.e. {"id":"Application Design","label":"0AD 00 - Application Design","value":"0AD"},... etc, } )

https://<myhost>:<myport>/api/GetApps?ver=00 (Note: will return all available APPX applications who's version number = '00' in JSON format {i.e. {"id":"Application Design","label":"0AD 00 - Application Design","value":"0AD"},... etc, } )

https://<myhost>:<myport>/api/GetApps?prefix=1 (Note: will return all available APPX applications who's name prefix = '1' in JSON format {i.e. {"id":"ChartDirector Examples","label":"1CD 00 - ChartDirector Examples","value":"1CD"},... etc, } )

https://<myhost>:<myport>/api/GetApps?ver=00&prefix=1 {Note: will return in JSON format {i.e. {"id":"ChartDirector Examples","label":"1CD 00 - ChartDirector Examples","value":"1CD"},... etc, } )

https://<myhost>:<myport>/api/GetFiles?ap=DMO&ver=00 (Note: will return the files of an APPX application in JSON format {i.e. {"id":"Sales Activity Transactions..","label":"ACTIVITY - Sales Activity Transactions..","value":"ACTIVITY"},... etc, } )

https://<myhost>:<myport>/api/GetFiles?ap=DMO&ver=00&prefix=A (Note: will return the files of an APPX application in JSON format {i.e. {"id":"Sales Activity Transactions..","label":"ACTIVITY - Sales Activity Transactions..","value":"ACTIVITY"},... etc, } )

https://<myhost>:<myport>/api/GetFields?ap=DMO&ver=00 (Note: will return the fields of an APPX application in JSON format {i.e. {"id":"Employee Responsible","label":"ACTIVITY ADDED BY - Employee Responsible","value":"ACTIVITY ADDED BY"},... etc, } )

https://<myhost>:<myport>/api/GetFields?ap=DMO&ver=00&prefix=CONTACT (Note: will return the fields of an APPX application in JSON format {i.e. {"id":"Added By","label":"CONTACT ADDED BY - Added By","value":"CONTACT ADDED BY"},... etc, } )

  If you have not yet added the example services, then it should just return {"Error":"Command not in SERVICE"}.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback