Skip to main content

Actions

The ballerinax/sap.successfactors.ecpersonalinformation package exposes the following clients:

Available clients:

ClientPurpose
ClientManages ecpersonalinformation objects: PerEmergencyContacts, PerPhone, PersonKey, PerPersonal, PerSocialAccount, PerPerson, PerPersonRelationship, PerEmail…, over the SAP SuccessFactors OData v2 API.

Client​

You can use these APIs to access the personal information of an employee including emergency contact information, social media accounts, email address, and non-effective-dated biographical information such as date of birth, country of birth and national identification card information.

Configuration​

ConnectionConfig​

Provides a set of configurations for controlling the behaviours when communicating with the SAP SuccessFactors OData endpoint. Passed as the argument to the client initializer.

FieldTypeDefaultDescription
authhttp:CredentialsConfigRequiredConfigurations related to client authentication
httpVersionhttp:HttpVersionSee defaultThe HTTP version understood by the client
http1Settingshttp:ClientHttp1SettingsSee defaultConfigurations related to HTTP/1.x protocol
http2Settingshttp:ClientHttp2SettingsSee defaultConfigurations related to HTTP/2 protocol
timeoutdecimalSee defaultThe maximum time to wait (in seconds) for a response before closing the connection
forwardedstringSee defaultThe choice of setting forwarded/x-forwarded header
followRedirectshttp:FollowRedirectsOptionalConfigurations associated with Redirection
poolConfighttp:PoolConfigurationOptionalConfigurations associated with request pooling
cachehttp:CacheConfigSee defaultHTTP caching related configurations
compressionhttp:CompressionSee defaultSpecifies the way of handling compression (accept-encoding) header
circuitBreakerhttp:CircuitBreakerConfigOptionalConfigurations associated with the behaviour of the Circuit Breaker
retryConfighttp:RetryConfigOptionalConfigurations associated with retrying
cookieConfighttp:CookieConfigOptionalConfigurations associated with cookies
responseLimitshttp:ResponseLimitConfigsSee defaultConfigurations associated with inbound response size limits
secureSockethttp:ClientSecureSocketOptionalSSL/TLS-related options
proxyhttp:ProxyConfigOptionalProxy server related options
socketConfighttp:ClientSocketConfigSee defaultProvides settings related to client socket configuration
validationbooleanSee defaultEnables the inbound payload validation functionality which provided by the constraint package. Enabled by default
laxDataBindingbooleanSee defaultEnables relaxed data binding on the client side. When enabled, nil values are treated as optional, and absent fields are handled as nilable types. Enabled by default.

The client also accepts a hostname string parameter (the SAP SuccessFactors API server host) and an optional port (defaults to 443).

Initializing the client​

import ballerinax/sap.successfactors.ecpersonalinformation;

configurable string hostname = ?;
configurable string username = ?;
configurable string password = ?;

ecpersonalinformation:Client client = check new (
{
auth: { username, password }
},
hostname
);

Operations​

PerEmergencyContacts​

listPerEmergencyContactss

Queries the PerEmergencyContacts collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerEmergencyContactssQueriesNoQueries to be sent with the request

Returns: ListPerEmergencyContactssResponse&#124;error

Sample code:

ListPerEmergencyContactssResponse result = check client->listPerEmergencyContactss();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerEmergencyContacts

Retrieves a single PerEmergencyContacts entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
namestringYeskey: name
personIdExternalstringYeskey: personIdExternal
relationshipstringYeskey: relationship
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerEmergencyContactsQueriesNoQueries to be sent with the request

Returns: PerEmergencyContacts&#124;error

Sample code:

PerEmergencyContacts result = check client->getPerEmergencyContacts(name, personIdExternal, relationship);

Sample response:

{
"d": {}
}

PerPhone​

listPerPhones

Queries the PerPhone collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerPhonesQueriesNoQueries to be sent with the request

Returns: ListPerPhonesResponse&#124;error

Sample code:

ListPerPhonesResponse result = check client->listPerPhones();

Sample response:

{
"d": {
"results": [
{
"personIdExternal": "1000",
"phoneType": "string",
"personNav": {}
}
]
}
}
getPerPhone

Retrieves a single PerPhone entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
personIdExternalstringYeskey: personIdExternal
phoneTypestringYeskey: phoneType
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerPhoneQueriesNoQueries to be sent with the request

Returns: PerPhone&#124;error

