Get a participant
Information
This API allow you to retrieve information about a participant.
Link to swaggerThis endpoint is
synchronous
The role
admin
is needed in order to use this endpointEndpoints
GET/v1/config/participant/:participantId
Path parameters
participantIdstring (uuid) - Required
Request
GET /v1/config/participant/:participantId
- bash
- javascript
- .NET
curl -X 'GET'
'https://api.ppd.iopole.fr//v1/config/participant/292354df-5d22-4fad-b230-f32807589a3a'
-H 'accept: application/json'
-H 'Authorization: Bearer ${token}'
const got = require('got');
const token = 'your_token_here';
(async () => {
try {
const response = await got('https://api.ppd.iopole.fr//v1/config/participant/292354df-5d22-4fad-b230-f32807589a3a', {
headers: {
'accept': 'application/json',
'Authorization': `Bearer ${token}`
},
responseType: 'json'
});
console.log(response.body);
} catch (error) {
console.error(error.response.body);
}
})();
using System;
using System.Net.Http;
using System.Threading.Tasks;
class Program
{
static async Task Main(string[] args)
{
var token = "your_token_here";
var client = new HttpClient();
client.DefaultRequestHeaders.Add("accept", "application/json");
client.DefaultRequestHeaders.Add("Authorization", Bearer ${token}");
var response = await client.GetAsync("https://api.ppd.iopole.fr//v1/config/participant/292354df-5d22-4fad-b230-f32807589a3a");
var responseString = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseString);
}
}
Response
200 OK
{
"participantId": "292354df-5d22-4fad-b230-f32807589a3a",
"name": "\"LE FLOCH BAILLON BICHAT ",
"country": "FR",
"vatNumber": "FRooODuUIHUmG",
"legalIdentifier": "312914807",
"partyIdentifier": "31291480700028",
"participantNetworkIdentifiers": [
{
"data": {
"clientId": "test.test@iopole.com"
},
"electronicAddress": {
"value": "EebonCDDolK",
"scheme": "0225",
"address": "0225:EebonCDDolK"
},
"networkIdentifier": "DOMESTIC_FR",
"participantNetworkIdentifierId": "844fd62a-a35f-4f31-a6d6-bd155a507ea6"
}
]
}