Note: you can avoid the need for the custom comparison function (and the object to contain it, in that example) if you reorganise the Struct so that "id" is the first element, which is something you can do with JSON stuff (which I don't think you can with XML web services, which expect the ordering of elements to match).

If you do that - i.e. changing the struct to:
Code:
Struct st_MsGetMember_team_Value
     String id 
     {Name="@odata.type"}    
     String odatatype
     String deletedDateTime 
     String classification
     ... etc.
Then just:
Code:
   Move (SearchArray(stTest, stMember.value)) to iPosicao
Will work, because as it says in the Help:
You can use the simple search style for arrays of any simple data type and arrays of structs where the first struct member is a simple data type.
Mike