Sample code:

PerPhone result = check client->getPerPhone(personIdExternal, phoneType);

Sample response:

{
"personIdExternal": "1000",
"phoneType": "string",
"personNav": {
"personIdExternal": "1000",
"emailNav": {
"results": []
},
"emergencyContactNav": {
"results": []
},
"homeAddressNavDEFLT": {
"results": []
},
"nationalIdNav": {
"results": []
},
"personRerlationshipNav": {
"results": []
},
"personalInfoNav": {
"results": []
},
"phoneNav": {
"results": []
},
"socialAccountNav": {
"results": []
}
}
}

PersonKey​

listPersonKeys

Queries the PersonKey collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPersonKeysQueriesNoQueries to be sent with the request

Returns: ListPersonKeysResponse&#124;error

Sample code:

ListPersonKeysResponse result = check client->listPersonKeys();

Sample response:

{
"d": {
"results": [
{
"personIdExternal": "1000"
}
]
}
}
getPersonKey

Retrieves a single PersonKey entity identified by its key property.

Parameters:

NameTypeRequiredDescription
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPersonKeyQueriesNoQueries to be sent with the request

Returns: PersonKey&#124;error

Sample code:

PersonKey result = check client->getPersonKey(personIdExternal);

Sample response:

{
"personIdExternal": "1000"
}

PerPersonal​

listPerPersonals

Queries the PerPersonal collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerPersonalsQueriesNoQueries to be sent with the request

Returns: ListPerPersonalsResponse&#124;error

Sample code:

ListPerPersonalsResponse result = check client->listPerPersonals();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerPersonal

Retrieves a single PerPersonal entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
personIdExternalstringYeskey: personIdExternal
startDatestringYeskey: startDate
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerPersonalQueriesNoQueries to be sent with the request

Returns: PerPersonal&#124;error

Sample code:

PerPersonal result = check client->getPerPersonal(personIdExternal, startDate);

Sample response:

{
"d": {}
}

PerSocialAccount​

listPerSocialAccounts

Queries the PerSocialAccount collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerSocialAccountsQueriesNoQueries to be sent with the request

Returns: ListPerSocialAccountsResponse&#124;error

Sample code:

ListPerSocialAccountsResponse result = check client->listPerSocialAccounts();

Sample response:

{
"d": {
"results": [
{
"domain": "string",
"personIdExternal": "1000",
"personNav": {}
}
]
}
}
getPerSocialAccount

Retrieves a single PerSocialAccount entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
domainstringYeskey: domain
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerSocialAccountQueriesNoQueries to be sent with the request

Returns: PerSocialAccount&#124;error

Sample code:

PerSocialAccount result = check client->getPerSocialAccount(domain, personIdExternal);

Sample response:

{
"domain": "string",
"personIdExternal": "1000",
"personNav": {
"personIdExternal": "1000",
"emailNav": {
"results": []
},
"emergencyContactNav": {
"results": []
},
"homeAddressNavDEFLT": {
"results": []
},
"nationalIdNav": {
"results": []
},
"personRerlationshipNav": {
"results": []
},
"personalInfoNav": {
"results": []
},
"phoneNav": {
"results": []
},
"socialAccountNav": {
"results": []
}
}
}

PerPerson​

listPerPersons

Queries the PerPerson collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerPersonsQueriesNoQueries to be sent with the request

Returns: ListPerPersonsResponse&#124;error

Sample code:

ListPerPersonsResponse result = check client->listPerPersons();

Sample response:

{
"d": {
"results": [
{
"personIdExternal": "1000",
"emailNav": {},
"emergencyContactNav": {},
"homeAddressNavDEFLT": {},
"nationalIdNav": {},
"personRerlationshipNav": {},
"personalInfoNav": {},
"phoneNav": {},
"socialAccountNav": {}
}
]
}
}
getPerPerson

Retrieves a single PerPerson entity identified by its key property.

Parameters:

NameTypeRequiredDescription
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerPersonQueriesNoQueries to be sent with the request

Returns: PerPerson&#124;error

Sample code:

PerPerson result = check client->getPerPerson(personIdExternal);

Sample response:

