Intel vPro® Platform
Intel Manageability Forum for Intel® EMA, AMT, SCS & Manageability Commander
2978 Discussions

EMA API: AMT Setups section data model

maksymr
Novice
602 Views

Greetings, 

 

I have a question about AMTSetups section of AMT API: 

In swagger, the model of ExtraAMTInfo is described as follows: 

maksymr_0-1729254347014.png

But the real result that I retrieve provides escaped json data as part of Name/Details fields in nested ExtraAmtInfo objects. 

maksymr_1-1729254489398.png

So my question is - is there any kind of model these name/details fields would match, if they contain json? 

It is indeed a string in all cases, but I want to understand if there can be a reliable solution of mapping this data using some kind of pre-defined contract. 

 

Thank you

0 Kudos
1 Solution
Suneesh
Employee
545 Views

Hello Maksymr,


Good day.


Please note that the scripts are intended as sample code, demonstrating various Intel EMA API calls and related operations. They are designed for reference purposes and should be customized to fit your specific use cases.


We recommend incorporating them into your own scripts, with necessary adjustments based on your requirements.


Regards,

Suneesh


View solution in original post

0 Kudos
3 Replies
maksymr
Novice
588 Views

Also, unrelated to AMTSetups section - There are properties like Brand, PlatformType, NodeIdentity, that also have numeric (or string with numeric values) fields, here's the example response from our EMA API: 

  "EndpointGroupName" : "AllInGroup",
  "LastUpdate" : "2024-10-18T12:22:30Z",
  "MEVersion" : null,
  "ComputerName" : "LAPTOP-R0IQ9RGV",
  "Fqdn" : "LAPTOP-R0IQ9RGV",
  "PlatformType" : 1,
  "AgentVersion" : 11400,
  "AgentIdentifier" : 4,
  "MEFWBuildNumber" : null,
  "PowerState" : 0,
  "PowerStateUpdate" : "2024-10-18T12:22:22Z",
  "IsConnected" : true,
  "NodeIdentity" : 4,
  "IsAmtVersionValid" : null,
  "AmtControlMode" : null,
  "AmtProvisioningState" : null,
  "AmtProvisioningMode" : null,
  "IsCiraConnected" : false,
  "Brand" : 0

Is there a similar mapping available for these, as there is for the PowerState? 

maksymr_0-1729258345283.png

Thank you

0 Kudos
Suneesh
Employee
546 Views

Hello Maksymr,


Good day.


Please note that the scripts are intended as sample code, demonstrating various Intel EMA API calls and related operations. They are designed for reference purposes and should be customized to fit your specific use cases.


We recommend incorporating them into your own scripts, with necessary adjustments based on your requirements.


Regards,

Suneesh


0 Kudos
Suneesh
Employee
484 Views

Hello Maksymr,


Good day.


We are following up on this. If further assistance is necessary, please do not hesitate to reply.


Regards,

Suneesh


0 Kudos
Reply