People
Enrich a person profile
package hello.world;
import structure.Structure.SDK;
import structure.Structure.models.operations.EnrichPersonRequest;
import structure.Structure.models.operations.EnrichPersonResponse;
import structure.Structure.models.shared.Security;
public class Application {
public static void main(String[] args) {
try {
SDK sdk = SDK.builder()
.setSecurity(new Security("suscipit") {{
bearerAuth = "";
}})
.build();
EnrichPersonRequest req = new EnrichPersonRequest("molestiae");
EnrichPersonResponse res = sdk.people.enrich(req);
if (res.body != null) {
// handle response
}
} catch (Exception e) {
// handle exception
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
structure.Structure.models.operations.EnrichPersonRequest | ✔️ | The request object to use for the request. |
structure.Structure.models.operations.EnrichPersonResponse
Search People
package hello.world;
import structure.Structure.SDK;
import structure.Structure.models.operations.SearchPeopleApplicationJSON;
import structure.Structure.models.operations.SearchPeopleResponse;
import structure.Structure.models.shared.Security;
public class Application {
public static void main(String[] args) {
try {
SDK sdk = SDK.builder()
.setSecurity(new Security("minus") {{
bearerAuth = "";
}})
.build();
SearchPeopleApplicationJSON req = new SearchPeopleApplicationJSON() {{
filter = "placeat";
limit = "voluptatum";
page = "iusto";
query = "excepturi";
}};
SearchPeopleResponse res = sdk.people.search(req);
if (res.body != null) {
// handle response
}
} catch (Exception e) {
// handle exception
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
structure.Structure.models.operations.SearchPeopleApplicationJSON | ✔️ | The request object to use for the request. |