{
"personIdExternal": "1000",
"emailNav": {
"results": [
{
"d": {}
}
]
},
"emergencyContactNav": {
"results": [
{
"d": {}
}
]
},
"homeAddressNavDEFLT": {
"results": [
{
"d": {}
}
]
},
"nationalIdNav": {
"results": [
{
"d": {}
}
]
},
"personRerlationshipNav": {
"results": [
{
"d": {}
}
]
},
"personalInfoNav": {
"results": [
{
"d": {}
}
]
},
"phoneNav": {
"results": [
{
"personIdExternal": "1000",
"phoneType": "string",
"personNav": {}
}
]
},
"socialAccountNav": {
"results": [
{
"domain": "string",
"personIdExternal": "1000",
"personNav": {}
}
]
}
}

PerPersonRelationship​

listPerPersonRelationships

Queries the PerPersonRelationship collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerPersonRelationshipsQueriesNoQueries to be sent with the request

Returns: ListPerPersonRelationshipsResponse&#124;error

Sample code:

ListPerPersonRelationshipsResponse result = check client->listPerPersonRelationships();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerPersonRelationship

Retrieves a single PerPersonRelationship entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
personIdExternalstringYeskey: personIdExternal
relatedPersonIdExternalstringYeskey: relatedPersonIdExternal
startDatestringYeskey: startDate
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerPersonRelationshipQueriesNoQueries to be sent with the request

Returns: PerPersonRelationship&#124;error

Sample code:

PerPersonRelationship result = check client->getPerPersonRelationship(personIdExternal, relatedPersonIdExternal, startDate);

Sample response:

{
"d": {}
}

PerEmail​

listPerEmails

Queries the PerEmail collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerEmailsQueriesNoQueries to be sent with the request

Returns: ListPerEmailsResponse&#124;error

Sample code:

ListPerEmailsResponse result = check client->listPerEmails();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerEmail

Retrieves a single PerEmail entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
emailTypestringYeskey: emailType
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerEmailQueriesNoQueries to be sent with the request

Returns: PerEmail&#124;error

Sample code:

PerEmail result = check client->getPerEmail(emailType, personIdExternal);

Sample response:

{
"d": {}
}

HrisEmergencyContactAddressDEFLT​

listHrisEmergencyContactAddressDEFLTs

Queries the HrisEmergencyContactAddressDEFLT collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListHrisEmergencyContactAddressDEFLTsQueriesNoQueries to be sent with the request

Returns: ListHrisEmergencyContactAddressDEFLTsResponse&#124;error

Sample code:

ListHrisEmergencyContactAddressDEFLTsResponse result = check client->listHrisEmergencyContactAddressDEFLTs();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getHrisEmergencyContactAddressDEFLT

Retrieves a single HrisEmergencyContactAddressDEFLT entity identified by its key property.

Parameters:

NameTypeRequiredDescription
addressIdstringYeskey: addressId
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetHrisEmergencyContactAddressDEFLTQueriesNoQueries to be sent with the request

Returns: HrisEmergencyContactAddressDEFLT&#124;error

Sample code:

HrisEmergencyContactAddressDEFLT result = check client->getHrisEmergencyContactAddressDEFLT(addressId);

Sample response:

{
"d": {}
}

PerNationalId​

listPerNationalIds

Queries the PerNationalId collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerNationalIdsQueriesNoQueries to be sent with the request

Returns: ListPerNationalIdsResponse&#124;error

Sample code:

ListPerNationalIdsResponse result = check client->listPerNationalIds();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerNationalId

Retrieves a single PerNationalId entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
cardTypestringYeskey: cardType
countrystringYeskey: country
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerNationalIdQueriesNoQueries to be sent with the request

Returns: PerNationalId&#124;error

Sample code:

PerNationalId result = check client->getPerNationalId(cardType, country, personIdExternal);

Sample response:

{
"d": {}
}

PerNationalIdWithValidityPeriod​

listPerNationalIdWithValidityPeriods

Queries the PerNationalIdWithValidityPeriod collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerNationalIdWithValidityPeriodsQueriesNoQueries to be sent with the request

Returns: ListPerNationalIdWithValidityPeriodsResponse&#124;error

Sample code:

ListPerNationalIdWithValidityPeriodsResponse result = check client->listPerNationalIdWithValidityPeriods();

Sample response:

{
"d": {
"results": [
{
"recordId": "1000",
"validFrom": "1000",
"validTo": "1000",
"cardType": "string",
"country": "string",
"personIdExternal": "1000",
"personNav": {}
}
]
}
}
getPerNationalIdWithValidityPeriod

Retrieves a single PerNationalIdWithValidityPeriod entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
recordIdstringYeskey: recordId
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerNationalIdWithValidityPeriodQueriesNoQueries to be sent with the request

Returns: PerNationalIdWithValidityPeriod&#124;error

Sample code:

PerNationalIdWithValidityPeriod result = check client->getPerNationalIdWithValidityPeriod(recordId, personIdExternal);

Sample response:

{
"recordId": "1000",
"validFrom": "1000",
"validTo": "1000",
"cardType": "string",
"country": "string",
"personIdExternal": "1000",
"personNav": {
"personIdExternal": "1000",
"emailNav": {
"results": []
},
"emergencyContactNav": {
"results": []
},
"homeAddressNavDEFLT": {
"results": []
},
"nationalIdNav": {
"results": []
},
"personRerlationshipNav": {
"results": []
},
"personalInfoNav": {
"results": []
},
"phoneNav": {
"results": []
},
"socialAccountNav": {
"results": []
}
}
}

PerAddressDEFLT​

listPerAddressDEFLTs

Queries the PerAddressDEFLT collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerAddressDEFLTsQueriesNoQueries to be sent with the request

Returns: ListPerAddressDEFLTsResponse&#124;error

Sample code:

ListPerAddressDEFLTsResponse result = check client->listPerAddressDEFLTs();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerAddressDEFLT

Retrieves a single PerAddressDEFLT entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
addressTypestringYeskey: addressType
personIdExternalstringYeskey: personIdExternal
startDatestringYeskey: startDate
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerAddressDEFLTQueriesNoQueries to be sent with the request

Returns: PerAddressDEFLT&#124;error

Sample code:

PerAddressDEFLT result = check client->getPerAddressDEFLT(addressType, personIdExternal, startDate);

Sample response:

{
"d": {}
}

generateNextPersonID​

creategenerateNextPersonID

Creates a new generateNextPersonID entity from the supplied payload.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: Result&#124;error

Sample code:

Result result = check client->creategenerateNextPersonID();

Sample response:

{
"d": {}
}

NameFormatGO​

listNameFormatGOs

Queries the NameFormatGO collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListNameFormatGOsQueriesNoQueries to be sent with the request

Returns: ListNameFormatGOsResponse&#124;error

Sample code:

ListNameFormatGOsResponse result = check client->listNameFormatGOs();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getNameFormatGO

Retrieves a single NameFormatGO entity identified by its key property.

Parameters:

NameTypeRequiredDescription
externalCodestringYeskey: externalCode
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetNameFormatGOQueriesNoQueries to be sent with the request

Returns: NameFormatGO&#124;error

Sample code:

NameFormatGO result = check client->getNameFormatGO(externalCode);

Sample response:

{
"d": {}
}

NameElementGO​

listNameElementGOs

Queries the NameElementGO collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListNameElementGOsQueriesNoQueries to be sent with the request

Returns: ListNameElementGOsResponse&#124;error

Sample code:

ListNameElementGOsResponse result = check client->listNameElementGOs();

Sample response:

{
"d": {
"results": [
{
"NameFormatGO_externalCode": "1000",
"externalCode": "1000"
}
]
}
}
getNameElementGO

Retrieves a single NameElementGO entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
NameFormatGO_externalCodestringYeskey: NameFormatGO_externalCode
externalCodestringYeskey: externalCode
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetNameElementGOQueriesNoQueries to be sent with the request

Returns: NameElementGO&#124;error

Sample code:

NameElementGO result = check client->getNameElementGO(NameFormatGO_externalCode, externalCode);

Sample response:

{
"NameFormatGO_externalCode": "1000",
"externalCode": "1000"
}

PerBiographicalInfoLocBRA​

listPerBiographicalInfoLocBRAs

Queries the PerBiographicalInfoLocBRA collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerBiographicalInfoLocBRAsQueriesNoQueries to be sent with the request

Returns: ListPerBiographicalInfoLocBRAsResponse&#124;error

Sample code:

ListPerBiographicalInfoLocBRAsResponse result = check client->listPerBiographicalInfoLocBRAs();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerBiographicalInfoLocBRA

Retrieves a single PerBiographicalInfoLocBRA entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
countrystringYeskey: country
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerBiographicalInfoLocBRAQueriesNoQueries to be sent with the request

Returns: PerBiographicalInfoLocBRA&#124;error

Sample code:

PerBiographicalInfoLocBRA result = check client->getPerBiographicalInfoLocBRA(country, personIdExternal);

Sample response:

{
"d": {}
}

PerBiographicalInfoLocCHL​

listPerBiographicalInfoLocCHLs

Queries the PerBiographicalInfoLocCHL collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerBiographicalInfoLocCHLsQueriesNoQueries to be sent with the request

Returns: ListPerBiographicalInfoLocCHLsResponse&#124;error

Sample code:

ListPerBiographicalInfoLocCHLsResponse result = check client->listPerBiographicalInfoLocCHLs();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerBiographicalInfoLocCHL

Retrieves a single PerBiographicalInfoLocCHL entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
countrystringYeskey: country
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerBiographicalInfoLocCHLQueriesNoQueries to be sent with the request

Returns: PerBiographicalInfoLocCHL&#124;error

Sample code:

PerBiographicalInfoLocCHL result = check client->getPerBiographicalInfoLocCHL(country, personIdExternal);

Sample response:

{
"d": {}
}

PerBiographicalInfoLocFRA​

listPerBiographicalInfoLocFRAs

Queries the PerBiographicalInfoLocFRA collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerBiographicalInfoLocFRAsQueriesNoQueries to be sent with the request

Returns: ListPerBiographicalInfoLocFRAsResponse&#124;error

Sample code:

ListPerBiographicalInfoLocFRAsResponse result = check client->listPerBiographicalInfoLocFRAs();

Sample response:

{
"d": {
"results": [
{
"country": "string",
"personIdExternal": "1000"
}
]
}
}
getPerBiographicalInfoLocFRA

Retrieves a single PerBiographicalInfoLocFRA entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
countrystringYeskey: country
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerBiographicalInfoLocFRAQueriesNoQueries to be sent with the request

Returns: PerBiographicalInfoLocFRA&#124;error

Sample code:

PerBiographicalInfoLocFRA result = check client->getPerBiographicalInfoLocFRA(country, personIdExternal);

Sample response:

{
"country": "string",
"personIdExternal": "1000"
}

PerBiographicalInfoLocITA​

listPerBiographicalInfoLocITAs

Queries the PerBiographicalInfoLocITA collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerBiographicalInfoLocITAsQueriesNoQueries to be sent with the request

Returns: ListPerBiographicalInfoLocITAsResponse&#124;error

Sample code:

ListPerBiographicalInfoLocITAsResponse result = check client->listPerBiographicalInfoLocITAs();

Sample response:

{
"d": {
"results": [
{
"country": "string",
"personIdExternal": "1000"
}
]
}
}
getPerBiographicalInfoLocITA

Retrieves a single PerBiographicalInfoLocITA entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
countrystringYeskey: country
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerBiographicalInfoLocITAQueriesNoQueries to be sent with the request

Returns: PerBiographicalInfoLocITA&#124;error

Sample code:

PerBiographicalInfoLocITA result = check client->getPerBiographicalInfoLocITA(country, personIdExternal);

Sample response:

{
"country": "string",
"personIdExternal": "1000"
}

PerBiographicalInfoLocVEN​

listPerBiographicalInfoLocVENs

Queries the PerBiographicalInfoLocVEN collection and returns a page of entities, optionally filtered, sorted, and paged via OData query options.

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queriesListPerBiographicalInfoLocVENsQueriesNoQueries to be sent with the request

Returns: ListPerBiographicalInfoLocVENsResponse&#124;error

Sample code:

ListPerBiographicalInfoLocVENsResponse result = check client->listPerBiographicalInfoLocVENs();

Sample response:

{
"d": {
"results": [
{
"d": {}
}
]
}
}
getPerBiographicalInfoLocVEN

Retrieves a single PerBiographicalInfoLocVEN entity identified by its key properties.

Parameters:

NameTypeRequiredDescription
countrystringYeskey: country
personIdExternalstringYeskey: personIdExternal
headersmap<string|string[]>NoHeaders to be sent with the request
queriesGetPerBiographicalInfoLocVENQueriesNoQueries to be sent with the request

Returns: PerBiographicalInfoLocVEN&#124;error

Sample code:

PerBiographicalInfoLocVEN result = check client->getPerBiographicalInfoLocVEN(country, personIdExternal);

Sample response:

{
"d": {}
}